public boolean addToTest() { init(); Properties properties = new Properties(); properties.put(ProductionClassesRoot.PROD_ROOT, Helpers.tempDirectory().getAbsolutePath()); ProductionClassesRoot pcr = new ProductionClassesRoot(); pcr.buildFrom(properties); pcr.addTo(settings); Assert.aequals(Helpers.tempDirectory(), settings.productionClassesDir()); return true; }
public boolean buildFromTest() { init(); Properties properties = new Properties(); properties.put(ClassesRoot.CLASSES_ROOT, Helpers.tempDirectory().getAbsolutePath()); ProductionClassesRoot pcr = new ProductionClassesRoot(); pcr.buildFrom(properties); pcr.addTo(settings); Assert.azzertNull(settings.productionClassesDir()); return true; }