Exemplo n.º 1
0
  private static void checkTestingDirs() {
    assertThat(BASE_TESTING_DIR).exists().isDirectory();
    assertThat(INPUT_DIR).exists().isDirectory();
    assertThat(BATCH_RESIZE_OUTPUT_DIR).exists().isDirectory();
    assertThat(BATCH_FILTER_OUTPUT_DIR).exists().isDirectory();

    assertThat(Files.fileNamesIn(BATCH_RESIZE_OUTPUT_DIR.getPath(), false)).isEmpty();
    assertThat(Files.fileNamesIn(BATCH_FILTER_OUTPUT_DIR.getPath(), false)).isEmpty();
  }