Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
50 0 0 0 100% 1.907 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
(default package) 22 0 0 0 100% 0.186 s
JacksonUtil 2 0 0 0 100% 1.231 s
com.acumenvelocity.ath.common 20 0 0 0 100% 0.445 s
net.sf.okapi.steps.sentencealigner 6 0 0 0 100% 0.045 s

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

(default package)

- Class Tests Errors Failures Skipped Success Rate Time
Round-trip conversion tests 3 0 0 0 100% 0.095 s
toTextFragment tests 10 0 0 0 100% 0.039 s
toLayeredText tests 9 0 0 0 100% 0.052 s

JacksonUtil

- Class Tests Errors Failures Skipped Success Rate Time
fromJson tests 2 0 0 0 100% 1.231 s

com.acumenvelocity.ath.common

- Class Tests Errors Failures Skipped Success Rate Time
RearrangeCodesTest 12 0 0 0 100% 0.276 s
TestOkapiWordBreaker 8 0 0 0 100% 0.169 s

net.sf.okapi.steps.sentencealigner

- Class Tests Errors Failures Skipped Success Rate Time
TestSentenceAligner 6 0 0 0 100% 0.045 s

Test Cases

[Summary] [Package List] [Test Cases]

TestSentenceAligner

test2to1Alignment 0.032 s
test1to2Alignment 0.002 s
test1to1Alignment 0.001 s
testPreserveInterSegmentSpace 0.001 s
testNoSourceToTargetContentCopy 0.001 s
test2to2Alignment 0.001 s

RearrangeCodesTest

testProperlyOrderedCodes 0.025 s
testAdjacentSwappedCodes 0.065 s
testSingleCodeWithoutPair 0.005 s
testSwapClosingBeforeOpening 0.051 s
testMultipleSwappedPairs 0.036 s
testMaxIterationsPreventsInfiniteLoop 0.019 s
testNullTextFragment 0.002 s
testTextFragmentWithoutCodes 0.001 s
testEmptyTextFragment 0.002 s
testNullCodes 0.001 s
testNestedCodes 0.001 s
testPreservesTextContent 0.004 s

TestOkapiWordBreaker

wordBreaksCorrectly(String, String, LocaleId, List)[1] 0.105 s
wordBreaksCorrectly(String, String, LocaleId, List)[2] 0.002 s
wordBreaksCorrectly(String, String, LocaleId, List)[3] 0.002 s
wordBreaksCorrectly(String, String, LocaleId, List)[4] 0.001 s
wordBreaksCorrectly(String, String, LocaleId, List)[5] 0.001 s
wordBreaksCorrectly(String, String, LocaleId, List)[6] 0.003 s
visualizeBreaks 0.004 s
emptyTextReturnsEmptyList 0.001 s

Round-trip conversion tests

testRoundTripPairedCodes 0.087 s
testRoundTripAllProperties 0.004 s
testRoundTripSimple 0.004 s

fromJson tests

testFromJson_CombinedAlignmentOutput 0.706 s
testFromJson_MalformedJson_ReturnsNull 0.525 s

toTextFragment tests

testRoundTripPairedCodesAtEndOfText 0.002 s
testNullText 0.008 s
testTextWithOpeningClosingCodes 0.005 s
testEmptyText 0.002 s
testCodesOutOfOrder 0.001 s
testSimpleTextWithoutCodes 0.007 s
testFlagConversion 0.003 s
testAdditionalProperties 0.004 s
testNullInput 0.003 s
testTextWithPlaceholderCode 0.004 s

toLayeredText tests

testTextWithOpeningClosingCodes 0.010 s
testEmptyText 0.001 s
testSimpleTextWithoutCodes 0.012 s
testFlagConversion 0.005 s
testAdditionalProperties 0.005 s
testNullInput 0.001 s
testTextWithPlaceholderCode 0.011 s
testTextWithCodes 0.006 s
testPositionCalculation 0.001 s