public function setUp() { if (requireExists('arc/ARC2.php')) { $this->_parser = new EasyRdf_Parser_Arc(); $this->_graph = new EasyRdf_Graph(); $this->_data = readFixture('foaf.rdf'); } else { $this->markTestSkipped("ARC2 library is not available."); } }
public function setUp() { if (requireExists('arc/ARC2.php')) { $this->_graph = new EasyRdf_Graph(); $this->_serialiser = new EasyRdf_Serialiser_Arc(); parent::setUp(); } else { $this->markTestSkipped("ARC2 library is not available."); } }