Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
83 0 0 0 100% 12.719

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 60 0 0 0 100% 12.172
org.apache.maven.plugin.war.overlay 5 0 0 0 100% 0.344
org.apache.maven.plugin.war.util 18 0 0 0 100% 0.203

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.031
WarExplodedMojoFilteringTest 1 0 0 0 100% 0.187
WarExplodedMojoTest 21 0 0 0 100% 2.188
WarInPlaceMojoTest 2 0 0 0 100% 0.156
WarManifestMojoTest 6 0 0 0 100% 0.563
WarMojoTest 11 0 0 0 100% 3.75
WarOverlaysTest 11 0 0 0 100% 3.204
WarZipTest 4 0 0 0 100% 1.093

org.apache.maven.plugin.war.overlay

Class Tests Errors Failures Skipped Success Rate Time
OverlayManagerTest 5 0 0 0 100% 0.344

org.apache.maven.plugin.war.util

Class Tests Errors Failures Skipped Success Rate Time
MappingUtilsTest 5 0 0 0 100% 0.094
PathSetTest 5 0 0 0 100% 0.078
WarUtilsTest 1 0 0 0 100% 0.015
WebappStructureTest 7 0 0 0 100% 0.016

Test Cases

OverlayManagerTest

testEmptyProject 0.063
testSimpleOverlay 0.078
testUnknonwnOverlay 0.063
testCustomCurrentProject 0.078
testOverlaysWithSameArtifactAndGroupId 0.062

MappingUtilsTest

testCompleteMapping 0.047
testNoVersionMapping 0
testMappingWithGroupId 0
testMappingWithClassifier 0
testMappingWithOptionalClassifier 0

PathSetTest

testNormalizeFilePathStatic 0
testTrimTrailingSlashes 0
testPathsSetBasic 0
testPathsSetAddAlls 0
testAddAllFilesInDirectory 0.078

WarUtilsTest

testDependencyEquals 0

WebappStructureTest

testDependencyAnalysisNoChange 0
testDependencyAnalysisWithNewDependency 0
testDependencyAnalysisWithRemovedDependency 0
testUnknownFileNotAvailable 0
testRegisterSamePathTwice 0
testRegisterForced 0
testRegisterSamePathTwiceForced 0

WarDependenciesAnalysisTest

testNoChange 0.235
testRemovedDependency 0.234
testDependencyWithUpdatedVersion 0.266
testDependencyNowProvided 0.296

WarExplodedMojoFilteringTest

testExplodedWar_WithResourceFiltering 0.187

WarExplodedMojoTest

testSimpleExplodedWar 0.156
testSimpleExplodedWarWTargetPath 0.078
testExplodedWar_WithCustomWebXML 0.141
testExplodedWar_WithContainerConfigXML 0.078
testExplodedWar_WithSimpleExternalWARFile 0.094
testExplodedWarMergeWarLocalFileOverride 0.094
testExplodedWar_WithEJB 0.093
testExplodedWarWithJar 0.079
testExplodedWar_WithEJBClient 0.093
testExplodedWar_WithTLD 0.094
testExplodedWar_WithPAR 0.078
testExplodedWarWithAar 0.11
testExplodedWarWithMar 0.078
testExplodedWar_WithDuplicateDependencies 0.093
testExplodedWar_DuplicateWithClassifier 0.094
testExplodedWar_WithClasses 0.094
testExplodedWar_WithSourceIncludeExclude 0.25
testExplodedWar_WithWarDependencyIncludeExclude 0.094
testExplodedWarWithSourceModificationCheck 0.109
testExplodedWarWithOutputFileNameMapping 0.078
testExplodedWarWithOutputFileNameMappingAndDuplicateDependencies 0.094

WarInPlaceMojoTest

testEnvironment 0.078
testSimpleExplodedInplaceWar 0.078

WarManifestMojoTest

testEnvironment 0.078
testBasicManifest 0.078
testManifestWithClasspath 0.079
testManifestWithMainClass 0.062
testManifestWithOtherAttributes 0.188
testManifestWithCustomAttributes 0.078

WarMojoTest

testEnvironment 0.609
testSimpleWar 0.485
testClassifier 0.25
testPrimaryArtifact 0.453
testNotPrimaryArtifact 0.25
testMetaInfContent 0.328
testMetaInfContentWithContainerConfig 0.266
testFailOnMissingWebXmlFalse 0.218
testFailOnMissingWebXmlTrue 0.094
testAttachClasses 0.438
testAttachClassesWithCustomClassifier 0.328

WarOverlaysTest

testEnvironment 0.079
testNoOverlay 0.203
testDefaultOverlay 0.203
testDefaultOverlays 0.219
testScenarioOneWithDefaulSettings 0.343
testScenarioOneWithOverlaySettings 0.422
testScenarioOneWithFullSettings 0.266
testOverlaysIncludesExcludesWithMultipleDefinitions 0.328
testOverlaysIncludesExcludesWithMultipleDefinitions2 0.281
testCacheWithUpdatedOverlay 0.641
testCacheWithRemovedOverlay 0.219

WarZipTest

testOneZipWithNoSkip 0.312
testOneZipWithTargetPathOverlay 0.281
testOneZipDefaultSkip 0.25
testOneZipWithForceSkip 0.25