Class ErrorDisplayStateTest
java.lang.Object
test.ErrorDisplayStateTest
Provides test cases for the
ErrorDisplayState
enum.
Tests methods for converting states to their display strings and for finding a state by its display string.
Contains the following test cases:
testConvertToDisplayString()
- Tests the generation of the display stringtestFromDisplayString()
- Tests finding a state by its display stringtestInvalidDisplayString()
- Tests handling of invalid display strings
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Tests the generation of the display string.void
Tests finding a state by its display string.void
Tests handling of invalid display strings.
-
Constructor Details
-
ErrorDisplayStateTest
public ErrorDisplayStateTest()
-
-
Method Details
-
testConvertToDisplayString
@Test public void testConvertToDisplayString()Tests the generation of the display string. -
testFromDisplayString
@Test public void testFromDisplayString()Tests finding a state by its display string. -
testInvalidDisplayString
@Test public void testInvalidDisplayString()Tests handling of invalid display strings.
-