Test Stories

Shows the stories told by the tests of the project.

UUT Documentation

AdaptableException (de.smartics.util.adapt)

[api]

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

Arg (de.smartics.util.lang)

[api]

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

BlankArgumentException (de.smartics.util.lang)

[api]

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

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

[api]

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

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

[api]

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

NullArgumentException (de.smartics.util.lang)

[api]

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

StringFunction (de.smartics.util.lang)

[api]

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