Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
195 0 0 0 100% 16.62 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) 86 0 0 0 100% 13.72 s
pro.verron.officestamper.test 109 0 0 0 100% 2.899 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
Image-related Features 10 0 0 0 100% 0.633 s
Basic Powerpoint Test 1 0 0 0 100% 0.251 s
Basic Excel Test 1 0 0 0 100% 2.754 s
Basic Word Test 2 0 0 0 100% 0.026 s
ArchUnitTests 2 0 0 0 100% 2.587 s
Date Formatting features 2 0 0 0 100% 0.066 s
PPTX Image Stamping Test 1 0 0 0 100% 0.028 s
Custom function features 20 0 0 0 100% 0.641 s
Resolvers Integration Tests 8 0 0 0 100% 0.052 s
Performance Benchmark Tests 1 0 0 0 100% 6.347 s
Default Features 28 0 0 0 100% 0.260 s
Whitespaces manipulations 8 0 0 0 100% 0.036 s
Custom processors features 2 0 0 0 100% 0.038 s

pro.verron.officestamper.test

- Class Tests Errors Failures Skipped Success Rate Time
PlaceholderPreprocessorTest 1 0 0 0 100% 0.008 s
ProcessorRepeatDocPart_BadPlaceholderTest 2 0 0 0 100% 0.045 s
MultiSectionTest 2 0 0 0 100% 0.011 s
ProcessorRepeatTableRowTest 9 0 0 0 100% 0.293 s
RegressionTests 10 0 0 0 100% 0.182 s
ProcessorDisplayIfTest 20 0 0 0 100% 0.604 s
TextBoxesTest 4 0 0 0 100% 0.132 s
HeaderAndFooterTest 2 0 0 0 100% 0.040 s
FailOnUnresolvedPlaceholderTest 4 0 0 0 100% 0.054 s
ProcessorRepeatDocPartTest 22 0 0 0 100% 0.558 s
SpelPermissiveModeTest 2 0 0 0 100% 0.015 s
MultiStampTest 2 0 0 0 100% 0.075 s
NullPointerResolutionTest 6 0 0 0 100% 0.065 s
StampTableTest 2 0 0 0 100% 0.024 s
GoogleDocsSupportTest 1 0 0 0 100% 0.150 s
ProcessorReplaceWithTest 1 0 0 0 100% 0.013 s
ProcessorRepeatParagraphTest 9 0 0 0 100% 0.188 s
ImageDeduplicationTest 2 0 0 0 100% 0.068 s
SpelInjectionTest 6 0 0 0 100% 0.058 s
SpelInstantiationTest 2 0 0 0 100% 0.316 s

Test Cases

[Summary] [Package List] [Test Cases]

Image-related Features

jpgImageReplacementInGlobalParagraphsTestWithMaxWidth(ContextFactory)[1] 0.325 s
jpgImageReplacementInGlobalParagraphsTestWithMaxWidth(ContextFactory)[2] 0.022 s
tiffImageReplacementInGlobalParagraphsTest(ContextFactory)[1] 0.111 s
tiffImageReplacementInGlobalParagraphsTest(ContextFactory)[2] 0.020 s
bmpReplacementInGlobalParagraphsTestWithMaxWidth(ContextFactory)[1] 0.044 s
bmpReplacementInGlobalParagraphsTestWithMaxWidth(ContextFactory)[2] 0.028 s
gifReplacementInGlobalParagraphsTestWithMaxWidth(ContextFactory)[1] 0.031 s
gifReplacementInGlobalParagraphsTestWithMaxWidth(ContextFactory)[2] 0.016 s
jpgImageReplacementInGlobalParagraphsTest(ContextFactory)[1] 0.017 s
jpgImageReplacementInGlobalParagraphsTest(ContextFactory)[2] 0.019 s

PlaceholderPreprocessorTest

process 0.007 s

ProcessorRepeatDocPart_BadPlaceholderTest

testBadExpressionShouldNotBlockCallerThread(ContextFactory)[1] 0.025 s
testBadExpressionShouldNotBlockCallerThread(ContextFactory)[2] 0.017 s

MultiSectionTest

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

ProcessorRepeatTableRowTest

features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[1] 0.029 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[2] 0.030 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[3] 0.024 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[4] 0.023 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[5] 0.023 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[6] 0.037 s
shouldAcceptQueue 0.026 s
shouldAcceptSet 0.016 s
shouldAcceptList 0.013 s

RegressionTests

test114 0.033 s
test52(Conditions, String)[1] 0.014 s
test52(Conditions, String)[2] 0.015 s
test52(Conditions, String)[3] 0.021 s
test52(Conditions, String)[4] 0.014 s
test52(Conditions, String)[5] 0.016 s
test52(Conditions, String)[6] 0.016 s
test52(Conditions, String)[7] 0.013 s
test64 0.005 s
testTableOfContent 0.023 s

Basic Powerpoint Test

testStamper 0.251 s

ProcessorDisplayIfTest

conditionalDisplayOfParagraphsTest_inlineProcessorExpressionsAreResolved(ContextFactory)[1] 0.018 s
conditionalDisplayOfParagraphsTest_inlineProcessorExpressionsAreResolved(ContextFactory)[2] 0.015 s
conditionalDisplayOfFootnotes(ContextFactory)[1] 0.024 s
conditionalDisplayOfFootnotes(ContextFactory)[2] 0.021 s
conditionalDisplayOfParagraphsTest_unresolvedInlineProcessorExpressionsAreRemoved(ContextFactory)[1] 0.013 s
conditionalDisplayOfParagraphsTest_unresolvedInlineProcessorExpressionsAreRemoved(ContextFactory)[2] 0.015 s
conditionalDisplayOfAbsentValue(ContextFactory)[1] 0.060 s
conditionalDisplayOfAbsentValue(ContextFactory)[2] 0.054 s
conditionalDisplayOfBart(ContextFactory)[1] 0.066 s
conditionalDisplayOfBart(ContextFactory)[2] 0.059 s
conditionalDisplayOfTableBug32Test(ContextFactory)[1] 0.023 s
conditionalDisplayOfTableBug32Test(ContextFactory)[2] 0.023 s
conditionalDisplayOfEndnotes(ContextFactory)[1] 0.019 s
conditionalDisplayOfEndnotes(ContextFactory)[2] 0.016 s
conditionalDisplayOfHomer(ContextFactory)[1] 0.041 s
conditionalDisplayOfHomer(ContextFactory)[2] 0.050 s
conditionalDisplayOfTableTest(ContextFactory)[1] 0.015 s
conditionalDisplayOfTableTest(ContextFactory)[2] 0.016 s
conditionalDisplayOfTableRowsTest(ContextFactory)[1] 0.013 s
conditionalDisplayOfTableRowsTest(ContextFactory)[2] 0.014 s

TextBoxesTest

placeholders_in_modern_textboxes(ContextFactory)[1] 0.059 s
placeholders_in_modern_textboxes(ContextFactory)[2] 0.028 s
placeholders(ContextFactory)[1] 0.018 s
placeholders(ContextFactory)[2] 0.014 s

Basic Excel Test

testStamper 2.754 s

Basic Word Test

testMalformedStamper 0.016 s
testStamper 0.010 s

HeaderAndFooterTest

placeholders(ContextFactory)[1] 0.021 s
placeholders(ContextFactory)[2] 0.017 s

FailOnUnresolvedPlaceholderTest

fails(ContextFactory)[1] 0.008 s
fails(ContextFactory)[2] 0.008 s
doesNotFail(ContextFactory)[1] 0.015 s
doesNotFail(ContextFactory)[2] 0.015 s

ArchUnitTests

preset_depend_on_utils_and_api 2.561 s
core_depend_on_utils_and_api 0.026 s

Date Formatting features

features(ContextFactory)[1] 0.047 s
features(ContextFactory)[2] 0.019 s

ProcessorRepeatDocPartTest

shouldKeepPageBreakOrientationWithSectionBreaksInsideComment(ContextFactory)[1] 0.029 s
shouldKeepPageBreakOrientationWithSectionBreaksInsideComment(ContextFactory)[2] 0.027 s
shouldResolveListOfLists 0.029 s
repeatDocPartNestingTest(ContextFactory)[1] 0.123 s
repeatDocPartNestingTest(ContextFactory)[2] 0.094 s
repeatDocPartShouldNotUseSameCommentProcessorInstancesForSubtemplate(ContextFactory)[1] 0.019 s
repeatDocPartShouldNotUseSameCommentProcessorInstancesForSubtemplate(ContextFactory)[2] 0.012 s
shouldKeepPageBreakOrientationWithoutSectionBreaksInsideComment(ContextFactory)[1] 0.014 s
shouldKeepPageBreakOrientationWithoutSectionBreaksInsideComment(ContextFactory)[2] 0.012 s
shouldImportImageDataWithThisInTheMainDocument()[1] 0.014 s
shouldImportImageDataWithThisInTheMainDocument()[2] 0.012 s
shouldReplicateImageFromTheMainDocumentInTheSubTemplate(ContextFactory)[1] 0.017 s
shouldReplicateImageFromTheMainDocumentInTheSubTemplate(ContextFactory)[2] 0.013 s
shouldAcceptQueue 0.009 s
shouldKeepPageBreakOrientationWithSectionBreaksInsideCommentAndTableLastElement(ContextFactory)[1] 0.014 s
shouldKeepPageBreakOrientationWithSectionBreaksInsideCommentAndTableLastElement(ContextFactory)[2] 0.018 s
shouldAcceptSet 0.005 s
repeatDocPartTest(ContextFactory)[1] 0.020 s
repeatDocPartTest(ContextFactory)[2] 0.017 s
shouldImportImageDataInTheMainDocument(ContextFactory)[1] 0.018 s
shouldImportImageDataInTheMainDocument(ContextFactory)[2] 0.012 s
shouldAcceptList 0.007 s

PPTX Image Stamping Test

testImageStamping 0.028 s

SpelPermissiveModeTest

permissiveMode_allowsTypeAndConstructorFeatures(ContextFactory)[1] 0.006 s
permissiveMode_allowsTypeAndConstructorFeatures(ContextFactory)[2] 0.005 s

MultiStampTest

repeatDocPart(ContextFactory)[1] 0.037 s
repeatDocPart(ContextFactory)[2] 0.034 s

NullPointerResolutionTest

nullPointerResolutionTest_testWithCustomSpel()[1] 0.014 s
nullPointerResolutionTest_testWithCustomSpel()[2] 0.008 s
nullPointerResolutionTest_testWithDefaultSpel(ContextFactory)[1] 0.009 s
nullPointerResolutionTest_testWithDefaultSpel(ContextFactory)[2] 0.013 s
nullPointerResolutionTest_testThrowingCase(ContextFactory)[1] 0.008 s
nullPointerResolutionTest_testThrowingCase(ContextFactory)[2] 0.006 s

StampTableTest

stampTableTest(ContextFactory)[1] 0.012 s
stampTableTest(ContextFactory)[2] 0.010 s

GoogleDocsSupportTest

conditionalRepeatedParagraphs_createdByGoogleDocs 0.149 s

ProcessorReplaceWithTest

notWorking1 0.013 s

Custom function features

interfaces(ContextFactory)[1] 0.208 s
interfaces(ContextFactory)[2] 0.093 s
trifunctions(ContextFactory, String, String)[1] 0.047 s
trifunctions(ContextFactory, String, String)[2] 0.027 s
trifunctions(ContextFactory, String, String)[3] 0.015 s
trifunctions(ContextFactory, String, String)[4] 0.084 s
trifunctions(ContextFactory, String, String)[5] 0.053 s
trifunctions(ContextFactory, String, String)[6] 0.013 s
trifunctions(ContextFactory, String, String)[7] 0.009 s
trifunctions(ContextFactory, String, String)[8] 0.009 s
trifunctions(ContextFactory, String, String)[9] 0.008 s
trifunctions(ContextFactory, String, String)[10] 0.009 s
trifunctions(ContextFactory, String, String)[11] 0.008 s
trifunctions(ContextFactory, String, String)[12] 0.009 s
functions(ContextFactory)[1] 0.008 s
functions(ContextFactory)[2] 0.009 s
suppliers(ContextFactory)[1] 0.009 s
suppliers(ContextFactory)[2] 0.007 s
bifunctions(ContextFactory)[1] 0.008 s
bifunctions(ContextFactory)[2] 0.008 s

Resolvers Integration Tests

isoTimeWithFormatter(ContextFactory)[1] 0.006 s
isoTimeWithFormatter(ContextFactory)[2] 0.009 s
isoDateTimeWithFormatter(ContextFactory)[1] 0.007 s
isoDateTimeWithFormatter(ContextFactory)[2] 0.007 s
isoDateWithFormatter(ContextFactory)[1] 0.008 s
isoDateWithFormatter(ContextFactory)[2] 0.005 s
legacyDateWithFormatter(ContextFactory)[1] 0.006 s
legacyDateWithFormatter(ContextFactory)[2] 0.004 s

Performance Benchmark Tests

testLargeDocumentPerformance 6.347 s

ProcessorRepeatParagraphTest

features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[1] 0.032 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[2] 0.017 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[3] 0.014 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[4] 0.043 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[5] 0.010 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[6] 0.009 s
shouldAcceptQueue 0.008 s
shouldAcceptSet 0.009 s
shouldAcceptList 0.008 s

Default Features

features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[1] 0.015 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[2] 0.017 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[3] 0.007 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[4] 0.007 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[5] 0.005 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.022 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[9] 0.010 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[10] 0.010 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.025 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[15] 0.006 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[16] 0.010 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[17] 0.002 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[18] 0.003 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[19] 0.001 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[20] 0.003 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[21] 0.011 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[22] 0.023 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[23] 0.011 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[24] 0.010 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[25] 0.007 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[26] 0.002 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[27] 0.009 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[28] 0.013 s

ImageDeduplicationTest

testImageDeduplicationEnabledByDefault 0.047 s
testImageDeduplicationDisabled 0.021 s

Whitespaces manipulations

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

SpelInjectionTest

wellFormedDangerousPlaceholderStillThrows 0.010 s
inlineListPlaceholderResolves 0.007 s
inlineMapPlaceholderResolves 0.007 s
spelInjectionFromBinaryResourceThrows(ContextFactory)[1] 0.009 s
spelInjectionFromBinaryResourceThrows(ContextFactory)[2] 0.009 s
malformedPlaceholderIsResolvedByResolver 0.009 s

SpelInstantiationTest

testDateInstantiationAndResolution(ContextFactory)[1] 0.235 s
testDateInstantiationAndResolution(ContextFactory)[2] 0.029 s

Custom processors features

should_allow_custom_processors_injection(ContextFactory)[1] 0.020 s
should_allow_custom_processors_injection(ContextFactory)[2] 0.018 s