aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src/test
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2019-06-19 10:28:41 +0200
committersonartech <sonartech@sonarsource.com>2019-06-28 08:45:50 +0200
commit7cce640a1badb7b7658d9a8724bd3ed1fefd6263 (patch)
tree35c646fb46a21d543bdf936ac83cee0932d0d2fe /sonar-core/src/test
parent17bc8dfa29da129ab4b160f287bdc22297e385cb (diff)
downloadsonarqube-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.java10
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();