コード例 #1
0
 protected void assertProfile(String name, int dependencySize, String[] dependencyNames) {
   Profile profile = profileMap.get(name);
   assertNotNull("Null profile: " + name, profile);
   assertNotNull("Null dependencies for profile: " + name, profile.getSubProfiles());
   assertDependenciesSize(dependencySize, profile);
   assertDependencies(dependencyNames, profile.getSubProfiles());
 }
コード例 #2
0
 protected void assertDependenciesSize(int size, Profile profile) {
   assertEquals(
       "dependency size for profile: " + profile.getKey(), size, profile.getSubProfiles().size());
 }