/** * Data files are placed into a directory named by the test. If the * directory exists, then it is removed before the federation is set up. */ @SuppressWarnings("rawtypes") @Override protected void setUp(final ProxyBigdataSailTestCase testCase) throws Exception { final File dataDir = new File(NAMESPACE); if (dataDir.exists() && dataDir.isDirectory()) { recursiveDelete(dataDir); } client = new EmbeddedClient(getProperties()); fed = client.connect(); }
/** * Data files are placed into a directory named by the test. If the * directory exists, then it is removed before the federation is set up. */ @SuppressWarnings("rawtypes") @Override protected void setUp(final ProxyBigdataSailTestCase testCase) throws Exception { final File dataDir = new File(NAMESPACE); if (dataDir.exists() && dataDir.isDirectory()) { recursiveDelete(dataDir); } client = new EmbeddedClient(getProperties()); fed = client.connect(); }