Пример #1
0
 /**
  *
  * @author Lionel Lecaque, lionel@taotesting.com
  * @return array
  */
 public function modelProvider()
 {
     $dir = GenerisPhpUnitTestRunner::getSampleDir();
     return array(array(6, $dir . '/rdf/generis.rdf'), array(4, $dir . '/rdf/widget.rdf'), array(100, $dir . '/rdf/nobase.rdf'));
 }
Пример #2
0
 /**
  *
  * @author Lionel Lecaque, lionel@taotesting.com
  */
 public function testGetIterator()
 {
     $dir = GenerisPhpUnitTestRunner::getSampleDir();
     $rdf = new FileRdf($dir . '/rdf/sample.rdf');
     $this->assertInstanceOf('oat\\generis\\model\\kernel\\persistence\\file\\FileIterator', $rdf->getIterator());
 }