@Test public void doesNotOpenProjectsWithoutKnownbuildfiles() { task.run(e1); verify(opener, times(0)).open(e1); }
@Override public void run(Exercise exercise) { if (canOpen(exercise)) { opener.open(exercise); exercise.getProject().setStatus(ProjectStatus.DOWNLOADED); } }
OpenAllDownloadedExercisesTask extends SimpleBackgroundTask<Exercise> { @Override public void run(Exercise exercise) { if (canOpen(exercise)) { opener.open(exercise); exercise.getProject().setStatus(ProjectStatus.DOWNLOADED); } } }
OpenAllDownloadedExercisesTask extends SimpleBackgroundTask<Exercise> { @Override public void run(Exercise exercise) { if (canOpen(exercise)) { opener.open(exercise); exercise.getProject().setStatus(ProjectStatus.DOWNLOADED); } } OpenAllDownloadedExercisesTask(String description, List<Exercise> list, ProjectOpener opener, IOFactory io); }
OpenAllDownloadedExercisesTask extends SimpleBackgroundTask<Exercise> { @Override public void run(Exercise exercise) { if (canOpen(exercise)) { opener.open(exercise); exercise.getProject().setStatus(ProjectStatus.DOWNLOADED); } } OpenAllDownloadedExercisesTask(String description, List<Exercise> list, ProjectOpener opener, IOFactory io); @Override void run(Exercise exercise); }
OpenAllDownloadedExercisesTask extends SimpleBackgroundTask<Exercise> { @Override public void run(Exercise exercise) { if (canOpen(exercise)) { opener.open(exercise); exercise.getProject().setStatus(ProjectStatus.DOWNLOADED); } } OpenAllDownloadedExercisesTask(String description, List<Exercise> list, ProjectOpener opener, IOFactory io); @Override void run(Exercise exercise);  }