Esempio n. 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();
 }
Esempio n. 2
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new GraphQueryImpl();
 }
Esempio n. 3
0
 public function setUp()
 {
     parent::setUp();
     $this->queryFactory = new QueryFactoryImpl();
     $this->fixture = $this->getMockForAbstractClass('\\Saft\\Sparql\\Query\\AbstractQuery');
 }
Esempio n. 4
0
 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()));
 }
Esempio n. 7
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new EmptyResultImpl();
 }
Esempio n. 8
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new DescribeQueryImpl();
 }
Esempio n. 9
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new SerializationUtils();
 }
Esempio n. 10
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new SelectQueryImpl();
 }
Esempio n. 11
0
 public function tearDown()
 {
     $this->fixture->dropGraph($this->testGraph);
     parent::tearDown();
 }