From 014d9334b3b7898c8572018617330df765a91220 Mon Sep 17 00:00:00 2001 From: Claudio Barril Date: Sun, 7 Sep 2014 23:15:48 -0300 Subject: [PATCH] fix nomenclature test name --- .../com/wisemapping/test/importer/VersionComparisonTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wise-webapp/src/test/java/com/wisemapping/test/importer/VersionComparisonTest.java b/wise-webapp/src/test/java/com/wisemapping/test/importer/VersionComparisonTest.java index 0b6ce88d..8a9b89d8 100644 --- a/wise-webapp/src/test/java/com/wisemapping/test/importer/VersionComparisonTest.java +++ b/wise-webapp/src/test/java/com/wisemapping/test/importer/VersionComparisonTest.java @@ -9,7 +9,7 @@ import org.testng.annotations.Test; public class VersionComparisonTest { @Test - public void testVersionComparison() throws ImporterException { + public void compareVersionTest() throws ImporterException { final VersionNumber greatest = new VersionNumber("1.0.1"); final VersionNumber smaller = new VersionNumber("0.9.0"); @@ -17,8 +17,10 @@ public class VersionComparisonTest { Assert.assertTrue(smaller.isSmallerThan(intermediate)); Assert.assertFalse(greatest.isSmallerThan(intermediate)); + Assert.assertTrue(greatest.isGreaterThan(smaller)); Assert.assertFalse(intermediate.isGreaterThan(greatest)); + Assert.assertTrue(intermediate.equals(intermediate)); Assert.assertFalse(greatest.equals(smaller));