public static Test suite(final boolean hideDatasetTests) throws Exception { TestSuite suite1 = suiteEmbeddedFederation(); final TestSuite suite = new TestSuite(); for (String s : testURIs) { suite.addTest(getSingleTest(suite1, s)); suite1 = filterOutTests(suite1,"dataset");
/** * Recursively removes any files and subdirectories and then removes the * file (or directory) itself. * * @param f A file or directory. */ private void recursiveDelete(final File f) { if(f.isDirectory()) { final File[] children = f.listFiles(); for(int i=0; i<children.length; i++) { recursiveDelete( children[i] ); } } if(log.isInfoEnabled()) log.info("Removing: "+f); if (!f.delete()) throw new RuntimeException("Could not remove: " + f); }
/** * Skip the dataset tests for now until we can figure out what is wrong with * them. * * FIXME Fix the dataset tests. There is some problem in how the data to be * loaded into the fixture is being resolved in these tests. */ public static Test suite() throws Exception { return suite(true /*hideDatasetTests*/); }
recursiveDelete(dataDir); final Properties properties = getProperties(); sail = new BigdataSail(openTripleStore(NAMESPACE, properties));
recursiveDelete(dataDir); final Properties properties = getProperties(); sail = new BigdataSail(openTripleStore(NAMESPACE, properties));
public static Test suite(final boolean hideDatasetTests) throws Exception { TestSuite suite1 = suiteEmbeddedFederation(); final TestSuite suite = new TestSuite(); for (String s : testURIs) { suite.addTest(getSingleTest(suite1, s)); suite1 = filterOutTests(suite1,"dataset");
/** * Skip the dataset tests for now until we can figure out what is wrong with * them. * * FIXME Fix the dataset tests. There is some problem in how the data to be * loaded into the fixture is being resolved in these tests. */ public static Test suite() throws Exception { return suite(true /*hideDatasetTests*/); }
/** * Recursively removes any files and subdirectories and then removes the * file (or directory) itself. * * @param f A file or directory. */ private void recursiveDelete(final File f) { if(f.isDirectory()) { final File[] children = f.listFiles(); for(int i=0; i<children.length; i++) { recursiveDelete( children[i] ); } } if(log.isInfoEnabled()) log.info("Removing: "+f); if (!f.delete()) throw new RuntimeException("Could not remove: " + f); }
tckSuite.addTest(BigdataEmbeddedFederationSparqlTest.suite());
tckSuite.addTest(BigdataEmbeddedFederationSparqlTest.suite());