Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
159 8 0 7 90.566% 9.522

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.tar 29 5 0 0 82.759% 0.731
org.codehaus.plexus.archiver.xz 4 0 0 0 100% 1.01
org.codehaus.plexus.archiver.sar 1 0 0 0 100% 0.007
org.codehaus.plexus.archiver.gzip 4 0 0 0 100% 1.074
org.codehaus.plexus.archiver.bzip2 4 0 0 0 100% 0.785
org.codehaus.plexus.archiver.zip 33 3 0 1 87.879% 1.178
org.codehaus.plexus.archiver 20 0 0 0 100% 0.164
org.codehaus.plexus.archiver.rar 3 0 0 0 100% 0.729
org.codehaus.plexus.archiver.util 7 0 0 0 100% 0
org.codehaus.plexus.archiver.manager 8 0 0 0 100% 0.033
org.codehaus.plexus.archiver.jar 40 0 0 6 85% 3.193
org.codehaus.plexus.archiver.war 2 0 0 0 100% 0.408
org.codehaus.plexus.archiver.snappy 4 0 0 0 100% 0.21

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

org.codehaus.plexus.archiver.tar

Class Tests Errors Failures Skipped Success Rate Time
TarFileTest 3 0 0 0 100% 0.536
TarUnArchiverTest 2 0 0 0 100% 0.01
TarRoundTripTest 1 0 0 0 100% 0
TarFileAttributesTest 4 0 0 0 100% 0.021
TarSnappyUnArchiverTest 2 0 0 0 100% 0.015
TarArchiverTest 11 5 0 0 54.545% 0.096
TarBZip2UnArchiverTest 2 0 0 0 100% 0.009
TarXzUnArchiverTest 2 0 0 0 100% 0.036
TarGZipUnArchiverTest 2 0 0 0 100% 0.008

org.codehaus.plexus.archiver.xz

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

org.codehaus.plexus.archiver.sar

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

org.codehaus.plexus.archiver.gzip

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

org.codehaus.plexus.archiver.bzip2

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

org.codehaus.plexus.archiver.zip

Class Tests Errors Failures Skipped Success Rate Time
PlexusIoZipFileResourceCollectionTest 5 0 0 0 100% 0.025
PlexusArchiverZipFileResourceCollectionTest 2 0 0 0 100% 0.015
ConcurrentJarCreatorTest 1 0 0 1 0% 0
ZipUnArchiverTest 6 0 0 0 100% 0.037
ZipArchiverTest 19 3 0 0 84.211% 1.101

org.codehaus.plexus.archiver

Class Tests Errors Failures Skipped Success Rate Time
DotDirectiveArchiveFinalizerTest 2 0 0 0 100% 0.017
EmptyDirectoryTest 3 0 0 0 100% 0.082
AbstractArchiverTest 6 0 0 0 100% 0.001
SymlinkTest 6 0 0 0 100% 0.046
DuplicateFilesTest 3 0 0 0 100% 0.018

org.codehaus.plexus.archiver.rar

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

org.codehaus.plexus.archiver.util

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

org.codehaus.plexus.archiver.manager

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

org.codehaus.plexus.archiver.jar

Class Tests Errors Failures Skipped Success Rate Time
JarToolModularJarArchiverTest 8 0 0 6 25% 0.013
JarArchiverTest 4 0 0 0 100% 3.043
JdkManifestFactoryTest 5 0 0 0 100% 0.019
IndexTest 2 0 0 0 100% 0.034
DirectoryArchiverUnpackJarTest 1 0 0 0 100% 0.006
ManifestTest 20 0 0 0 100% 0.078

org.codehaus.plexus.archiver.war

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

org.codehaus.plexus.archiver.snappy

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

Test Cases

[Summary] [Package List] [Test Cases]

JarToolModularJarArchiverTest

testModularJar 0
got: <false>, expected: is <true>
testInvalidModularJar 0
got: <false>, expected: is <true>
testModularMultiReleaseJar 0
got: <false>, expected: is <true>
testModularJarPriorJava9 0.004
testModularJarWithMainClassAndVersion 0
got: <false>, expected: is <true>
testNoCompression 0
got: <false>, expected: is <true>
testCompression 0
got: <false>, expected: is <true>
testCreateJar 0.004

DotDirectiveArchiveFinalizerTest

testDefaultDotDirectiveBehaviour 0.009
testDotDirectiveArchiveFinalizer 0.008

JarArchiverTest

testNonCompressed 0.004
testCreateManifestOnlyJar 0.002
testVeryLargeJar 3.023
testCreateJar 0.004

PlexusIoZipFileResourceCollectionTest

testNamelessRootFolder 0.004
testFilesThatAreNotThere 0.006
testFilesWithIllegalHtmlChars 0.005
testDescriptionForError 0.004
testSymlinkEntries 0.005

BZip2ArchiverTest

testCreateResourceCollection 0.029
testCreateArchive 0.252
testCreateEmptyArchive 0.005
testBz2IsForcedBehaviour 0.499

EmptyDirectoryTest

testTarArchiver 0.04
testJarArchiver 0.011
testZipArchiver 0.031

RarArchiverTest

testArchive 0.007
testRarIsForcedBehaviour 0.713
testUnarchive 0.008

TarFileTest

testTarFile 0.05
testBZip2TarFile 0.391
testGZipTarFile 0.095

ArchiverManagerTest

testLookupArchiverUsingFile 0.003
testReuseArchiver 0.003
testLookupUnArchiver 0.003
testLookupUnknownUnArchiver 0.005
testLookupUnArchiverUsingFile 0.005
testLookupUnknownArchiver 0.004
testLookupArchiver 0.004
testUnspportedLookupArchiverUsingFile 0.004

TarUnArchiverTest

testSelectors 0.006
testExtractingADirectory 0.004

FilePermissionUtilsTest

testAllUser 0
testOnlyWritableOnlyUser 0
testAllAllUser 0
testExecAndRead 0

PlexusArchiverZipFileResourceCollectionTest

testFileModes 0.007
testFilesWithIllegalHtmlChars 0.008

JdkManifestFactoryTest

testMerge 0.003
testIllegals 0.004
testGetDefaultManifest 0.003
testDualClassPath 0.005
testGetDefaultManifestString 0.004

TarRoundTripTest

testLongRoundTripping 0

IndexTest

testCreateArchiveWithIndexedJarsAndMetaInf 0.017
testCreateArchiveWithIndexedJars 0.017

DirectoryArchiverUnpackJarTest

test_dependency_sets_depSet_unpacked_rdonly 0.006

TarFileAttributesTest

testOverrideDetectedFileAttributesUsingFileMode 0.004
testOverrideDetectedFileAttributes 0.006
testUseAttributesFromTarArchiveInputInTarArchiverOutput 0.005
testUseDetectedFileAttributes 0.006

ArchiveEntryUtilsTest

testChmodWithJava7 0
testChmodForFileWithDollarPLXCOMP164 0

AbstractArchiverTest

testModesAndOverridesAreUnsetByDefault 0
testSetModeIsUsedWithFlagsForType 0
testWhenUnsetModeUsesDefault 0
testSetDefaultIncludesFlagsForType 0
testDefaultIsUsedWhenModeIsUnset 0
testOverridesCanBeReset 0

TarSnappyUnArchiverTest

testExtract 0.01
testLookup 0.005

SymlinkTest

testSymlinkDirWithSlash 0.003
testSymlinkFile 0.004
testSymlinkDirArchiver 0.008
testSymlinkDir 0.004
testSymlinkTar 0.01
testSymlinkZip 0.016

DefaultFileSetTest

testCreate 0

GZipArchiverTest

testCreateResourceCollection 0.03
testCreateArchive 0.167
testCreateEmptyArchive 0.012
testTarGzIsForcedBehaviour 0.865

SarArchiverTest

testLookup 0.007

ZipUnArchiverTest

testExtractingADirectoryFromAJarFile 0.002
testSelectors 0.008
testUnarchiveUtf8 0.01
testExtractingZipPreservesExecutableFlag 0.005
testExtractingZipWithEntryOutsideDestDirThrowsException 0.007
testZeroFileModeInZip 0.005

ZipArchiverTest

testSymlinkFileSet 0.036
testZipNonConcurrentResourceCollection 0.191
org/codehaus/plexus/archiver/zip/ArchiveFileComparator
testCreateResourceCollection 0.275
org/codehaus/plexus/archiver/zip/ArchiveFileComparator
testDefaultUTF8 0.026
testCreateArchive 0.089
testCreateEmptyArchive 0.005
testSymlinkZip 0.017
testDefaultUTF8withUTF8 0.013
testLookAtExtraZipFields_from_macos 0.008
testSymlinkArchivedFileSet 0.012
org/codehaus/plexus/archiver/zip/ArchiveFileComparator
testCreateArchiveWithStreamTransformer 0.038
testZipStuff 0.007
testForcedFileModes 0.02
testOveriddenPermissions 0.022
testRecompressAddedZips 0.014
testImplicitPermissions 0.008
testForced 0.285
testAddArchivedFileSet 0.018
testCreateArchiveWithDetectedModes 0.015

DuplicateFilesTest

testTarArchiver 0.006
testDirArchiver 0.005
testZipArchiver 0.007

WarArchiverTest

testReAddingPlatformSpecificEncoding 0.334
testInfiniteRecursion 0.052

TarArchiverTest

testCreateArchiveWithJiustASymlink 0.005
testGzipFIleHandleLeak 0.003
org.codehaus.plexus.archiver.tar.TarArchiverTest$GZipTarHandler.<init>(Lorg/codehaus/plexus/archiver/tar/TarArchiverTest;Lorg/codehaus/plexus/archiver/tar/TarArchiverTest$1;)V
testCreateArchive 0.047
testUnicode 0.004
testCreateEmptyArchive 0.004
testGzipCompressedResourceCollection 0.003
org.codehaus.plexus.archiver.tar.TarArchiverTest$GZipTarHandler.<init>(Lorg/codehaus/plexus/archiver/tar/TarArchiverTest;Lorg/codehaus/plexus/archiver/tar/TarArchiverTest$1;)V
testSymlinkArchivedFileSet 0.008
testBzip2CompressedResourceCollection 0.004
org.codehaus.plexus.archiver.tar.TarArchiverTest$BZip2TarHandler.<init>(Lorg/codehaus/plexus/archiver/tar/TarArchiverTest;Lorg/codehaus/plexus/archiver/tar/TarArchiverTest$1;)V
testTarFileNotClosingInputStream 0.004
org.codehaus.plexus.archiver.tar.TarArchiverTest$BZip2TarHandler.<init>(Lorg/codehaus/plexus/archiver/tar/TarArchiverTest;Lorg/codehaus/plexus/archiver/tar/TarArchiverTest$1;)V
testUncompressedResourceCollection 0.005
org.codehaus.plexus.archiver.tar.TarArchiverTest$TarHandler.<init>(Lorg/codehaus/plexus/archiver/tar/TarArchiverTest;Lorg/codehaus/plexus/archiver/tar/TarArchiverTest$1;)V
testCreateArchiveWithDetectedModes 0.007

SnappyArchiverTest

testCreateResourceCollection 0.008
testCreateArchive 0.078
testCreateEmptyArchive 0.003
testsnappyIsForcedBehaviour 0.121

ManifestTest

testAddAttributes 0.005
testAddConfiguredSectionPlexusManifest 0.003
testAttributeLongLineWriteNonAscii 0.005
testClassPathPlexusManifest 0.005
testAddConfiguredSection 0.005
testRemoveAttributesPlexusManifest 0.003
testAttributeDifferentLineEndings 0.004
testAttributeSerializationPlexusManifest 0.003
testAttributeMultiLineValue 0.004
testGetDefaultManifest 0.003
testAttributeSerialization 0.003
testDualClassPath 0.005
testDefaultBehaviour 0.004
testRemoveAttributes 0.003
testManifest1 0.004
testManifest2 0.005
testManifest3 0.004
testManifest5 0.003
testAttributeLongLineWrite 0.003
testAddAttributesPlexusManifest 0.003

XzArchiverTest

testCreateResourceCollection 0.107
testCreateArchive 0.444
testCreateEmptyArchive 0.006
testXzIsForcedBehaviour 0.453

TarBZip2UnArchiverTest

testExtract 0.006
testLookup 0.003

TarXzUnArchiverTest

testExtract 0.033
testLookup 0.003

TarGZipUnArchiverTest

testExtract 0.005
testLookup 0.003

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>
testCompression
skipped: got: <false>, expected: is <true>
org.codehaus.plexus.archiver.zip.ConcurrentJarCreatorTest
skipped: skipped
testZipNonConcurrentResourceCollection
java.lang.NoClassDefFoundError: org/codehaus/plexus/archiver/zip/ArchiveFileComparator
testCreateResourceCollection
java.lang.NoClassDefFoundError: org/codehaus/plexus/archiver/zip/ArchiveFileComparator
testSymlinkArchivedFileSet
java.lang.NoClassDefFoundError: org/codehaus/plexus/archiver/zip/ArchiveFileComparator
testGzipFIleHandleLeak
java.lang.NoSuchMethodError: org.codehaus.plexus.archiver.tar.TarArchiverTest$GZipTarHandler.<init>(Lorg/codehaus/plexus/archiver/tar/TarArchiverTest;Lorg/codehaus/plexus/archiver/tar/TarArchiverTest$1;)V
testGzipCompressedResourceCollection
java.lang.NoSuchMethodError: org.codehaus.plexus.archiver.tar.TarArchiverTest$GZipTarHandler.<init>(Lorg/codehaus/plexus/archiver/tar/TarArchiverTest;Lorg/codehaus/plexus/archiver/tar/TarArchiverTest$1;)V
testBzip2CompressedResourceCollection
java.lang.NoSuchMethodError: org.codehaus.plexus.archiver.tar.TarArchiverTest$BZip2TarHandler.<init>(Lorg/codehaus/plexus/archiver/tar/TarArchiverTest;Lorg/codehaus/plexus/archiver/tar/TarArchiverTest$1;)V
testTarFileNotClosingInputStream
java.lang.NoSuchMethodError: org.codehaus.plexus.archiver.tar.TarArchiverTest$BZip2TarHandler.<init>(Lorg/codehaus/plexus/archiver/tar/TarArchiverTest;Lorg/codehaus/plexus/archiver/tar/TarArchiverTest$1;)V
testUncompressedResourceCollection
java.lang.NoSuchMethodError: org.codehaus.plexus.archiver.tar.TarArchiverTest$TarHandler.<init>(Lorg/codehaus/plexus/archiver/tar/TarArchiverTest;Lorg/codehaus/plexus/archiver/tar/TarArchiverTest$1;)V