Search in sources :

Example 11 with FileManager

use of org.drools.core.util.FileManager in project drools by kiegroup.

the class KieRepositoryScannerTest method resetFileManager.

private void resetFileManager() {
    this.fileManager.tearDown();
    this.fileManager = new FileManager();
    this.fileManager.setUp();
}
Also used : FileManager(org.drools.core.util.FileManager)

Example 12 with FileManager

use of org.drools.core.util.FileManager in project drools by kiegroup.

the class KieScannerIncrementalCompilationTest method setUp.

@Before
public void setUp() throws Exception {
    this.fileManager = new FileManager();
    this.fileManager.setUp();
    releaseId = KieServices.Factory.get().newReleaseId("org.kie", "scanner-test", "1.0-SNAPSHOT");
}
Also used : FileManager(org.drools.core.util.FileManager) Before(org.junit.Before)

Aggregations

FileManager (org.drools.core.util.FileManager)12 Before (org.junit.Before)9 File (java.io.File)2 ReleaseId (org.kie.api.builder.ReleaseId)2 MalformedURLException (java.net.MalformedURLException)1 URL (java.net.URL)1 URLClassLoader (java.net.URLClassLoader)1 ArrayList (java.util.ArrayList)1 KieServicesImpl (org.drools.compiler.kie.builder.impl.KieServicesImpl)1