Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
71 0 0 0 100% 4.443 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.466 s
org.bremersee.comparator 53 0 0 0 100% 2.977 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.005 s
SortOrderItemTest 5 0 0 0 100% 1.117 s
XmlSchemaTest 1 0 0 0 100% 0.022 s
SortOrderTest 10 0 0 0 100% 0.322 s

org.bremersee.comparator

- Class Tests Errors Failures Skipped Success Rate Time
ComparatorChainTest 6 0 0 0 100% 0.098 s
ValueComparatorTest 21 0 0 0 100% 0.453 s
ComparatorJaxbContextDataProviderTest 2 0 0 0 100% 1.414 s
ValueExtractorTest 2 0 0 0 100% 0.283 s
ComparatorBuilderTest 10 0 0 0 100% 0.029 s
DelegatingComparatorTest 3 0 0 0 100% 0.011 s
ValueExtractorExceptionTest 2 0 0 0 100% 0.224 s
ComparatorExceptionTest 2 0 0 0 100% 0.003 s
DefaultValueExtractorTest 5 0 0 0 100% 0.462 s

Test Cases

[Summary] [Package List] [Test Cases]

ComparatorChainTest

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

ValueComparatorTest

testWith_A_And_B_And_Asc_And_IgnoreCase 0.383 s
testWithFirstIsNullValueAndAscAndNullIsFirst 0.003 s
testWith_B_And_A_And_Asc_And_IgnoreCase 0.004 s
testWith_1_And_2_And_Asc 0.003 s
testWithSecondIsNullValueAndAscAndNullIsLast 0.003 s
testWithSecondIsNullValueAndDescAndNullIsLast 0.002 s
testToString 0.004 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.001 s
testWithSecondIsNullValueAndAscAndNullIsFirst 0.002 s
testWith_2_And_1_And_Asc 0.002 s
testWith_A_And_A 0.002 s
testWithSecondIsNullValueAndDescAndNullIsFirst 0.003 s
testWith_B_And_A_And_Desc_And_IgnoreCase 0.002 s

ComparatorJaxbContextDataProviderTest

getJaxbContextData(SoftAssertions) 1.353 s
getNamespace 0.056 s

ObjectFactoryTest

createSortOrder 0.001 s
createSortOrders 0.002 s

ValueExtractorTest

findFieldWithClassAndName 0.003 s
getPossibleMethodNames(SoftAssertions) 0.278 s

SortOrderItemTest

testXml 0.054 s
testJson 0.554 s
testFromSortOrderText(SoftAssertions) 0.117 s
testEqualsAndHashCode(SoftAssertions) 0.002 s
testGetSortOrderText(SoftAssertions) 0.171 s

ComparatorBuilderTest

testSimpleGetObjectWithSortOrders(SoftAssertions) 0.007 s
testPrimitiveType 0.001 s
testSimpleGetObject 0.001 s
testSimpleObject 0.001 s
testSimpleIsObject 0.001 s
testComplexObject 0.001 s
testObjectsAndExpectComparatorException 0.002 s
testObjectsWithSameValues 0.002 s
testComparingOfComplexObjects(SoftAssertions) 0.004 s
testStrings 0.003 s

DelegatingComparatorTest

testToString 0.004 s
testDelegatingComparatorAndExpectIllegalArgumentException 0.001 s
testDelegatingComparator 0.002 s

ValueExtractorExceptionTest

testWithOneArgument 0.185 s
testWithTwoArguments 0.008 s

ComparatorExceptionTest

testWithOneArgument 0.001 s
testWithTwoArguments 0.001 s

DefaultValueExtractorTest

testObjects(SoftAssertions) 0.204 s
testIllegalFieldAndExpectException 0.009 s
testToString 0.004 s
testReturningOfGivenObject(SoftAssertions) 0.002 s
testEqualsAndHashCode(SoftAssertions) 0.234 s

XmlSchemaTest

testXmlSchema 0.016 s

SortOrderTest

testIsUnsorted 0.058 s
testXml 0.005 s
testFromSortOrderTextWithNull 0.001 s
testJsonSortOrders 0.019 s
testIsSorted 0.001 s
testFromSortOrderTextWithNoText 0.005 s
testFromSortOrderText(SoftAssertions) 0.216 s
testEqualsAndHashCode(SoftAssertions) 0.002 s
testGetSortOrderText(SoftAssertions) 0.002 s
testIsEmpty 0.001 s