Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
177 0 0 0 100% 10.59 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) 76 0 0 0 100% 5.101 s
pro.verron.officestamper.test 101 0 0 0 100% 5.489 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
Date Formatting features 2 0 0 0 100% 0.018 s
Image-related Features 10 0 0 0 100% 0.811 s
Default Features 28 0 0 0 100% 0.248 s
Basic Powerpoint Test 1 0 0 0 100% 0.376 s
Custom function features 20 0 0 0 100% 0.162 s
Basic Word Test 2 0 0 0 100% 0.017 s
Custom processors features 2 0 0 0 100% 0.030 s
Basic Excel Test 1 0 0 0 100% 0.594 s
Whitespaces manipulations 8 0 0 0 100% 0.052 s
ArchUnitTests 2 0 0 0 100% 2.793 s

pro.verron.officestamper.test

- Class Tests Errors Failures Skipped Success Rate Time
ProcessorRepeatTableRowTest 9 0 0 0 100% 0.258 s
MultiStampTest 2 0 0 0 100% 0.080 s
PlaceholderPreprocessorTest 1 0 0 0 100% 0.006 s
FailOnUnresolvedPlaceholderTest 4 0 0 0 100% 0.033 s
TextBoxesTest 2 0 0 0 100% 0.046 s
ProcessorRepeatParagraphTest 9 0 0 0 100% 0.191 s
SpelInjectionTest 2 0 0 0 100% 0.017 s
ProcessorReplaceWithTest 1 0 0 0 100% 0.009 s
RegressionTests 10 0 0 0 100% 0.195 s
ProcessorRepeatDocPartTest 22 0 0 0 100% 0.780 s
GoogleDocsSupportTest 1 0 0 0 100% 0.192 s
SpelPermissiveModeTest 2 0 0 0 100% 0.038 s
ProcessorRepeatDocPart_BadPlaceholderTest 2 0 0 0 100% 0.038 s
HeaderAndFooterTest 2 0 0 0 100% 0.048 s
StampTableTest 2 0 0 0 100% 0.038 s
NullPointerResolutionTest 6 0 0 0 100% 0.096 s
SpelInstantiationTest 2 0 0 0 100% 0.018 s
ProcessorDisplayIfTest 20 0 0 0 100% 3.396 s
MultiSectionTest 2 0 0 0 100% 0.010 s

Test Cases

[Summary] [Package List] [Test Cases]

ProcessorRepeatTableRowTest

features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[1] 0.023 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[2] 0.020 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[3] 0.025 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[4] 0.026 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[5] 0.017 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[6] 0.023 s
shouldAcceptQueue 0.018 s
shouldAcceptSet 0.013 s
shouldAcceptList 0.029 s

MultiStampTest

repeatDocPart(ContextFactory)[1] 0.036 s
repeatDocPart(ContextFactory)[2] 0.040 s

Date Formatting features

features(ContextFactory)[1] 0.011 s
features(ContextFactory)[2] 0.007 s

Image-related Features

jpgImageReplacementInGlobalParagraphsTestWithMaxWidth(ContextFactory)[1] 0.656 s
jpgImageReplacementInGlobalParagraphsTestWithMaxWidth(ContextFactory)[2] 0.015 s
tiffImageReplacementInGlobalParagraphsTest(ContextFactory)[1] 0.027 s
tiffImageReplacementInGlobalParagraphsTest(ContextFactory)[2] 0.016 s
bmpReplacementInGlobalParagraphsTestWithMaxWidth(ContextFactory)[1] 0.027 s
bmpReplacementInGlobalParagraphsTestWithMaxWidth(ContextFactory)[2] 0.017 s
gifReplacementInGlobalParagraphsTestWithMaxWidth(ContextFactory)[1] 0.015 s
gifReplacementInGlobalParagraphsTestWithMaxWidth(ContextFactory)[2] 0.013 s
jpgImageReplacementInGlobalParagraphsTest(ContextFactory)[1] 0.013 s
jpgImageReplacementInGlobalParagraphsTest(ContextFactory)[2] 0.012 s

PlaceholderPreprocessorTest

process 0.005 s

FailOnUnresolvedPlaceholderTest

fails(ContextFactory)[1] 0.010 s
fails(ContextFactory)[2] 0.005 s
doesNotFail(ContextFactory)[1] 0.006 s
doesNotFail(ContextFactory)[2] 0.005 s

TextBoxesTest

placeholders(ContextFactory)[1] 0.024 s
placeholders(ContextFactory)[2] 0.018 s

Default Features

features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[1] 0.009 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[2] 0.014 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[3] 0.003 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[4] 0.003 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[5] 0.002 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[6] 0.003 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[7] 0.012 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[8] 0.026 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[9] 0.014 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[10] 0.012 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[11] 0.004 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[12] 0.002 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[13] 0.010 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[14] 0.014 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[15] 0.005 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[16] 0.012 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[17] 0.003 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[18] 0.002 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[19] 0.001 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[20] 0.002 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[21] 0.010 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[22] 0.019 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[23] 0.034 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[24] 0.010 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[25] 0.003 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[26] 0.001 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[27] 0.009 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[28] 0.009 s

ProcessorRepeatParagraphTest

features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[1] 0.041 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[2] 0.013 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[3] 0.012 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[4] 0.029 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[5] 0.011 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[6] 0.011 s
shouldAcceptQueue 0.011 s
shouldAcceptSet 0.010 s
shouldAcceptList 0.012 s

SpelInjectionTest

spelInjectionTest(ContextFactory)[1] 0.009 s
spelInjectionTest(ContextFactory)[2] 0.005 s

ProcessorReplaceWithTest

notWorking1 0.008 s

RegressionTests

test114 0.051 s
test52(Conditions, String)[1] 0.011 s
test52(Conditions, String)[2] 0.016 s
test52(Conditions, String)[3] 0.014 s
test52(Conditions, String)[4] 0.018 s
test52(Conditions, String)[5] 0.016 s
test52(Conditions, String)[6] 0.015 s
test52(Conditions, String)[7] 0.013 s
test64 0.005 s
testTableOfContent 0.024 s

ProcessorRepeatDocPartTest

shouldKeepPageBreakOrientationWithSectionBreaksInsideComment(ContextFactory)[1] 0.053 s
shouldKeepPageBreakOrientationWithSectionBreaksInsideComment(ContextFactory)[2] 0.029 s
shouldResolveListOfLists 0.037 s
repeatDocPartNestingTest(ContextFactory)[1] 0.191 s
repeatDocPartNestingTest(ContextFactory)[2] 0.163 s
repeatDocPartShouldNotUseSameCommentProcessorInstancesForSubtemplate(ContextFactory)[1] 0.016 s
repeatDocPartShouldNotUseSameCommentProcessorInstancesForSubtemplate(ContextFactory)[2] 0.013 s
shouldKeepPageBreakOrientationWithoutSectionBreaksInsideComment(ContextFactory)[1] 0.018 s
shouldKeepPageBreakOrientationWithoutSectionBreaksInsideComment(ContextFactory)[2] 0.016 s
shouldImportImageDataWithThisInTheMainDocument()[1] 0.015 s
shouldImportImageDataWithThisInTheMainDocument()[2] 0.014 s
shouldReplicateImageFromTheMainDocumentInTheSubTemplate(ContextFactory)[1] 0.030 s
shouldReplicateImageFromTheMainDocumentInTheSubTemplate(ContextFactory)[2] 0.019 s
shouldAcceptQueue 0.009 s
shouldKeepPageBreakOrientationWithSectionBreaksInsideCommentAndTableLastElement(ContextFactory)[1] 0.021 s
shouldKeepPageBreakOrientationWithSectionBreaksInsideCommentAndTableLastElement(ContextFactory)[2] 0.018 s
shouldAcceptSet 0.008 s
repeatDocPartTest(ContextFactory)[1] 0.028 s
repeatDocPartTest(ContextFactory)[2] 0.024 s
shouldImportImageDataInTheMainDocument(ContextFactory)[1] 0.016 s
shouldImportImageDataInTheMainDocument(ContextFactory)[2] 0.013 s
shouldAcceptList 0.009 s

GoogleDocsSupportTest

conditionalRepeatedParagraphs_createdByGoogleDocs 0.192 s

Basic Powerpoint Test

testStamper 0.376 s

SpelPermissiveModeTest

permissiveMode_allowsTypeAndConstructorFeatures(ContextFactory)[1] 0.026 s
permissiveMode_allowsTypeAndConstructorFeatures(ContextFactory)[2] 0.009 s

ProcessorRepeatDocPart_BadPlaceholderTest

testBadExpressionShouldNotBlockCallerThread(ContextFactory)[1] 0.021 s
testBadExpressionShouldNotBlockCallerThread(ContextFactory)[2] 0.013 s

HeaderAndFooterTest

placeholders(ContextFactory)[1] 0.027 s
placeholders(ContextFactory)[2] 0.019 s

StampTableTest

stampTableTest(ContextFactory)[1] 0.019 s
stampTableTest(ContextFactory)[2] 0.016 s

Custom function features

interfaces(ContextFactory)[1] 0.033 s
interfaces(ContextFactory)[2] 0.026 s
trifunctions(ContextFactory, String, String)[1] 0.016 s
trifunctions(ContextFactory, String, String)[2] 0.009 s
trifunctions(ContextFactory, String, String)[3] 0.006 s
trifunctions(ContextFactory, String, String)[4] 0.010 s
trifunctions(ContextFactory, String, String)[5] 0.008 s
trifunctions(ContextFactory, String, String)[6] 0.008 s
trifunctions(ContextFactory, String, String)[7] 0.004 s
trifunctions(ContextFactory, String, String)[8] 0.004 s
trifunctions(ContextFactory, String, String)[9] 0.004 s
trifunctions(ContextFactory, String, String)[10] 0.004 s
trifunctions(ContextFactory, String, String)[11] 0.003 s
trifunctions(ContextFactory, String, String)[12] 0.004 s
functions(ContextFactory)[1] 0.004 s
functions(ContextFactory)[2] 0.004 s
suppliers(ContextFactory)[1] 0.004 s
suppliers(ContextFactory)[2] 0.004 s
bifunctions(ContextFactory)[1] 0.004 s
bifunctions(ContextFactory)[2] 0.003 s

NullPointerResolutionTest

nullPointerResolutionTest_testWithCustomSpel()[1] 0.027 s
nullPointerResolutionTest_testWithCustomSpel()[2] 0.015 s
nullPointerResolutionTest_testWithDefaultSpel(ContextFactory)[1] 0.017 s
nullPointerResolutionTest_testWithDefaultSpel(ContextFactory)[2] 0.012 s
nullPointerResolutionTest_testThrowingCase(ContextFactory)[1] 0.009 s
nullPointerResolutionTest_testThrowingCase(ContextFactory)[2] 0.007 s

SpelInstantiationTest

testDateInstantiationAndResolution(ContextFactory)[1] 0.008 s
testDateInstantiationAndResolution(ContextFactory)[2] 0.006 s

Basic Word Test

testMalformedStamper 0.009 s
testStamper 0.008 s

Custom processors features

should_allow_custom_processors_injection(ContextFactory)[1] 0.017 s
should_allow_custom_processors_injection(ContextFactory)[2] 0.013 s

Basic Excel Test

testStamper 0.594 s

ProcessorDisplayIfTest

conditionalDisplayOfParagraphsTest_inlineProcessorExpressionsAreResolved(ContextFactory)[1] 2.173 s
conditionalDisplayOfParagraphsTest_inlineProcessorExpressionsAreResolved(ContextFactory)[2] 0.046 s
conditionalDisplayOfFootnotes(ContextFactory)[1] 0.212 s
conditionalDisplayOfFootnotes(ContextFactory)[2] 0.093 s
conditionalDisplayOfParagraphsTest_unresolvedInlineProcessorExpressionsAreRemoved(ContextFactory)[1] 0.035 s
conditionalDisplayOfParagraphsTest_unresolvedInlineProcessorExpressionsAreRemoved(ContextFactory)[2] 0.028 s
conditionalDisplayOfAbsentValue(ContextFactory)[1] 0.127 s
conditionalDisplayOfAbsentValue(ContextFactory)[2] 0.087 s
conditionalDisplayOfBart(ContextFactory)[1] 0.095 s
conditionalDisplayOfBart(ContextFactory)[2] 0.081 s
conditionalDisplayOfTableBug32Test(ContextFactory)[1] 0.024 s
conditionalDisplayOfTableBug32Test(ContextFactory)[2] 0.020 s
conditionalDisplayOfEndnotes(ContextFactory)[1] 0.028 s
conditionalDisplayOfEndnotes(ContextFactory)[2] 0.035 s
conditionalDisplayOfHomer(ContextFactory)[1] 0.065 s
conditionalDisplayOfHomer(ContextFactory)[2] 0.051 s
conditionalDisplayOfTableTest(ContextFactory)[1] 0.020 s
conditionalDisplayOfTableTest(ContextFactory)[2] 0.019 s
conditionalDisplayOfTableRowsTest(ContextFactory)[1] 0.016 s
conditionalDisplayOfTableRowsTest(ContextFactory)[2] 0.015 s

MultiSectionTest

expressionsInMultipleSections(ContextFactory)[1] 0.005 s
expressionsInMultipleSections(ContextFactory)[2] 0.003 s

Whitespaces manipulations

should_preserve_tabulations(ContextFactory)[1] 0.017 s
should_preserve_tabulations(ContextFactory)[2] 0.006 s
should_preserve_spaces(ContextFactory, String, String)[1] 0.005 s
should_preserve_spaces(ContextFactory, String, String)[2] 0.005 s
should_preserve_spaces(ContextFactory, String, String)[3] 0.005 s
should_preserve_spaces(ContextFactory, String, String)[4] 0.004 s
should_preserve_spaces(ContextFactory, String, String)[5] 0.006 s
should_preserve_spaces(ContextFactory, String, String)[6] 0.004 s

ArchUnitTests

preset_depend_on_utils_and_api 2.768 s
core_depend_on_utils_and_api 0.025 s