1 6 7 package com.hp.hpl.jena.graph.query.test; 8 9 import com.hp.hpl.jena.graph.*; 10 import com.hp.hpl.jena.mem.*; 11 12 import junit.framework.*; 13 14 17 18 public class QueryTest extends TestCase 19 { 20 public QueryTest( String name ) 21 { super( name ); } 22 23 public static TestSuite suite() 24 { 25 TestSuite result = new TestSuite(); 26 result.addTest( new TestSuite( TestQueryGraphMem.class ) ); 27 result.addTest( new TestSuite( TestQuerySmallGraphMem.class ) ); 28 return result; 29 } 30 31 public static class TestQueryGraphMem extends AbstractTestQuery 32 { 33 public TestQueryGraphMem( String name ) { super( name ); } 34 35 public Graph getGraph() { return new GraphMem(); } 36 } 37 38 public static class TestQuerySmallGraphMem extends AbstractTestQuery 39 { 40 public TestQuerySmallGraphMem( String name ) { super( name ); } 41 42 public Graph getGraph() { return new SmallGraphMem(); } 43 } 44 45 } 46 47 76 | Popular Tags |