aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src/test/java/org/sonar/api/utils/VersionTest.java
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2021-06-09 16:26:56 -0500
committersonartech <sonartech@sonarsource.com>2021-06-17 20:03:08 +0000
commit2754feca4e5fa8fdd804c827783250f48676296c (patch)
tree1ed9522bbc9eff9444fae6bf0a951d976da2b859 /sonar-plugin-api/src/test/java/org/sonar/api/utils/VersionTest.java
parent97f2c01fdd4ae863134d4aa1bf32b7dcd512b10c (diff)
downloadsonarqube-2754feca4e5fa8fdd804c827783250f48676296c.tar.gz
sonarqube-2754feca4e5fa8fdd804c827783250f48676296c.zip
SONAR-14925 Remove code deprecated before 7.0 in the Plugin API
Diffstat (limited to 'sonar-plugin-api/src/test/java/org/sonar/api/utils/VersionTest.java')
-rw-r--r--sonar-plugin-api/src/test/java/org/sonar/api/utils/VersionTest.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/utils/VersionTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/utils/VersionTest.java
index 2c71bfd18e0..c7b904292e6 100644
--- a/sonar-plugin-api/src/test/java/org/sonar/api/utils/VersionTest.java
+++ b/sonar-plugin-api/src/test/java/org/sonar/api/utils/VersionTest.java
@@ -123,9 +123,6 @@ public class VersionTest {
public void test_create() {
assertVersion(Version.create(1, 2), 1, 2, 0, 0, "");
assertVersion(Version.create(1, 2, 3), 1, 2, 3, 0, "");
- assertVersion(Version.create(1, 2, 0, ""), 1, 2, 0, 0, "");
- assertVersion(Version.create(1, 2, 3, "build1"), 1, 2, 3, 0, "build1");
- assertThat(Version.create(1, 2, 3, "build1").toString()).isEqualTo("1.2.3-build1");
}