Skip to content

Commit f72b725

Browse files
author
Daniel Kinzler
committed
ported test cases for meta-vars to python
git-svn-id: https://svn.toolserver.org/svnroot/daniel/duesenstuff/trunk/gpClient@572 9f2c43bc-b3c0-43f4-b155-41619b16f219
1 parent fe0837b commit f72b725

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

php/test/gpCore.test.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function testTraverseSuccessorsWithout() {
115115
$this->assertEquals( array( array(11), array(112), array(1121), ), $succ );
116116
}
117117

118-
public function testSetMeta() { #TODO: port to python
118+
public function testSetMeta() {
119119
//define var
120120
$this->gp->set_meta("foo", 1234);
121121
$val = $this->gp->get_meta_value("foo");
@@ -163,8 +163,7 @@ public function testSetMeta() { #TODO: port to python
163163
}
164164
}
165165

166-
public function testGetMeta() { #TODO: port to python
167-
//get undefined
166+
public function testGetMeta() {
168167
$val = $this->gp->try_get_meta_value("foo");
169168
$this->assertEquals( false, $val );
170169

@@ -179,7 +178,7 @@ public function testGetMeta() { #TODO: port to python
179178
$this->assertEquals( false, $val );
180179
}
181180

182-
public function testRemoveMeta() { #TODO: port to python
181+
public function testRemoveMeta() {
183182
//remove undefined
184183
$ok = $this->gp->try_remove_meta("foo");
185184
$this->assertEquals( false, $ok );
@@ -190,7 +189,7 @@ public function testRemoveMeta() { #TODO: port to python
190189
$this->assertEquals( "OK", $ok );
191190
}
192191

193-
public function testListMeta() { #TODO: port to python
192+
public function testListMeta() {
194193
// assert empty
195194
$meta = $this->gp->capture_list_meta();
196195
$this->assertEmpty( $meta );

0 commit comments

Comments
 (0)