public class LevelTest extends Object
| Constructor and Description |
|---|
LevelTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testCheckGetLevelsReturnOrder() |
void |
testGettingDefaultLevelsReturnJDKObjects() |
void |
testGettingMONITLevelSeveralTimesReturnSameObject() |
void |
testGettingMONITMSGLevelSeveralTimesReturnSameObject() |
void |
testJdkParsingMONITLevels() |
void |
testMONITLevelBetweenCONFIGandFINE() |
void |
testMONITMSGLevelBetweenMONITandFINE() |
void |
testParsingDefaultLevelsReturnJDKObjects() |
void |
testParsingMONITLevels()
Here we use assertEquals and not assertSame because Level.KnowLevel stores
copies of the instances that were given to them by the constructor
of the current class (for security reasons).
|
public final void testGettingDefaultLevelsReturnJDKObjects()
throws Exception
Exceptionpublic final void testMONITLevelBetweenCONFIGandFINE()
throws Exception
Exceptionpublic final void testMONITMSGLevelBetweenMONITandFINE()
throws Exception
Exceptionpublic final void testGettingMONITLevelSeveralTimesReturnSameObject()
throws Exception
Exceptionpublic final void testGettingMONITMSGLevelSeveralTimesReturnSameObject()
throws Exception
Exceptionpublic final void testCheckGetLevelsReturnOrder()
throws Exception
Exceptionpublic final void testParsingDefaultLevelsReturnJDKObjects()
throws Exception
Exceptionpublic final void testParsingMONITLevels()
throws Exception
ExceptionCopyright © 2010-2018 Linagora. All Rights Reserved.