Test Stories

Shows the stories told by the tests of the project.

UUT Documentation

AdaptableException (de.smartics.util.adapt)

# Status Scenario Categories Test Case
1
SUCCESS
Is serializable. Object-Basics AdaptableExceptionSerializableTest: [test]
2
SUCCESS
Allows creation without root cause. Construction AdaptableExceptionTest: [test]
3
SUCCESS
Allows creation without any type information. Construction AdaptableExceptionTest: [test]

Arg (de.smartics.util.lang)

# Status Scenario Categories Test Case
1
SUCCESS
Rejects null value with null pointer exception. ArgTest: [test]
2
SUCCESS
Accepts non null value. ArgTest: [test]
3
SUCCESS
Allows to pass an optional message for null check. ArgTest: [test]
4
SUCCESS
Allows to pass an optional message for null check even if no exception is thrown. Coverage ArgTest: [test]
5
SUCCESS
Rejects blank value with null pointer exception. ArgTest: [test]
6
SUCCESS
Accepts non blank value. ArgTest: [test]
7
SUCCESS
Allows to pass an optional message for blank check. ArgTest: [test]
8
SUCCESS
Allows to pass an optional message for blank check even if no exception is thrown. Coverage ArgTest: [test]
9
SUCCESS
Is an utility class. Coverage ArgTest: [test]

BlankArgumentException (de.smartics.util.lang)

# Status Scenario Categories Test Case
1
SUCCESS
Is serializable. Object-Basics BlankArgumentExceptionSerializableTest: [test]
2
SUCCESS
Allows to specify the name of the missing argument. Construction BlankArgumentExceptionTest: [test]
3
SUCCESS
Allows to leave out the name of the missing argument. Construction BlankArgumentExceptionTest: [test]
4
SUCCESS
Provides a noargs constuctor although its use is discouraged. Construction BlankArgumentExceptionTest: [test]

ClassPathContext (de.smartics.util.lang.classpath)

# Status Scenario Categories Test Case
1
SUCCESS
Equals is reflexive. Object-Basics ClassPathContextObjectBasicsTest: [test]
2
SUCCESS
Equals is symmetric. Object-Basics ClassPathContextObjectBasicsTest: [test]
3
SUCCESS
Equals is transitive. Object-Basics ClassPathContextObjectBasicsTest: [test]
4
SUCCESS
Equals is consistent. Object-Basics ClassPathContextObjectBasicsTest: [test]
5
SUCCESS
Equals return false on null. Object-Basics ClassPathContextObjectBasicsTest: [test]
6
SUCCESS
Hash code is consistent. Object-Basics ClassPathContextObjectBasicsTest: [test]
7
SUCCESS
Hash code is consistent with equals. Object-Basics ClassPathContextObjectBasicsTest: [test]
8
SUCCESS
Hash code produces unequal hash codes for unequal instances. Object-Basics ClassPathContextObjectBasicsTest: [test]
9
SUCCESS
To string runs without failure. Object-Basics ClassPathContextObjectBasicsTest: [test]

ClassPathDirectoryListing (de.smartics.util.lang.classpath)

# Status Scenario Categories Test Case
1
SUCCESS
Reads files from the file system. ClassPathDirectoryListingTest: [test]
2
SUCCESS
Reads files from a jar archive. ClassPathDirectoryListingTest: [test]
3
SUCCESS
Reads from jar root. ClassPathDirectoryListingTest: [test]
4
SUCCESS
Does not allow null as resource path. Coverage ClassPathDirectoryListingTest: [test]
5
SUCCESS
Throws illegal argument exception if resource not found on class path. Coverage ClassPathDirectoryListingTest: [test]

NullArgumentException (de.smartics.util.lang)

# Status Scenario Categories Test Case
1
SUCCESS
Is serializable. Object-Basics NullArgumentExceptionSerializableTest: [test]
2
SUCCESS
Allows to specify the name of the missing argument. Construction NullArgumentExceptionTest: [test]
3
SUCCESS
Allows to leave out the name of the missing argument. Construction NullArgumentExceptionTest: [test]
4
SUCCESS
Provides a noargs constuctor although its use is discouraged. Construction NullArgumentExceptionTest: [test]

StringFunction (de.smartics.util.lang)

# Status Scenario Categories Test Case
1
SUCCESS
chop: null -> null StringFunctionChopTest: [test]
2
SUCCESS
chop: "" -> "" StringFunctionChopTest: [test]
3
SUCCESS
chop: "x" -> "" Technical StringFunctionChopTest: [test]
4
SUCCESS
chop: "abc" -> "ab" StringFunctionChopTest: [test]
5
SUCCESS
chop: "abc\r\n" -> "abc" StringFunctionChopTest: [test]
6
SUCCESS
chop: "\r" -> "" Technical StringFunctionChopTest: [test]
7
SUCCESS
chop: "\r\n" -> "" Technical StringFunctionChopTest: [test]
8
SUCCESS
chop: "\n" -> "" Technical StringFunctionChopTest: [test]
9
SUCCESS
chop: "ab\n" -> "ab" Coverage StringFunctionChopTest: [test]
10
SUCCESS
chop: "\r" -> "" Technical StringFunctionChopTest: [test]
11
SUCCESS
isLastChar: null, {any} -> false StringFunctionIsLastCharTest: [test]
12
SUCCESS
isLastChar: "", {any} -> false StringFunctionIsLastCharTest: [test]
13
SUCCESS
isLastChar: "a", 'a' -> true StringFunctionIsLastCharTest: [test]
14
SUCCESS
isLastChar: "a", 'x' -> false StringFunctionIsLastCharTest: [test]
15
SUCCESS
isLastChar: "abc", 'c' -> true StringFunctionIsLastCharTest: [test]
16
SUCCESS
isLastChar: "abc", 'x' -> false StringFunctionIsLastCharTest: [test]
17
SUCCESS
Run private constructor for full test coverage. Coverage StringFunctionTest: [test]
18
SUCCESS
toHyphenVersion: null -> null StringFunctionToHyphenVersionTest: [test]
19
SUCCESS
toHyphenVersion: "" -> "" StringFunctionToHyphenVersionTest: [test]
20
SUCCESS
toHyphenVersion: "abc" -> "abc" StringFunctionToHyphenVersionTest: [test]
21
SUCCESS
toHyphenVersion: "Abc" -> "abc" StringFunctionToHyphenVersionTest: [test]
22
SUCCESS
toHyphenVersion: "a" -> "a" Technical StringFunctionToHyphenVersionTest: [test]
23
SUCCESS
toHyphenVersion: "A" -> "a" Technical StringFunctionToHyphenVersionTest: [test]
24
SUCCESS
toHyphenVersion: "aBc" -> "a-bc" StringFunctionToHyphenVersionTest: [test]
25
SUCCESS
toHyphenVersion: "thisIsACamleCaseExample" -> "this-is-a-camle-case-example" StringFunctionToHyphenVersionTest: [test]
generated by maven-testdoc-plugin