Package org.nuiton.version
Class SemVerTest
- java.lang.Object
-
- org.nuiton.version.SemVerTest
-
public class SemVerTest extends Object
- Author:
- Benjamin Poussin - poussin@codelutin.com
-
-
Constructor Summary
Constructors Constructor Description SemVerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intnormalize(int v)Si le comparator ne renvoi pas -1, 0, 1 on normalize pour avoir -1, 0, 1voidtestAll()voidtestCreation()voidtestCreator()voidtestGetComposant()voidtestInc()voidtestIncMajorMinorPatch()voidtestOne()Ce test ne sert pas vraiment en temps normale, mais lorsqu'il y a un test qui fail dans testAll, il est pratique de remettre le test qui echoue plus specifiquement ici pour le debugvoidtestToJavaIdentifier()
-
-
-
Method Detail
-
testCreation
public void testCreation()
-
testCreator
public void testCreator()
-
testInc
public void testInc()
-
testIncMajorMinorPatch
public void testIncMajorMinorPatch()
-
testGetComposant
public void testGetComposant()
-
testToJavaIdentifier
public void testToJavaIdentifier()
-
testOne
public void testOne()
Ce test ne sert pas vraiment en temps normale, mais lorsqu'il y a un test qui fail dans testAll, il est pratique de remettre le test qui echoue plus specifiquement ici pour le debug
-
testAll
public void testAll()
-
normalize
protected int normalize(int v)
Si le comparator ne renvoi pas -1, 0, 1 on normalize pour avoir -1, 0, 1- Parameters:
v-- Returns:
-
-