Search in sources :

Example 1 with TestLibrarian

use of org.apache.asterix.app.external.TestLibrarian in project asterixdb by apache.

the class LangExecutionUtil method setUp.

public static void setUp(String configFile, TestExecutor executor) throws Exception {
    testExecutor = executor;
    File outdir = new File(PATH_ACTUAL);
    outdir.mkdirs();
    List<ILibraryManager> libraryManagers = ExecutionTestUtil.setUp(cleanupOnStart, configFile);
    TestLibrarian.removeLibraryDir();
    librarian = new TestLibrarian(libraryManagers);
    testExecutor.setLibrarian(librarian);
    if (repeat != 1) {
        System.out.println("FYI: each test will be run " + repeat + " times.");
    }
}
Also used : ILibraryManager(org.apache.asterix.common.library.ILibraryManager) File(java.io.File) TestLibrarian(org.apache.asterix.app.external.TestLibrarian)

Aggregations

File (java.io.File)1 TestLibrarian (org.apache.asterix.app.external.TestLibrarian)1 ILibraryManager (org.apache.asterix.common.library.ILibraryManager)1