diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2019-06-19 10:28:41 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-06-28 08:45:50 +0200 |
commit | 7cce640a1badb7b7658d9a8724bd3ed1fefd6263 (patch) | |
tree | 35c646fb46a21d543bdf936ac83cee0932d0d2fe /sonar-core/src/test | |
parent | 17bc8dfa29da129ab4b160f287bdc22297e385cb (diff) | |
download | sonarqube-7cce640a1badb7b7658d9a8724bd3ed1fefd6263.tar.gz sonarqube-7cce640a1badb7b7658d9a8724bd3ed1fefd6263.zip |
Clean old remains of the preview mode
Diffstat (limited to 'sonar-core/src/test')
-rw-r--r-- | sonar-core/src/test/java/org/sonar/core/component/ComponentKeysTest.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sonar-core/src/test/java/org/sonar/core/component/ComponentKeysTest.java b/sonar-core/src/test/java/org/sonar/core/component/ComponentKeysTest.java index 7f555664e29..5187d09bd24 100644 --- a/sonar-core/src/test/java/org/sonar/core/component/ComponentKeysTest.java +++ b/sonar-core/src/test/java/org/sonar/core/component/ComponentKeysTest.java @@ -61,16 +61,6 @@ public class ComponentKeysTest { } @Test - public void isValidModuleKeyIssuesMode() { - assertThat(ComponentKeys.isValidProjectKeyIssuesMode("")).isFalse(); - assertThat(ComponentKeys.isValidProjectKeyIssuesMode("abc")).isTrue(); - assertThat(ComponentKeys.isValidProjectKeyIssuesMode("0123")).isFalse(); - assertThat(ComponentKeys.isValidProjectKeyIssuesMode("ab 12")).isFalse(); - assertThat(ComponentKeys.isValidProjectKeyIssuesMode("ab_12")).isTrue(); - assertThat(ComponentKeys.isValidProjectKeyIssuesMode("ab/12")).isTrue(); - } - - @Test public void isValidBranchKey() { assertThat(ComponentKeys.isValidLegacyBranch("")).isTrue(); assertThat(ComponentKeys.isValidLegacyBranch("abc")).isTrue(); |