Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
71 0 0 0 100% 4.886 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.803 s
org.bremersee.comparator 53 0 0 0 100% 3.083 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.007 s
SortOrderItemTest 5 0 0 0 100% 1.318 s
XmlSchemaTest 1 0 0 0 100% 0.025 s
SortOrderTest 10 0 0 0 100% 0.453 s

org.bremersee.comparator

- Class Tests Errors Failures Skipped Success Rate Time
ComparatorChainTest 6 0 0 0 100% 0.103 s
ValueComparatorTest 21 0 0 0 100% 0.505 s
ComparatorJaxbContextDataProviderTest 2 0 0 0 100% 1.435 s
ValueExtractorTest 2 0 0 0 100% 0.323 s
ComparatorBuilderTest 10 0 0 0 100% 0.027 s
DelegatingComparatorTest 3 0 0 0 100% 0.012 s
ValueExtractorExceptionTest 2 0 0 0 100% 0.217 s
ComparatorExceptionTest 2 0 0 0 100% 0.003 s
DefaultValueExtractorTest 5 0 0 0 100% 0.458 s

Test Cases

[Summary] [Package List] [Test Cases]

ComparatorChainTest

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

ValueComparatorTest

testWith_A_And_B_And_Asc_And_IgnoreCase 0.436 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.002 s
testWithSecondIsNullValueAndDescAndNullIsLast 0.003 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.003 s
testWith_1_And_1 0.003 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.002 s

ComparatorJaxbContextDataProviderTest

getJaxbContextData(SoftAssertions) 1.356 s
getNamespace 0.075 s

ObjectFactoryTest

createSortOrder 0.002 s
createSortOrders 0.003 s

ValueExtractorTest

findFieldWithClassAndName 0.002 s
getPossibleMethodNames(SoftAssertions) 0.317 s

SortOrderItemTest

testXml 0.075 s
testJson 0.679 s
testFromSortOrderText(SoftAssertions) 0.103 s
testEqualsAndHashCode(SoftAssertions) 0.001 s
testGetSortOrderText(SoftAssertions) 0.202 s

ComparatorBuilderTest

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

DelegatingComparatorTest

testToString 0.005 s
testDelegatingComparatorAndExpectIllegalArgumentException 0.001 s
testDelegatingComparator 0.002 s

ValueExtractorExceptionTest

testWithOneArgument 0.176 s
testWithTwoArguments 0.008 s

ComparatorExceptionTest

testWithOneArgument 0.001 s
testWithTwoArguments 0.001 s

DefaultValueExtractorTest

testObjects(SoftAssertions) 0.183 s
testIllegalFieldAndExpectException 0.018 s
testToString 0.010 s
testReturningOfGivenObject(SoftAssertions) 0.002 s
testEqualsAndHashCode(SoftAssertions) 0.237 s

XmlSchemaTest

testXmlSchema 0.018 s

SortOrderTest

testIsUnsorted 0.076 s
testXml 0.007 s
testFromSortOrderTextWithNull 0.001 s
testJsonSortOrders 0.030 s
testIsSorted 0.002 s
testFromSortOrderTextWithNoText 0.006 s
testFromSortOrderText(SoftAssertions) 0.310 s
testEqualsAndHashCode(SoftAssertions) 0.002 s
testGetSortOrderText(SoftAssertions) 0.001 s
testIsEmpty 0.001 s