@Test public void testProvideChecklists() throws Exception { List<Checklist> checklists = this.constructIndivChecklists(); ChecklistPlanner planner = new ChecklistPlanner(ALL_CKL_IDS); planner.provideChecklists(checklists); List<Checklist> allChecklists = planner.getAllChecklists().collect(Collectors.toList()); assertTrue("constructed has alpha/alpha checklist", allChecklists.stream().anyMatch(alphaFilter)); assertTrue("constructed has bravo/bravo-1 checklist", allChecklists.stream().anyMatch(bravo1Filter)); assertTrue("constructed has bravo/bravo-2 checklist", allChecklists.stream().anyMatch(bravo2Filter)); assertTrue("constructed has charlie/charlie checklist", allChecklists.stream().anyMatch(charlieFilter)); }
public void provideChecklists(final List<Checklist> constructed) { selectChecklists(new ArrayList<>(constructed)); }
ChecklistPlanner { public void provideChecklists(final List<Checklist> constructed) { selectChecklists(new ArrayList<>(constructed)); } }
ChecklistPlanner { public void provideChecklists(final List<Checklist> constructed) { selectChecklists(new ArrayList<>(constructed)); } ChecklistPlanner(final List<String> activeChecklistIds); }
ChecklistPlanner { public void provideChecklists(final List<Checklist> constructed) { selectChecklists(new ArrayList<>(constructed)); } ChecklistPlanner(final List<String> activeChecklistIds); void provideChecklists(final List<Checklist> constructed); void discoverChecklists(); void discoverChecklists(final ClassLoader classLoader); void discoverChecklists(final List<File> files); List<InitStage> getInitStages(); List<CheckSpec> getEffectiveCheckSpecs(final List<CheckSpec> checkOverrides); static List<Checklist> constructChecklists(final Map<URL, List<JsonObject>> parsed); static Map<URL, List<JsonObject>> parseChecklists(final URL manifestUrl); static Map<URL, List<JsonObject>> parseChecklists(final ClassLoader classLoader); static Map<URL, List<JsonObject>> parseChecklists(final List<File> files); }
ChecklistPlanner { public void provideChecklists(final List<Checklist> constructed) { selectChecklists(new ArrayList<>(constructed)); } ChecklistPlanner(final List<String> activeChecklistIds); void provideChecklists(final List<Checklist> constructed); void discoverChecklists(); void discoverChecklists(final ClassLoader classLoader); void discoverChecklists(final List<File> files); List<InitStage> getInitStages(); List<CheckSpec> getEffectiveCheckSpecs(final List<CheckSpec> checkOverrides); static List<Checklist> constructChecklists(final Map<URL, List<JsonObject>> parsed); static Map<URL, List<JsonObject>> parseChecklists(final URL manifestUrl); static Map<URL, List<JsonObject>> parseChecklists(final ClassLoader classLoader); static Map<URL, List<JsonObject>> parseChecklists(final List<File> files); static final String OAKPAL_CHECKLIST; static final String OAKPAL_MODULENAME; static final String BUNDLE_SYMBOLICNAME; static final String AUTOMATIC_MODULE_NAME; }