/** * Create and populate a {@link ProxyTestSuite} with the unit tests that we * will run against any of the {@link IIndexManager} implementations. * * @param delegate * The delegate for the proxied unit tests. * @param name * The name of the test suite. * @return The {@link ProxyTestSuite} populated with the unit tests. */ protected static ProxyTestSuite proxySuite( AbstractIndexManagerTestCase<? extends IIndexManager> delegate, String name) { final ProxyTestSuite suite = new ProxyTestSuite(delegate, name); // sparse row store operations. suite.addTestSuite(TestSparseRowStore.class); return suite; }
/** * Create and populate a {@link ProxyTestSuite} with the unit tests that we * will run against any of the {@link IIndexManager} implementations. * * @param delegate * The delegate for the proxied unit tests. * @param name * The name of the test suite. * @return The {@link ProxyTestSuite} populated with the unit tests. */ protected static ProxyTestSuite proxySuite( AbstractIndexManagerTestCase<? extends IIndexManager> delegate, String name) { final ProxyTestSuite suite = new ProxyTestSuite(delegate, name); // sparse row store operations. suite.addTestSuite(TestSparseRowStore.class); return suite; }
static ProxyTestSuite createProxyTestSuite(final IIndexManager indexManager, final TestMode testMode) { final TestNanoSparqlServerWithProxyIndexManager<?> delegate = new TestNanoSparqlServerWithProxyIndexManager( null/* name */, indexManager, testMode); // !!!! THIS CLASS !!!! /* * Use a proxy test suite and specify the delegate. */ final ProxyTestSuite suite = new ProxyTestSuite(delegate, "NanoSparqlServer Proxied Test Suite: indexManager=" + indexManager.getClass().getSimpleName() + ", testMode=" + testMode + ", bufferMode=" + (indexManager instanceof Journal ? ((Journal) indexManager) .getBufferStrategy().getBufferMode() : "")); return suite; }
public static Test suite() { final RemoteGOMTestCase delegate = new RemoteGOMTestCase(); // !!!! THIS CLASS // !!!! /* * Use a proxy test suite and specify the delegate. */ final ProxyTestSuite suite = new ProxyTestSuite(delegate, "Remote GOM tests"); suite.addTestSuite(TestGPO.class); suite.addTestSuite(TestGOM.class); suite.addTestSuite(TestOwlGOM.class); return suite; }
public static Test suite() { final LocalGOMTestCase delegate = new LocalGOMTestCase(); // !!!! THIS CLASS // !!!! /* * Use a proxy test suite and specify the delegate. */ final ProxyTestSuite suite = new ProxyTestSuite(delegate, "Local GOM tests"); suite.addTestSuite(TestGPO.class); suite.addTestSuite(TestGOM.class); suite.addTestSuite(TestOwlGOM.class); return suite; }
public static Test suite() { final LocalGOMTestCase delegate = new LocalGOMTestCase(); // !!!! THIS CLASS // !!!! /* * Use a proxy test suite and specify the delegate. */ final ProxyTestSuite suite = new ProxyTestSuite(delegate, "Local GOM tests"); suite.addTestSuite(TestGPO.class); suite.addTestSuite(TestGOM.class); suite.addTestSuite(TestOwlGOM.class); return suite; }
public static Test suite() { final RemoteGOMTestCase delegate = new RemoteGOMTestCase(); // !!!! THIS CLASS // !!!! /* * Use a proxy test suite and specify the delegate. */ final ProxyTestSuite suite = new ProxyTestSuite(delegate, "Remote GOM tests"); suite.addTestSuite(TestGPO.class); suite.addTestSuite(TestGOM.class); suite.addTestSuite(TestOwlGOM.class); return suite; }
static ProxyTestSuite createProxyTestSuite(final IIndexManager indexManager, final TestMode testMode) { final TestNanoSparqlServerWithProxyIndexManager<?> delegate = new TestNanoSparqlServerWithProxyIndexManager( null/* name */, indexManager, testMode); // !!!! THIS CLASS !!!! /* * Use a proxy test suite and specify the delegate. */ final ProxyTestSuite suite = new ProxyTestSuite(delegate, "NanoSparqlServer Proxied Test Suite: indexManager=" + indexManager.getClass().getSimpleName() + ", testMode=" + testMode + ", bufferMode=" + (indexManager instanceof Journal ? ((Journal) indexManager) .getBufferStrategy().getBufferMode() : "")); return suite; }
public static Test suite() { final TestTempTripleStore delegate = new TestTempTripleStore(); // !!!! THIS CLASS !!!! /* * Use a proxy test suite and specify the delegate. */ final ProxyTestSuite suite = new ProxyTestSuite(delegate, "Temporary Triple Store Test Suite"); /* * List any non-proxied tests (typically bootstrapping tests). */ /* * Pickup the basic triple store test suite. This is a proxied test * suite, so all the tests will run with the configuration specified in * this test class and its optional .properties file. */ // basic test suite. suite.addTest(TestTripleStoreBasics.suite()); // rules, inference, and truth maintenance test suite. suite.addTest( com.bigdata.rdf.rules.TestAll.suite() ); return suite; }
public static Test suite() { final TestTempTripleStore delegate = new TestTempTripleStore(); // !!!! THIS CLASS !!!! /* * Use a proxy test suite and specify the delegate. */ final ProxyTestSuite suite = new ProxyTestSuite(delegate, "Temporary Triple Store Test Suite"); /* * List any non-proxied tests (typically bootstrapping tests). */ /* * Pickup the basic triple store test suite. This is a proxied test * suite, so all the tests will run with the configuration specified in * this test class and its optional .properties file. */ // basic test suite. suite.addTest(TestTripleStoreBasics.suite()); // rules, inference, and truth maintenance test suite. suite.addTest( com.bigdata.rdf.rules.TestAll.suite() ); return suite; }
/** * Return suite running in the given mode against the given * {@link IIndexManager}. */ public static Test suite(final IIndexManager indexManager, final TestMode testMode) { final TestNanoSparqlServerWithProxyIndexManager2<?> delegate = new TestNanoSparqlServerWithProxyIndexManager2( null/* name */, indexManager, testMode); // !!!! THIS CLASS !!!! /* * Use a proxy test suite and specify the delegate. */ final ProxyTestSuite suite = new ProxyTestSuite(delegate, "NanoSparqlServer Proxied Test Suite"); /* * List any non-proxied tests (typically bootstrapping tests). */ //Protocol suite.addTest(TestProtocolAll.suite()); suite.addTestSuite(TestMultiTenancyAPI.class); suite.addTestSuite(TestDataLoaderServlet.class); // Data Loader Servlet return suite; }
public static Test suite() { final TestTemporaryStore delegate = new TestTemporaryStore(); // !!!! THIS CLASS !!!! /* * Use a proxy test suite and specify the delegate. */ ProxyTestSuite suite = new ProxyTestSuite(delegate, "Temporary Raw Store Test Suite"); /* * List any non-proxied tests (typically bootstrapping tests). */ // tests defined by this class. suite.addTestSuite(TestTemporaryStore.class); // test suite for the IRawStore api. suite.addTestSuite( TestRawStore.class ); // test suite for handling asynchronous close of the file channel. suite.addTestSuite( TestInterrupts.class ); // test suite for MROW correctness. suite.addTestSuite( TestMROW.class ); // test suite for MRMW correctness. suite.addTestSuite( TestMRMW.class ); return suite; }
public static Test suite() { final TestTemporaryStore delegate = new TestTemporaryStore(); // !!!! THIS CLASS !!!! /* * Use a proxy test suite and specify the delegate. */ ProxyTestSuite suite = new ProxyTestSuite(delegate, "Temporary Raw Store Test Suite"); /* * List any non-proxied tests (typically bootstrapping tests). */ // tests defined by this class. suite.addTestSuite(TestTemporaryStore.class); // test suite for the IRawStore api. suite.addTestSuite( TestRawStore.class ); // test suite for handling asynchronous close of the file channel. suite.addTestSuite( TestInterrupts.class ); // test suite for MROW correctness. suite.addTestSuite( TestMROW.class ); // test suite for MRMW correctness. suite.addTestSuite( TestMRMW.class ); return suite; }
final ProxyTestSuite suite = new ProxyTestSuite(delegate, "MemStore Test Suite");
public static Test suite() { final TestLocalTripleStoreWithoutStatementIdentifiers delegate = new TestLocalTripleStoreWithoutStatementIdentifiers(); // !!!! THIS CLASS !!!! /* * Use a proxy test suite and specify the delegate. */ final ProxyTestSuite suite = new ProxyTestSuite(delegate, "Local Triple Store Without Statement Identifiers"); /* * List any non-proxied tests (typically bootstrapping tests). */ // ... /* * Proxied test suite for use only with the LocalTripleStore. */ suite.addTestSuite(TestLocalTripleStoreTransactionSemantics.class); /* * Pickup the basic triple store test suite. This is a proxied test * suite, so all the tests will run with the configuration specified in * this test class and its optional .properties file. */ // basic test suite. suite.addTest(TestTripleStoreBasics.suite()); // rules, inference, and truth maintenance test suite. suite.addTest( com.bigdata.rdf.rules.TestAll.suite() ); return suite; }
public static Test suite() { final TestDirectJournal delegate = new TestDirectJournal(); // !!!! THIS CLASS !!!! /* * Use a proxy test suite and specify the delegate. */ ProxyTestSuite suite = new ProxyTestSuite(delegate, "Direct Journal Test Suite"); /* * List any non-proxied tests (typically bootstrapping tests). */ // tests defined by this class. suite.addTestSuite(TestDirectJournal.class); // test suite for the IRawStore api. suite.addTestSuite( TestRawStore.class ); // test suite for handling asynchronous close of the file channel. suite.addTestSuite( TestInterrupts.class ); // test suite for MROW correctness. suite.addTestSuite( TestMROW.class ); // test suite for MRMW correctness. suite.addTestSuite( TestMRMW.class ); /* * Pickup the basic journal test suite. This is a proxied test suite, so * all the tests will run with the configuration specified in this test * class and its optional .properties file. */ suite.addTest(TestJournalBasics.suite()); return suite; }
public static Test suite() { final TestTempTripleStore delegate = new TestTempTripleStore(); // !!!! THIS CLASS !!!! /* * Use a proxy test suite and specify the delegate. */ final ProxyTestSuite suite = new ProxyTestSuite(delegate, "Temporary Triple Store Test Suite"); /* * List any non-proxied tests (typically bootstrapping tests). */ /* * Pickup the basic triple store test suite. This is a proxied test * suite, so all the tests will run with the configuration specified in * this test class and its optional .properties file. */ // basic test suite. suite.addTest(TestTripleStoreBasics.suite()); // rules, inference, and truth maintenance test suite. suite.addTest( com.bigdata.rdf.rules.TestAll.suite() ); return suite; }
/** * Return suite running in the given mode against the given * {@link IIndexManager}. */ public static Test suite(final IIndexManager indexManager, final TestMode testMode) { final TestNanoSparqlServerWithProxyIndexManager2<?> delegate = new TestNanoSparqlServerWithProxyIndexManager2( null/* name */, indexManager, testMode); // !!!! THIS CLASS !!!! /* * Use a proxy test suite and specify the delegate. */ final ProxyTestSuite suite = new ProxyTestSuite(delegate, "NanoSparqlServer Proxied Test Suite"); /* * List any non-proxied tests (typically bootstrapping tests). */ //Protocol suite.addTest(TestProtocolAll.suite()); suite.addTestSuite(TestMultiTenancyAPI.class); suite.addTestSuite(TestDataLoaderServlet.class); // Data Loader Servlet return suite; }
public static Test suite() { final TestLocalTripleStoreWithoutStatementIdentifiers delegate = new TestLocalTripleStoreWithoutStatementIdentifiers(); // !!!! THIS CLASS !!!! /* * Use a proxy test suite and specify the delegate. */ final ProxyTestSuite suite = new ProxyTestSuite(delegate, "Local Triple Store Without Statement Identifiers"); /* * List any non-proxied tests (typically bootstrapping tests). */ // ... /* * Proxied test suite for use only with the LocalTripleStore. */ suite.addTestSuite(TestLocalTripleStoreTransactionSemantics.class); /* * Pickup the basic triple store test suite. This is a proxied test * suite, so all the tests will run with the configuration specified in * this test class and its optional .properties file. */ // basic test suite. suite.addTest(TestTripleStoreBasics.suite()); // rules, inference, and truth maintenance test suite. suite.addTest( com.bigdata.rdf.rules.TestAll.suite() ); return suite; }
final ProxyTestSuite suite = new ProxyTestSuite(delegate, "Local Triple Store With Provenance Test Suite Without Inlining");