Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
71 0 0 0 100% 3.948 s

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.bremersee.comparator.model 18 0 0 0 100% 1.256 s
org.bremersee.comparator 53 0 0 0 100% 2.692 s

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.bremersee.comparator.model

- Class Tests Errors Failures Skipped Success Rate Time
ObjectFactoryTest 2 0 0 0 100% 0.004 s
SortOrderItemTest 5 0 0 0 100% 0.921 s
XmlSchemaTest 1 0 0 0 100% 0.028 s
SortOrderTest 10 0 0 0 100% 0.303 s

org.bremersee.comparator

- Class Tests Errors Failures Skipped Success Rate Time
ComparatorChainTest 6 0 0 0 100% 0.081 s
ValueComparatorTest 21 0 0 0 100% 0.398 s
ComparatorJaxbContextDataProviderTest 2 0 0 0 100% 1.353 s
ValueExtractorTest 2 0 0 0 100% 0.273 s
ComparatorBuilderTest 10 0 0 0 100% 0.039 s
DelegatingComparatorTest 3 0 0 0 100% 0.010 s
ValueExtractorExceptionTest 2 0 0 0 100% 0.160 s
ComparatorExceptionTest 2 0 0 0 100% 0.002 s
DefaultValueExtractorTest 5 0 0 0 100% 0.376 s

Test Cases

[Summary] [Package List] [Test Cases]

ComparatorChainTest

testToString 0.063 s
testTwoComparatorsAndUseOnlyFirst 0.002 s
testNullObjectsAndExpectComparatorException 0.001 s
testTwoComparatorsAndUseBoth 0.002 s
testNotComparableObjectsAndExpectComparatorException 0.001 s
testEmptyComparatorChain(SoftAssertions) 0.001 s

ValueComparatorTest

testWith_A_And_B_And_Asc_And_IgnoreCase 0.342 s
testWithFirstIsNullValueAndAscAndNullIsFirst 0.003 s
testWith_B_And_A_And_Asc_And_IgnoreCase 0.004 s
testWith_1_And_2_And_Asc 0.002 s
testWithSecondIsNullValueAndAscAndNullIsLast 0.002 s
testWithSecondIsNullValueAndDescAndNullIsLast 0.002 s
testToString 0.003 s
testWithFirstIsNullValueAndDescAndNullIsLast 0.002 s
testWith_A_And_B_And_Desc_And_IgnoreCase 0.003 s
testWith_2_And_1_And_Desc 0.002 s
testWith_1_And_2_And_Desc 0.002 s
testWith_1_And_1 0.002 s
testWithFirstIsNullValueAndDescAndNullIsFirst 0.002 s
testWithNonComparableValuesAndExpectComparatorException 0.003 s
testWithFirstIsNullValueAndAscAndNullIsLast 0.002 s
testWithTwoNullValues 0.002 s
testWithSecondIsNullValueAndAscAndNullIsFirst 0.002 s
testWith_2_And_1_And_Asc 0.002 s
testWith_A_And_A 0.002 s
testWithSecondIsNullValueAndDescAndNullIsFirst 0.002 s
testWith_B_And_A_And_Desc_And_IgnoreCase 0.001 s

ComparatorJaxbContextDataProviderTest

getJaxbContextData(SoftAssertions) 1.205 s
getNamespace 0.144 s

ObjectFactoryTest

createSortOrder 0.001 s
createSortOrders 0.002 s

ValueExtractorTest

findFieldWithClassAndName 0.003 s
getPossibleMethodNames(SoftAssertions) 0.267 s

SortOrderItemTest

testXml 0.059 s
testJson 0.386 s
testFromSortOrderText(SoftAssertions) 0.101 s
testEqualsAndHashCode(SoftAssertions) 0.002 s
testGetSortOrderText(SoftAssertions) 0.170 s

ComparatorBuilderTest

testSimpleGetObjectWithSortOrders(SoftAssertions) 0.014 s
testPrimitiveType 0.001 s
testSimpleGetObject 0.001 s
testSimpleObject 0 s
testSimpleIsObject 0 s
testComplexObject 0.001 s
testObjectsAndExpectComparatorException 0.001 s
testObjectsWithSameValues 0.001 s
testComparingOfComplexObjects(SoftAssertions) 0.012 s
testStrings 0.003 s

DelegatingComparatorTest

testToString 0.004 s
testDelegatingComparatorAndExpectIllegalArgumentException 0.001 s
testDelegatingComparator 0.002 s

ValueExtractorExceptionTest

testWithOneArgument 0.127 s
testWithTwoArguments 0.004 s

ComparatorExceptionTest

testWithOneArgument 0.001 s
testWithTwoArguments 0.001 s

DefaultValueExtractorTest

testObjects(SoftAssertions) 0.162 s
testIllegalFieldAndExpectException 0.006 s
testToString 0.003 s
testReturningOfGivenObject(SoftAssertions) 0.001 s
testEqualsAndHashCode(SoftAssertions) 0.198 s

XmlSchemaTest

testXmlSchema 0.023 s

SortOrderTest

testIsUnsorted 0.049 s
testXml 0.004 s
testFromSortOrderTextWithNull 0.001 s
testJsonSortOrders 0.017 s
testIsSorted 0.001 s
testFromSortOrderTextWithNoText 0.005 s
testFromSortOrderText(SoftAssertions) 0.209 s
testEqualsAndHashCode(SoftAssertions) 0.001 s
testGetSortOrderText(SoftAssertions) 0.002 s
testIsEmpty 0.002 s