Modified:
/trunk/tests/simplegraph.test.php
=======================================
--- /trunk/tests/simplegraph.test.php Mon Oct 31 09:24:47 2011
+++ /trunk/tests/simplegraph.test.php Wed Jan 11 03:59:48 2012
@@ -1105,11 +1105,14 @@
function test_get_list_values(){
- $g = new
SimpleGraph(file_get_contents(dirname(__FILE__).DIRECTORY_SEPARATOR.'documents'.DIRECTORY_SEPARATOR.'lists-seqs-collections.ttl'));
- $actual = $g->get_list_values(exampleNS.'#list');
- $expected = array(exampleNS.'#a', exampleNS.'#b', exampleNS.'#c');
- $this->assertEquals($expected, $actual, "list should be tranformed
into the array");
-
+ $g = new
SimpleGraph(file_get_contents(dirname(__FILE__).DIRECTORY_SEPARATOR.'documents'.DIRECTORY_SEPARATOR.'lists-seqs-collections.ttl'));
+ $actual = $g->get_list_values(exampleNS.'#list');
+ $expected = array(
+ array('value' => exampleNS.'#a', 'type' => 'uri'),
+ array('value' => exampleNS.'#b', 'type' => 'uri'),
+ array('value' => exampleNS.'#c', 'type' => 'uri'),
+ );
+ $this->assertEquals($expected, $actual, "list should be tranformed
into the array");
}
public function testGetSequenceValues()