Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
163 0 0 9 94.479% 392.802

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
org.codehaus.plexus.archiver.xz 4 0 0 0 100% 1.465
org.codehaus.plexus.archiver.rar 3 0 0 0 100% 0.303
org.codehaus.plexus.archiver.war 2 0 0 0 100% 0.073
org.codehaus.plexus.archiver.snappy 4 0 0 0 100% 0.932
org.codehaus.plexus.archiver.tar 29 0 0 0 100% 11.227
org.codehaus.plexus.archiver.sar 1 0 0 0 100% 0.002
org.codehaus.plexus.archiver.zip 34 0 0 1 97.059% 5.401
org.codehaus.plexus.archiver 21 0 0 0 100% 1.351
org.codehaus.plexus.archiver.bzip2 4 0 0 0 100% 1.578
org.codehaus.plexus.archiver.gzip 4 0 0 0 100% 0.962
org.codehaus.plexus.archiver.manager 8 0 0 0 100% 0.049
org.codehaus.plexus.archiver.util 7 0 0 0 100% 0.007
org.codehaus.plexus.archiver.jar 42 0 0 8 80.952% 369.452

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

org.codehaus.plexus.archiver.xz

Class Tests Errors Failures Skipped Success Rate Time
XzArchiverTest 4 0 0 0 100% 1.465

org.codehaus.plexus.archiver.rar

Class Tests Errors Failures Skipped Success Rate Time
RarArchiverTest 3 0 0 0 100% 0.303

org.codehaus.plexus.archiver.war

Class Tests Errors Failures Skipped Success Rate Time
WarArchiverTest 2 0 0 0 100% 0.073

org.codehaus.plexus.archiver.snappy

Class Tests Errors Failures Skipped Success Rate Time
SnappyArchiverTest 4 0 0 0 100% 0.932

org.codehaus.plexus.archiver.tar

Class Tests Errors Failures Skipped Success Rate Time
TarArchiverTest 11 0 0 0 100% 7.759
TarBZip2UnArchiverTest 2 0 0 0 100% 0.038
TarFileAttributesTest 4 0 0 0 100% 0.17
TarFileTest 3 0 0 0 100% 3.06
TarGZipUnArchiverTest 2 0 0 0 100% 0.02
TarRoundTripTest 1 0 0 0 100% 0.002
TarSnappyUnArchiverTest 2 0 0 0 100% 0.009
TarUnArchiverTest 2 0 0 0 100% 0.06
TarXzUnArchiverTest 2 0 0 0 100% 0.109

org.codehaus.plexus.archiver.sar

Class Tests Errors Failures Skipped Success Rate Time
SarArchiverTest 1 0 0 0 100% 0.002

org.codehaus.plexus.archiver.zip

Class Tests Errors Failures Skipped Success Rate Time
ConcurrentJarCreatorTest 1 0 0 1 0% 0.002
PlexusArchiverZipFileResourceCollectionTest 2 0 0 0 100% 0.002
PlexusIoZipFileResourceCollectionTest 5 0 0 0 100% 0.028
ZipArchiverTest 20 0 0 0 100% 5.202
ZipUnArchiverTest 6 0 0 0 100% 0.167

org.codehaus.plexus.archiver

Class Tests Errors Failures Skipped Success Rate Time
AbstractArchiverTest 6 0 0 0 100% 0.394
AbstractUnArchiverTest 1 0 0 0 100% 0.05
DotDirectiveArchiveFinalizerTest 2 0 0 0 100% 0.438
DuplicateFilesTest 3 0 0 0 100% 0.141
EmptyDirectoryTest 3 0 0 0 100% 0.076
SymlinkTest 6 0 0 0 100% 0.252

org.codehaus.plexus.archiver.bzip2

Class Tests Errors Failures Skipped Success Rate Time
BZip2ArchiverTest 4 0 0 0 100% 1.578

org.codehaus.plexus.archiver.gzip

Class Tests Errors Failures Skipped Success Rate Time
GZipArchiverTest 4 0 0 0 100% 0.962

org.codehaus.plexus.archiver.manager

Class Tests Errors Failures Skipped Success Rate Time
ArchiverManagerTest 8 0 0 0 100% 0.049

org.codehaus.plexus.archiver.util

Class Tests Errors Failures Skipped Success Rate Time
ArchiveEntryUtilsTest 2 0 0 0 100% 0.002
DefaultFileSetTest 1 0 0 0 100% 0.002
FilePermissionUtilsTest 4 0 0 0 100% 0.003

org.codehaus.plexus.archiver.jar

Class Tests Errors Failures Skipped Success Rate Time
DirectoryArchiverUnpackJarTest 1 0 0 0 100% 0.039
IndexTest 2 0 0 0 100% 0.179
JarArchiverTest 4 0 0 0 100% 368.972
JarToolModularJarArchiverTest 10 0 0 8 20% 0.116
JdkManifestFactoryTest 5 0 0 0 100% 0.048
ManifestTest 20 0 0 0 100% 0.098

Test Cases

[Summary] [Package List] [Test Cases]

AbstractArchiverTest

testModesAndOverridesAreUnsetByDefault 0.34
testSetModeIsUsedWithFlagsForType 0.001
testWhenUnsetModeUsesDefault 0
testSetDefaultIncludesFlagsForType 0.001
testDefaultIsUsedWhenModeIsUnset 0
testOverridesCanBeReset 0.001

AbstractUnArchiverTest

shouldThrowExceptionBecauseRewrittenPathIsOutOfDirectory 0.031

DotDirectiveArchiveFinalizerTest

testDefaultDotDirectiveBehaviour 0.292
testDotDirectiveArchiveFinalizer 0.144

DuplicateFilesTest

testTarArchiver 0.042
testDirArchiver 0.027
testZipArchiver 0.07

EmptyDirectoryTest

testTarArchiver 0.022
testJarArchiver 0.013
testZipArchiver 0.036

SymlinkTest

testSymlinkDirWithSlash 0
testSymlinkFile 0.006
testSymlinkDirArchiver 0.075
testSymlinkDir 0.007
testSymlinkTar 0.077
testSymlinkZip 0.083

BZip2ArchiverTest

testCreateResourceCollection 0.096
testCreateArchive 1.159
testCreateEmptyArchive 0.008
testBz2IsForcedBehaviour 0.312

GZipArchiverTest

testCreateResourceCollection 0.018
testCreateArchive 0.742
testCreateEmptyArchive 0.007
testTarGzIsForcedBehaviour 0.192

DirectoryArchiverUnpackJarTest

test_dependency_sets_depSet_unpacked_rdonly 0.037

IndexTest

testCreateArchiveWithIndexedJarsAndMetaInf 0.129
testCreateArchiveWithIndexedJars 0.049

JarArchiverTest

testNonCompressed 0.013
testCreateManifestOnlyJar 0.012
testVeryLargeJar 368.876
testCreateJar 0.069

JarToolModularJarArchiverTest

testModularJar 0
got: <false>, expected: is <true>
testInvalidModularJar 0
got: <false>, expected: is <true>
testModularMultiReleaseJar 0
got: <false>, expected: is <true>
testModularJarPriorJava9 0.069
testModularJarWithMainClassAndVersion 0
got: <false>, expected: is <true>
testNoCompression 0
got: <false>, expected: is <true>
testModularJarWithManifestMainClassAttribute 0
got: <false>, expected: is <true>
testCompression 0
got: <false>, expected: is <true>
testModularJarWithManifestAndModuleMainClass 0
got: <false>, expected: is <true>
testCreateJar 0.032

JdkManifestFactoryTest

testMerge 0
testIllegals 0
testGetDefaultManifest 0.008
testDualClassPath 0.02
testGetDefaultManifestString 0.018

ManifestTest

testAddAttributes 0
testAddConfiguredSectionPlexusManifest 0
testAttributeLongLineWriteNonAscii 0
testClassPathPlexusManifest 0
testAddConfiguredSection 0
testRemoveAttributesPlexusManifest 0
testAttributeDifferentLineEndings 0.008
testAttributeSerializationPlexusManifest 0
testAttributeMultiLineValue 0.001
testGetDefaultManifest 0.007
testAttributeSerialization 0.01
testDualClassPath 0.017
testDefaultBehaviour 0.002
testRemoveAttributes 0.006
testManifest1 0.007
testManifest2 0.008
testManifest3 0.008
testManifest5 0.007
testAttributeLongLineWrite 0.009
testAddAttributesPlexusManifest 0.006

ArchiverManagerTest

testLookupArchiverUsingFile 0
testReuseArchiver 0
testLookupUnArchiver 0
testLookupUnknownUnArchiver 0.014
testLookupUnArchiverUsingFile 0.01
testLookupUnknownArchiver 0.01
testLookupArchiver 0.006
testUnspportedLookupArchiverUsingFile 0.006

RarArchiverTest

testArchive 0.032
testRarIsForcedBehaviour 0.24
testUnarchive 0.027

SarArchiverTest

testLookup 0

SnappyArchiverTest

testCreateResourceCollection 0.017
testCreateArchive 0.741
testCreateEmptyArchive 0.009
testsnappyIsForcedBehaviour 0.162

TarArchiverTest

testCreateArchiveWithJiustASymlink 0.002
testGzipFIleHandleLeak 0.821
testCreateArchive 0.603
testUnicode 0.05
testCreateEmptyArchive 0.005
testGzipCompressedResourceCollection 0.883
testSymlinkArchivedFileSet 0.016
testBzip2CompressedResourceCollection 2.842
testTarFileNotClosingInputStream 1.655
testUncompressedResourceCollection 0.679
testCreateArchiveWithDetectedModes 0.202

TarBZip2UnArchiverTest

testExtract 0.029
testLookup 0.007

TarFileAttributesTest

testOverrideDetectedFileAttributesUsingFileMode 0.037
testOverrideDetectedFileAttributes 0.047
testUseAttributesFromTarArchiveInputInTarArchiverOutput 0.045
testUseDetectedFileAttributes 0.039

TarFileTest

testTarFile 0.66
testBZip2TarFile 1.707
testGZipTarFile 0.692

TarGZipUnArchiverTest

testExtract 0.011
testLookup 0.007

TarRoundTripTest

testLongRoundTripping 0

TarSnappyUnArchiverTest

testExtract 0.007
testLookup 0

TarUnArchiverTest

testSelectors 0.038
testExtractingADirectory 0.018

TarXzUnArchiverTest

testExtract 0.102
testLookup 0.005

ArchiveEntryUtilsTest

testChmodWithJava7 0
testChmodForFileWithDollarPLXCOMP164 0

DefaultFileSetTest

testCreate 0

FilePermissionUtilsTest

testAllUser 0
testOnlyWritableOnlyUser 0
testAllAllUser 0
testExecAndRead 0

WarArchiverTest

testReAddingPlatformSpecificEncoding 0.047
testInfiniteRecursion 0.024

XzArchiverTest

testCreateResourceCollection 0.084
testCreateArchive 0.956
testCreateEmptyArchive 0.005
testXzIsForcedBehaviour 0.419

PlexusArchiverZipFileResourceCollectionTest

testFileModes 0
testFilesWithIllegalHtmlChars 0

PlexusIoZipFileResourceCollectionTest

testNamelessRootFolder 0
testFilesThatAreNotThere 0
testFilesWithIllegalHtmlChars 0
testDescriptionForError 0.013
testSymlinkEntries 0.012

ZipArchiverTest

testSymlinkFileSet 0.095
testZipNonConcurrentResourceCollection 0.53
testCreateResourceCollection 0.821
testDefaultUTF8 0.026
testCreateArchive 0.658
testCreateEmptyArchive 0.005
testSymlinkZip 0.102
testDefaultUTF8withUTF8 0.023
testLookAtExtraZipFields_from_macos 0.027
testSymlinkArchivedFileSet 0.007
testCreateArchiveWithStreamTransformer 0.227
testZipStuff 0.01
testForcedFileModes 0.052
testOveriddenPermissions 0.055
testRecompressAddedZips 0.088
testImplicitPermissions 0.021
testForced 2.324
testLastModifiedTimeRounding 0.023
testAddArchivedFileSet 0.034
testCreateArchiveWithDetectedModes 0.072

ZipUnArchiverTest

testExtractingADirectoryFromAJarFile 0.013
testSelectors 0.054
testUnarchiveUtf8 0.048
testExtractingZipPreservesExecutableFlag 0.019
testExtractingZipWithEntryOutsideDestDirThrowsException 0.013
testZeroFileModeInZip 0.015

Failure Details

[Summary] [Package List] [Test Cases]


testModularJar
skipped: got: <false>, expected: is <true>
testInvalidModularJar
skipped: got: <false>, expected: is <true>
testModularMultiReleaseJar
skipped: got: <false>, expected: is <true>
testModularJarWithMainClassAndVersion
skipped: got: <false>, expected: is <true>
testNoCompression
skipped: got: <false>, expected: is <true>
testModularJarWithManifestMainClassAttribute
skipped: got: <false>, expected: is <true>
testCompression
skipped: got: <false>, expected: is <true>
testModularJarWithManifestAndModuleMainClass
skipped: got: <false>, expected: is <true>
org.codehaus.plexus.archiver.zip.ConcurrentJarCreatorTest
skipped: skipped