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))); }
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))); }