Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
191 0 0 0 100% 16.20 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% 11.31 s
pro.verron.officestamper.test 105 0 0 0 100% 4.891 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.061 s
Whitespaces manipulations 8 0 0 0 100% 0.024 s
Default Features 28 0 0 0 100% 0.171 s
Custom function features 20 0 0 0 100% 0.566 s
PPTX Image Stamping Test 1 0 0 0 100% 0.032 s
Basic Excel Test 1 0 0 0 100% 0.666 s
Basic Powerpoint Test 1 0 0 0 100% 0.419 s
ArchUnitTests 2 0 0 0 100% 2.491 s
Resolvers Integration Tests 8 0 0 0 100% 0.033 s
Performance Benchmark Tests 1 0 0 0 100% 6.465 s
Image-related Features 10 0 0 0 100% 0.331 s
Custom processors features 2 0 0 0 100% 0.042 s
Basic Word Test 2 0 0 0 100% 0.010 s

pro.verron.officestamper.test

- Class Tests Errors Failures Skipped Success Rate Time
SpelInjectionTest 2 0 0 0 100% 0.020 s
GoogleDocsSupportTest 1 0 0 0 100% 0.159 s
MultiSectionTest 2 0 0 0 100% 2.012 s
SpelInstantiationTest 2 0 0 0 100% 0.035 s
ProcessorRepeatParagraphTest 9 0 0 0 100% 0.093 s
ProcessorRepeatTableRowTest 9 0 0 0 100% 0.092 s
NullPointerResolutionTest 6 0 0 0 100% 0.077 s
StampTableTest 2 0 0 0 100% 0.209 s
RegressionTests 10 0 0 0 100% 0.173 s
ProcessorRepeatDocPartTest 22 0 0 0 100% 0.710 s
ImageDeduplicationTest 2 0 0 0 100% 0.445 s
ProcessorDisplayIfTest 20 0 0 0 100% 0.555 s
SpelPermissiveModeTest 2 0 0 0 100% 0.018 s
ProcessorRepeatDocPart_BadPlaceholderTest 2 0 0 0 100% 0.082 s
FailOnUnresolvedPlaceholderTest 4 0 0 0 100% 0.027 s
TextBoxesTest 4 0 0 0 100% 0.072 s
PlaceholderPreprocessorTest 1 0 0 0 100% 0.004 s
HeaderAndFooterTest 2 0 0 0 100% 0.042 s
ProcessorReplaceWithTest 1 0 0 0 100% 0.007 s
MultiStampTest 2 0 0 0 100% 0.059 s

Test Cases

[Summary] [Package List] [Test Cases]

SpelInjectionTest

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

GoogleDocsSupportTest

conditionalRepeatedParagraphs_createdByGoogleDocs 0.159 s

MultiSectionTest

expressionsInMultipleSections(ContextFactory)[1] 1.903 s
expressionsInMultipleSections(ContextFactory)[2] 0.029 s

SpelInstantiationTest

testDateInstantiationAndResolution(ContextFactory)[1] 0.022 s
testDateInstantiationAndResolution(ContextFactory)[2] 0.010 s

Date Formatting features

features(ContextFactory)[1] 0.043 s
features(ContextFactory)[2] 0.018 s

Whitespaces manipulations

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

Default Features

features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[1] 0.005 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[2] 0.008 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[3] 0.002 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[4] 0.002 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.008 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[8] 0.011 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[9] 0.006 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[10] 0.009 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[11] 0.003 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[12] 0.001 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[13] 0.008 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.011 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[17] 0.002 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[18] 0.005 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.017 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[23] 0.009 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.006 s
features(OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[28] 0.007 s

Custom function features

interfaces(ContextFactory)[1] 0.155 s
interfaces(ContextFactory)[2] 0.092 s
trifunctions(ContextFactory, String, String)[1] 0.060 s
trifunctions(ContextFactory, String, String)[2] 0.058 s
trifunctions(ContextFactory, String, String)[3] 0.017 s
trifunctions(ContextFactory, String, String)[4] 0.034 s
trifunctions(ContextFactory, String, String)[5] 0.021 s
trifunctions(ContextFactory, String, String)[6] 0.014 s
trifunctions(ContextFactory, String, String)[7] 0.010 s
trifunctions(ContextFactory, String, String)[8] 0.010 s
trifunctions(ContextFactory, String, String)[9] 0.011 s
trifunctions(ContextFactory, String, String)[10] 0.009 s
trifunctions(ContextFactory, String, String)[11] 0.009 s
trifunctions(ContextFactory, String, String)[12] 0.010 s
functions(ContextFactory)[1] 0.010 s
functions(ContextFactory)[2] 0.008 s
suppliers(ContextFactory)[1] 0.009 s
suppliers(ContextFactory)[2] 0.009 s
bifunctions(ContextFactory)[1] 0.011 s
bifunctions(ContextFactory)[2] 0.009 s

ProcessorRepeatParagraphTest

features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[1] 0.017 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[2] 0.006 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[3] 0.008 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[4] 0.016 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[5] 0.004 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[6] 0.005 s
shouldAcceptQueue 0.006 s
shouldAcceptSet 0.004 s
shouldAcceptList 0.005 s

ProcessorRepeatTableRowTest

features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[1] 0.014 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[2] 0.007 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[3] 0.008 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[4] 0.008 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[5] 0.007 s
features(String, OfficeStamperConfiguration, Object, WordprocessingMLPackage, String)[6] 0.006 s
shouldAcceptQueue 0.005 s
shouldAcceptSet 0.006 s
shouldAcceptList 0.007 s

NullPointerResolutionTest

nullPointerResolutionTest_testWithCustomSpel()[1] 0.017 s
nullPointerResolutionTest_testWithCustomSpel()[2] 0.010 s
nullPointerResolutionTest_testWithDefaultSpel(ContextFactory)[1] 0.013 s
nullPointerResolutionTest_testWithDefaultSpel(ContextFactory)[2] 0.012 s
nullPointerResolutionTest_testThrowingCase(ContextFactory)[1] 0.009 s
nullPointerResolutionTest_testThrowingCase(ContextFactory)[2] 0.007 s

StampTableTest

stampTableTest(ContextFactory)[1] 0.163 s
stampTableTest(ContextFactory)[2] 0.039 s

RegressionTests

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

ProcessorRepeatDocPartTest

shouldKeepPageBreakOrientationWithSectionBreaksInsideComment(ContextFactory)[1] 0.029 s
shouldKeepPageBreakOrientationWithSectionBreaksInsideComment(ContextFactory)[2] 0.024 s
shouldResolveListOfLists 0.046 s
repeatDocPartNestingTest(ContextFactory)[1] 0.143 s
repeatDocPartNestingTest(ContextFactory)[2] 0.132 s
repeatDocPartShouldNotUseSameCommentProcessorInstancesForSubtemplate(ContextFactory)[1] 0.032 s
repeatDocPartShouldNotUseSameCommentProcessorInstancesForSubtemplate(ContextFactory)[2] 0.013 s
shouldKeepPageBreakOrientationWithoutSectionBreaksInsideComment(ContextFactory)[1] 0.019 s
shouldKeepPageBreakOrientationWithoutSectionBreaksInsideComment(ContextFactory)[2] 0.018 s
shouldImportImageDataWithThisInTheMainDocument()[1] 0.023 s
shouldImportImageDataWithThisInTheMainDocument()[2] 0.015 s
shouldReplicateImageFromTheMainDocumentInTheSubTemplate(ContextFactory)[1] 0.026 s
shouldReplicateImageFromTheMainDocumentInTheSubTemplate(ContextFactory)[2] 0.018 s
shouldAcceptQueue 0.007 s
shouldKeepPageBreakOrientationWithSectionBreaksInsideCommentAndTableLastElement(ContextFactory)[1] 0.018 s
shouldKeepPageBreakOrientationWithSectionBreaksInsideCommentAndTableLastElement(ContextFactory)[2] 0.021 s
shouldAcceptSet 0.009 s
repeatDocPartTest(ContextFactory)[1] 0.021 s
repeatDocPartTest(ContextFactory)[2] 0.019 s
shouldImportImageDataInTheMainDocument(ContextFactory)[1] 0.021 s
shouldImportImageDataInTheMainDocument(ContextFactory)[2] 0.019 s
shouldAcceptList 0.008 s

ImageDeduplicationTest

testImageDeduplicationEnabledByDefault 0.410 s
testImageDeduplicationDisabled 0.032 s

ProcessorDisplayIfTest

conditionalDisplayOfParagraphsTest_inlineProcessorExpressionsAreResolved(ContextFactory)[1] 0.017 s
conditionalDisplayOfParagraphsTest_inlineProcessorExpressionsAreResolved(ContextFactory)[2] 0.012 s
conditionalDisplayOfFootnotes(ContextFactory)[1] 0.025 s
conditionalDisplayOfFootnotes(ContextFactory)[2] 0.022 s
conditionalDisplayOfParagraphsTest_unresolvedInlineProcessorExpressionsAreRemoved(ContextFactory)[1] 0.011 s
conditionalDisplayOfParagraphsTest_unresolvedInlineProcessorExpressionsAreRemoved(ContextFactory)[2] 0.011 s
conditionalDisplayOfAbsentValue(ContextFactory)[1] 0.053 s
conditionalDisplayOfAbsentValue(ContextFactory)[2] 0.053 s
conditionalDisplayOfBart(ContextFactory)[1] 0.052 s
conditionalDisplayOfBart(ContextFactory)[2] 0.050 s
conditionalDisplayOfTableBug32Test(ContextFactory)[1] 0.015 s
conditionalDisplayOfTableBug32Test(ContextFactory)[2] 0.012 s
conditionalDisplayOfEndnotes(ContextFactory)[1] 0.023 s
conditionalDisplayOfEndnotes(ContextFactory)[2] 0.021 s
conditionalDisplayOfHomer(ContextFactory)[1] 0.055 s
conditionalDisplayOfHomer(ContextFactory)[2] 0.047 s
conditionalDisplayOfTableTest(ContextFactory)[1] 0.015 s
conditionalDisplayOfTableTest(ContextFactory)[2] 0.011 s
conditionalDisplayOfTableRowsTest(ContextFactory)[1] 0.013 s
conditionalDisplayOfTableRowsTest(ContextFactory)[2] 0.011 s

PPTX Image Stamping Test

testImageStamping 0.032 s

Basic Excel Test

testStamper 0.666 s

Basic Powerpoint Test

testStamper 0.419 s

ArchUnitTests

preset_depend_on_utils_and_api 2.463 s
core_depend_on_utils_and_api 0.028 s

SpelPermissiveModeTest

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

Resolvers Integration Tests

isoTimeWithFormatter(ContextFactory)[1] 0.005 s
isoTimeWithFormatter(ContextFactory)[2] 0.004 s
isoDateTimeWithFormatter(ContextFactory)[1] 0.004 s
isoDateTimeWithFormatter(ContextFactory)[2] 0.004 s
isoDateWithFormatter(ContextFactory)[1] 0.004 s
isoDateWithFormatter(ContextFactory)[2] 0.004 s
legacyDateWithFormatter(ContextFactory)[1] 0.004 s
legacyDateWithFormatter(ContextFactory)[2] 0.004 s

Performance Benchmark Tests

testLargeDocumentPerformance 6.465 s

ProcessorRepeatDocPart_BadPlaceholderTest

testBadExpressionShouldNotBlockCallerThread(ContextFactory)[1] 0.045 s
testBadExpressionShouldNotBlockCallerThread(ContextFactory)[2] 0.032 s

FailOnUnresolvedPlaceholderTest

fails(ContextFactory)[1] 0.008 s
fails(ContextFactory)[2] 0.004 s
doesNotFail(ContextFactory)[1] 0.005 s
doesNotFail(ContextFactory)[2] 0.004 s

Image-related Features

jpgImageReplacementInGlobalParagraphsTestWithMaxWidth(ContextFactory)[1] 0.038 s
jpgImageReplacementInGlobalParagraphsTestWithMaxWidth(ContextFactory)[2] 0.029 s
tiffImageReplacementInGlobalParagraphsTest(ContextFactory)[1] 0.061 s
tiffImageReplacementInGlobalParagraphsTest(ContextFactory)[2] 0.027 s
bmpReplacementInGlobalParagraphsTestWithMaxWidth(ContextFactory)[1] 0.050 s
bmpReplacementInGlobalParagraphsTestWithMaxWidth(ContextFactory)[2] 0.033 s
gifReplacementInGlobalParagraphsTestWithMaxWidth(ContextFactory)[1] 0.032 s
gifReplacementInGlobalParagraphsTestWithMaxWidth(ContextFactory)[2] 0.021 s
jpgImageReplacementInGlobalParagraphsTest(ContextFactory)[1] 0.020 s
jpgImageReplacementInGlobalParagraphsTest(ContextFactory)[2] 0.020 s

Custom processors features

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

TextBoxesTest

placeholders_in_modern_textboxes(ContextFactory)[1] 0.025 s
placeholders_in_modern_textboxes(ContextFactory)[2] 0.019 s
placeholders(ContextFactory)[1] 0.011 s
placeholders(ContextFactory)[2] 0.014 s

PlaceholderPreprocessorTest

process 0.004 s

HeaderAndFooterTest

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

ProcessorReplaceWithTest

notWorking1 0.006 s

MultiStampTest

repeatDocPart(ContextFactory)[1] 0.029 s
repeatDocPart(ContextFactory)[2] 0.026 s

Basic Word Test

testMalformedStamper 0.005 s
testStamper 0.005 s