Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
77 0 0 0 100% 11.017

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List


Package Tests Errors Failures Skipped Success Rate Time
org.apache.maven.plugin.war 58 0 0 0 100% 10.438
org.apache.maven.plugin.war.overlay 6 0 0 0 100% 0.454
org.apache.maven.plugin.war.util 13 0 0 0 100% 0.125

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

org.apache.maven.plugin.war

Class Tests Errors Failures Skipped Success Rate Time
WarDependenciesAnalysisTest 4 0 0 0 100% 1.171
WarExplodedMojoFilteringTest 1 0 0 0 100% 0.141
WarExplodedMojoTest 20 0 0 0 100% 2.266
WarInPlaceMojoTest 2 0 0 0 100% 0.156
WarManifestMojoTest 5 0 0 0 100% 0.344
WarMojoTest 11 0 0 0 100% 1.938
WarOverlaysTest 11 0 0 0 100% 3.875
WarZipTest 4 0 0 0 100% 0.547

org.apache.maven.plugin.war.overlay

Class Tests Errors Failures Skipped Success Rate Time
OverlayManagerTest 6 0 0 0 100% 0.454

org.apache.maven.plugin.war.util

Class Tests Errors Failures Skipped Success Rate Time
MappingUtilsTest 4 0 0 0 100% 0.063
PathSetTest 5 0 0 0 100% 0.062
WarUtilsTest 1 0 0 0 100% 0
WebappStructureTest 3 0 0 0 100% 0

Test Cases

OverlayManagerTest

testEmptyProject 0.063
testAutodetectSimpleOverlay 0.078
testSimpleOverlay 0.125
testUnknonwnOverlay 0.063
testCustomCurrentProject 0.062
testOverlaysWithSameArtifactAndGroupId 0.063

MappingUtilsTest

testCompleteMapping 0.047
testNoVersionMapping 0
testMappingWithGroupId 0
testMappingWithClassifier 0

PathSetTest

testNormalizeFilePathStatic 0
testTrimTrailingSlashes 0
testPathsSetBasic 0.016
testPathsSetAddAlls 0
testAddAllFilesInDirectory 0.046

WarUtilsTest

testDependencyEquals 0

WebappStructureTest

testDependencyAnalysisNoChange 0
testDependencyAnalysisWithNewDependency 0
testDependencyAnalysisWithRemovedDependency 0

WarDependenciesAnalysisTest

testNoChange 0.265
testRemovedDependency 0.266
testDependencyWithUpdatedVersion 0.344
testDependencyNowProvided 0.296

WarExplodedMojoFilteringTest

testExplodedWar_WithResourceFiltering 0.141

WarExplodedMojoTest

testSimpleExplodedWar 0.094
testSimpleExplodedWarWTargetPath 0.078
testExplodedWar_WithCustomWebXML 0.078
testExplodedWar_WithContainerConfigXML 0.063
testExplodedWar_WithSimpleExternalWARFile 0.094
testExplodedWarMergeWarLocalFileOverride 0.078
testExplodedWar_WithEJB 0.078
testExplodedWarWithJar 0.078
testExplodedWar_WithEJBClient 0.078
testExplodedWar_WithTLD 0.141
testExplodedWar_WithPAR 0.203
testExplodedWarWithAar 0.078
testExplodedWar_WithDuplicateDependencies 0.344
testExplodedWar_DuplicateWithClassifier 0.078
testExplodedWar_WithClasses 0.078
testExplodedWar_WithSourceIncludeExclude 0.062
testExplodedWar_WithWarDependencyIncludeExclude 0.094
testExplodedWarWithSourceModificationCheck 0.328
testExplodedWarWithOutputFileNameMapping 0.078
testExplodedWarWithOutputFileNameMappingAndDuplicateDependencies 0.063

WarInPlaceMojoTest

testEnvironment 0.062
testSimpleExplodedInplaceWar 0.078

WarManifestMojoTest

testEnvironment 0.063
testBasicManifest 0.078
testManifestWithClasspath 0.062
testManifestWithMainClass 0.078
testManifestWithOtherAttributes 0.063

WarMojoTest

testEnvironment 0.547
testSimpleWar 0.25
testClassifier 0.109
testPrimaryArtifact 0.109
testNotPrimaryArtifact 0.094
testMetaInfContent 0.187
testMetaInfContentWithContainerConfig 0.094
testFailOnMissingWebXmlFalse 0.094
testFailOnMissingWebXmlTrue 0.172
testAttachClasses 0.109
testAttachClassesWithCustomClassifier 0.094

WarOverlaysTest

testEnvironment 0.078
testNoOverlay 0.156
testDefaultOverlay 0.281
testDefaultOverlays 0.656
testScenarioOneWithDefaulSettings 0.672
testScenarioOneWithOverlaySettings 0.407
testScenarioOneWithFullSettings 0.343
testOverlaysIncludesExcludesWithMultipleDefinitions 0.313
testOverlaysIncludesExcludesWithMultipleDefinitions2 0.344
testCacheWithUpdatedOverlay 0.296
testCacheWithRemovedOverlay 0.329

WarZipTest

testOneZipWithNoSkip 0.141
testOneZipWithTargetPathOverlay 0.094
testOneZipDefaultSkip 0.187
testOneZipWithForceSkip 0.125