aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src/test
diff options
context:
space:
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();