protected void setUp() { super.setUp(); baseExecutionService = new ExecutionServiceImpl( ExecutionServiceFactory.defaultExecutorClasses, new HashMap<Class<? extends ExecutionItem>, Executor>(), getFrameworkInstance()); }
public void setUp() { super.setUp(); final Framework frameworkInstance = getFrameworkInstance(); final IRundeckProject frameworkProject = frameworkInstance.getFrameworkProjectMgr().createFrameworkProject(PROJ_NAME); generateProjectResourcesFile( new File("src/test/resources/com/dtolabs/rundeck/core/common/test-nodes1.xml"), frameworkProject); }
public void setUp() { super.setUp(); final Framework frameworkInstance = getFrameworkInstance(); final FrameworkProject frameworkProject = frameworkInstance.getFrameworkProjectMgr().createFrameworkProject(PROJ_NAME); File resourcesfile = new File(frameworkProject.getNodesResourceFilePath()); // copy test nodes to resources file try { FileUtils.copyFileStreams( new File("src/test/resources/com/dtolabs/rundeck/core/common/test-nodes1.xml"), resourcesfile); } catch (IOException e) { throw new RuntimeException("Caught Setup exception: " + e.getMessage(), e); } }
public void tearDown() throws Exception { super.tearDown(); File projectdir = new File(getFrameworkProjectsBase(), PROJ_NAME); FileUtils.deleteDir(projectdir); }
protected void tearDown() throws Exception { super.tearDown(); File projectdir = new File(getFrameworkProjectsBase(), TEST_PROJECT); FileUtils.deleteDir(projectdir); }
protected void tearDown() throws Exception { super.tearDown(); }
protected void setUp() { super.setUp(); }