@Test void validation_failed_for_invalid_path() { File inexistentDirectory = new File("./this/path/does/not/exist"); assertThrows(IllegalArgumentException.class, () -> new ScenariooValidator(inexistentDirectory, true).validate()); }
public boolean validate() throws InterruptedException { cleanDerivedFilesIfRequested(); Map<BuildIdentifier, BuildImportSummary> buildImportSummaries = validationBuildImporter.importBuildsAndWaitForExecutor(); return evaluateSummaries(buildImportSummaries); }
ScenariooValidator { public boolean validate() throws InterruptedException { cleanDerivedFilesIfRequested(); Map<BuildIdentifier, BuildImportSummary> buildImportSummaries = validationBuildImporter.importBuildsAndWaitForExecutor(); return evaluateSummaries(buildImportSummaries); } }
ScenariooValidator { public boolean validate() throws InterruptedException { cleanDerivedFilesIfRequested(); Map<BuildIdentifier, BuildImportSummary> buildImportSummaries = validationBuildImporter.importBuildsAndWaitForExecutor(); return evaluateSummaries(buildImportSummaries); } ScenariooValidator(File docuDirectory, boolean doCleanDerivedFiles); }
ScenariooValidator { public boolean validate() throws InterruptedException { cleanDerivedFilesIfRequested(); Map<BuildIdentifier, BuildImportSummary> buildImportSummaries = validationBuildImporter.importBuildsAndWaitForExecutor(); return evaluateSummaries(buildImportSummaries); } ScenariooValidator(File docuDirectory, boolean doCleanDerivedFiles); boolean validate(); }
ScenariooValidator { public boolean validate() throws InterruptedException { cleanDerivedFilesIfRequested(); Map<BuildIdentifier, BuildImportSummary> buildImportSummaries = validationBuildImporter.importBuildsAndWaitForExecutor(); return evaluateSummaries(buildImportSummaries); } ScenariooValidator(File docuDirectory, boolean doCleanDerivedFiles); boolean validate();  }