Exemple #1
0
 public function setUp()
 {
     parent::setUp();
     $this->queryFactory = new QueryFactoryImpl();
     $this->fixture = new QueryCache(new MemoryStorage($path), new QueryFactoryImpl(), new StatementIteratorFactoryImpl());
     $this->fixture->getCache()->clean();
 }
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new GraphQueryImpl();
 }
 public function setUp()
 {
     parent::setUp();
     $this->queryFactory = new QueryFactoryImpl();
     $this->fixture = $this->getMockForAbstractClass('\\Saft\\Sparql\\Query\\AbstractQuery');
 }
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new UpdateQueryImpl();
     $this->queryFactory = new QueryFactoryImpl();
 }
 public function setUp()
 {
     parent::setUp();
     $this->fixture = $this->newInstance();
 }
 public function setUp()
 {
     parent::setUp();
     $this->mock = $this->getMockForAbstractClass('\\Saft\\Store\\AbstractSparqlStore', array(new NodeFactoryImpl(), new StatementFactoryImpl(), new QueryFactoryImpl(), new ResultFactoryImpl(), new StatementIteratorFactoryImpl()));
 }
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new EmptyResultImpl();
 }
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new DescribeQueryImpl();
 }
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new SerializationUtils();
 }
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new SelectQueryImpl();
 }
Exemple #11
0
 public function tearDown()
 {
     $this->fixture->dropGraph($this->testGraph);
     parent::tearDown();
 }