Exemplo n.º 1
0
 protected void assertProfileNotExists(String version, String profile) {
   List<String> profiles = dataStore.getProfiles(version);
   assertFalse(
       "Profile " + profile + " should not exist but has: " + profiles + " for version " + version,
       profiles.contains(profile));
   // We can't directly access git as it gets locked.
   // assertFolderNotExists(getLocalGitFile("fabric/profiles/" +
   // dataStore.convertProfileIdToDirectory(profile)));
 }
Exemplo n.º 2
0
 protected void assertProfileExists(String version, String profile) throws Exception {
   List<String> profiles = dataStore.getProfiles(version);
   assertTrue(
       "Profile " + profile + " should exist but has: " + profiles + " for version " + version,
       profiles.contains(profile));
   // We can't directly access git as it gets locked.
   // git.checkout().setName(version).call();
   // assertFolderExists(getLocalGitFile("fabric/profiles/" +
   // dataStore.convertProfileIdToDirectory(profile)));
 }