ProfileBuilder(File working) { this.asakusaHome = new File(working, "asakusa"); this.lockDir = new File(working, "lock"); this.trackingId = ExecutionTracker.Id.get("testing"); this.replacement = new HashMap<String, String>(); this.replacement.put("home", asakusaHome.getAbsolutePath()); this.replacement.put("scope", ExecutionLock.Scope.WORLD.getSymbol()); this.replacement.put("locker", BasicLockProvider.class.getName()); this.replacement.put("monitor", BasicMonitorProvider.class.getName()); this.replacement.put("lock", lockDir.getAbsolutePath()); this.replacement.put("tracker", SerialExecutionTracker.class.getName()); this.replacement.put("id", "testing"); this.override = new Properties(); SerialExecutionTracker.clear(); }
/** * Cleans up the test. * * @throws Exception if some errors were occurred */ @After public void tearDown() throws Exception { SerialExecutionTracker.clear(); }
/** * Initializes the test. * * @throws Exception if some errors were occurred */ @Before public void setUp() throws Exception { SerialExecutionTracker.clear(); }