Changeset 57 for php/trunk/unittest
- Timestamp:
- Jul 17, 2011, 8:48:59 PM (14 years ago)
- Location:
- php/trunk/unittest
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
php/trunk/unittest/makefile
r54 r57 27 27 datatypes/test001 \ 28 28 datatypes/test002 \ 29 rdf-element-not-mandatory/test001 \ 29 30 rdfms-reification-required/test001 \ 31 rdfms-uri-substructure/test001 \ 30 32 rdfms-xmllang/test001 \ 31 33 rdfms-xmllang/test002 \ … … 42 44 # failing tescases, to be examined by maintainer 43 45 RDFTESTCASES_FAIL= \ 44 rdf-element-not-mandatory/test001 \45 rdfms-uri-substructure/test001 \46 46 xml-canon/test001 \ 47 47 rdf-charmod-literals/test001 \ -
php/trunk/unittest/rdftestcases/unittest.php
r56 r57 38 38 39 39 protected function setUp() { 40 } 41 42 // -------------------------------------------------------- 43 44 private function _reIdentifyBlankNode( $data) { 45 return preg_replace( '/_:[^ ]*/', '_:a', $data); 40 46 } 41 47 … … 87 93 $this->assertEquals( ($result !== false), true); 88 94 95 // rework blank node identifiers for coparison 96 $source = $this->_reIdentifyBlankNode( $source); 97 $result = $this->_reIdentifyBlankNode( $result); 98 99 89 100 // check if results are equal 90 101 $success = ($source == $result);
Note:
See TracChangeset
for help on using the changeset viewer.