@Test public void testGetGroupedRepositories() { Set<Project> result = helper.getGroupedRepositories(); Assert.assertEquals(4, result.size()); for (Project p : result) { Assert.assertTrue(p.getName().startsWith("allowed_")); } }
public Set<Project> getGroupedRepositories() { return cacheProjects(PROJECT_HELPER_GROUPED_REPOSITORIES, allRepositories); }
ProjectHelper { public Set<Project> getGroupedRepositories() { return cacheProjects(PROJECT_HELPER_GROUPED_REPOSITORIES, allRepositories); } }
ProjectHelper { public Set<Project> getGroupedRepositories() { return cacheProjects(PROJECT_HELPER_GROUPED_REPOSITORIES, allRepositories); } private  ProjectHelper(PageConfig cfg); }
ProjectHelper { public Set<Project> getGroupedRepositories() { return cacheProjects(PROJECT_HELPER_GROUPED_REPOSITORIES, allRepositories); } private  ProjectHelper(PageConfig cfg); static ProjectHelper getInstance(PageConfig cfg); List<RepositoryInfo> getRepositoryInfo(Project p); List<RepositoryInfo> getSortedRepositoryInfo(Project p); Set<Group> getGroups(); Set<Project> getProjects(); Set<Project> getRepositories(); Set<Project> getProjects(Group g); Set<Project> getRepositories(Group g); Set<Project> getGroupedProjects(); Set<Project> getGroupedRepositories(); Set<Project> getUngroupedProjects(); Set<Project> getUngroupedRepositories(); Set<Project> getAllGrouped(); Set<Project> getAllGrouped(Group g); Set<Project> getAllUngrouped(); Set<Project> getAllProjects(); Set<Group> getSubgroups(Group g); @SuppressWarnings(value = "unchecked") boolean hasAllowedSubgroup(Group group); @SuppressWarnings(value = "unchecked") boolean hasFavourite(Group group); boolean isFavourite(Project project); boolean hasUngroupedFavourite(); static void cleanup(PageConfig cfg); }
ProjectHelper { public Set<Project> getGroupedRepositories() { return cacheProjects(PROJECT_HELPER_GROUPED_REPOSITORIES, allRepositories); } private  ProjectHelper(PageConfig cfg); static ProjectHelper getInstance(PageConfig cfg); List<RepositoryInfo> getRepositoryInfo(Project p); List<RepositoryInfo> getSortedRepositoryInfo(Project p); Set<Group> getGroups(); Set<Project> getProjects(); Set<Project> getRepositories(); Set<Project> getProjects(Group g); Set<Project> getRepositories(Group g); Set<Project> getGroupedProjects(); Set<Project> getGroupedRepositories(); Set<Project> getUngroupedProjects(); Set<Project> getUngroupedRepositories(); Set<Project> getAllGrouped(); Set<Project> getAllGrouped(Group g); Set<Project> getAllUngrouped(); Set<Project> getAllProjects(); Set<Group> getSubgroups(Group g); @SuppressWarnings(value = "unchecked") boolean hasAllowedSubgroup(Group group); @SuppressWarnings(value = "unchecked") boolean hasFavourite(Group group); boolean isFavourite(Project project); boolean hasUngroupedFavourite(); static void cleanup(PageConfig cfg);  }