Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
209 0 0 1 99.5% 0.296 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
org.codehaus.plexus.classworlds 54 0 0 0 100% 0.039 s
org.codehaus.plexus.classworlds.strategy 50 0 0 1 98.0% 0.044 s
org.codehaus.plexus.classworlds.realm 52 0 0 0 100% 0.100 s
org.codehaus.plexus.classworlds.launcher 53 0 0 0 100% 0.113 s

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

org.codehaus.plexus.classworlds

- Class Tests Errors Failures Skipped Success Rate Time
ClassWorldExceptionTest 4 0 0 0 100% 0.002 s
ClassWorldListenerTest 7 0 0 0 100% 0.007 s
UrlUtilsTest 13 0 0 0 100% 0.010 s
ClassWorldIntegrationTest 9 0 0 0 100% 0.005 s
ClassWorldTest 21 0 0 0 100% 0.015 s

org.codehaus.plexus.classworlds.strategy

- Class Tests Errors Failures Skipped Success Rate Time
SelfFirstStrategyTest 3 0 0 0 100% 0.005 s
OsgiBundleStrategyTest 17 0 0 0 100% 0.010 s
StrategyFactoryTest 5 0 0 0 100% 0.002 s
StrategyTest 7 0 0 1 85.7% 0.015 s
ParentFirstStrategyTest 18 0 0 0 100% 0.012 s

org.codehaus.plexus.classworlds.realm

- Class Tests Errors Failures Skipped Success Rate Time
ClassRealmImplTest 17 0 0 0 100% 0.014 s
DuplicateRealmExceptionTest 4 0 0 0 100% 0.002 s
EntryTest 10 0 0 0 100% 0.011 s
NoSuchRealmExceptionTest 4 0 0 0 100% 0.002 s
FilteredClassRealmTest 3 0 0 0 100% 0.005 s
DefaultClassRealmTest 14 0 0 0 100% 0.066 s

org.codehaus.plexus.classworlds.launcher

- Class Tests Errors Failures Skipped Success Rate Time
ConfiguratorTest 19 0 0 0 100% 0.023 s
LauncherTest 20 0 0 0 100% 0.072 s
ConfigurationParserTest 7 0 0 0 100% 0.007 s
ConfigurationExceptionTest 7 0 0 0 100% 0.011 s

Test Cases

[Summary] [Package List] [Test Cases]

SelfFirstStrategyTest

testStrategyType 0.001 s
testConstructorWithNullRealm 0.001 s
testConstructor 0 s

ClassRealmImplTest

locateSourceRealmHierachy 0.001 s
locateSourceRealmNoImports 0.001 s
locateSourceRealmMultipleImport 0 s
loadClassPackage 0 s
locateSourceRealmSimpleImport 0 s
loadClassClassWorldsClassRepeatedly 0 s
getResourcesSelfBeforeParent 0.001 s
loadClassWithModuleNameJava9 0.001 s
loadClassSystemClass 0 s
loadClassClassWorldsClass 0 s
loadClassComplex 0.002 s
loadClassLocal 0.001 s
newRealm 0.001 s
loadClassImported 0.001 s
loadClassNonSystemClass 0 s
locateSourceRealmHierachyReverse 0 s
getResourcesBaseBeforeSelf 0.001 s

OsgiBundleStrategyTest

testGetResourceWithWildcardImport 0.001 s
testGetResourceFromSelf 0.001 s
testLoadClassFromImportPriorityOrder 0.001 s
testLoadClassWithNullName 0 s
testGetResourcesFromAllSources 0 s
testLoadClassFromSelf 0.001 s
testGetResourcesNonExistent 0 s
testGetResourceFromImport 0.001 s
testGetResourceWithEmptyName 0 s
testGetResourcesFromSelf 0.001 s
testGetResourceNonExistent 0 s
testGetResourceWithNullName 0.001 s
testConstructorWithNullRealm 0 s
testGetResourcesWithNullName 0.001 s
testLoadClassWithEmptyName 0 s
testLoadClassNonExistent 0 s
testConstructor 0.001 s

ClassWorldExceptionTest

testConstructorWithNullWorld 0 s
testConstructorWithWorldAndMessage 0 s
testConstructorWithWorld 0 s
testConstructorWithNullWorldAndNullMessage 0.001 s

ConfiguratorTest

setUsingMissingOverride 0.001 s
configureUnhandled 0.001 s
configureEarlyImport 0 s
configureOptionallyExistent 0.001 s
setUsingMissingDefault 0 s
configureDuplicateRealm 0.001 s
configureRealmSyntax 0 s
configureOptionallyNonExistent 0 s
setUsingNonExistentOverride 0 s
configureValid 0.004 s
setUsingExistent 0.001 s
configureNonexistent 0 s
setUsingFilteredDefault 0 s
fromFromFrom 0.001 s
configureDuplicateMain 0.001 s
setUsingExistentOverride 0.001 s
setUsingExistentDefault 0.001 s
setUsingNonExistentDefault 0.001 s
setUsingNonExistent 0 s

StrategyFactoryTest

testGetStrategyDefault 0 s
testGetStrategyMultipleCalls 0 s
testGetStrategyWithCustomHint 0 s
testGetStrategyWithNullHint 0 s
testGetStrategyWithDefaultHint 0 s

DuplicateRealmExceptionTest

testConstructorAndGetters 0 s
testConstructorWithNullWorld 0 s
testConstructorWithNullId 0 s
testConstructorWithBothNull 0.001 s

ClassWorldListenerTest

testRemoveListener 0.001 s
testMultipleListeners 0 s
testListenerNotifiedOnClose 0.001 s
testRealmCreatedNotification 0 s
testListenerWithNoSuchRealmException 0.002 s
testAddDuplicateListener 0.001 s
testRealmDisposedNotification 0 s

UrlUtilsTest

getURLsWithSingleURL 0 s
normalizeUrlPathOnlySlash 0 s
normalizeUrlPathWithDotDotInMiddle 0 s
normalizeUrlPathComplexPath 0 s
normalizeUrlPath 0.001 s
normalizeUrlPathWithTrailingSlash 0 s
normalizeUrlPathEmptyString 0 s
getURLsWithClassLoader 0.002 s
normalizeUrlPathWithConsecutiveDotDots 0.001 s
normalizeUrlPathWithDotDotAtBeginning 0 s
normalizeUrlPathWithMultipleDotDots 0 s
getURLsWithEmptyClassLoader 0 s
normalizeUrlPathWithLeadingSlash 0.001 s

ClassWorldIntegrationTest

testRealmWithUnicodeId 0.001 s
testConcurrentRealmCreation 0.001 s
testDisposeRealmAndCreateAgain 0.001 s
testCloseAndCreateNewRealms 0 s
testLargeNumberOfRealms 0.001 s
testRealmWithSpecialCharactersId 0 s
testMultipleRealmsWithSameClassLoader 0 s
testRealmWithEmptyStringId 0 s
testRealmOrderPreserved 0 s

LauncherTest

launchNoSuchMethod 0.019 s
testConfigureInvalid 0 s
testLaunchWithNonExistentRealmInArgs 0.003 s
testGetSetWorld 0.003 s
testDefaultSystemClassLoader 0.001 s
testGetMainRealmWithoutConfiguration 0.001 s
launchValidStandard 0.001 s
testLauncherWithNullArguments 0.002 s
testGetSetAppMain 0.001 s
testLauncherWithEmptyArguments 0.002 s
testGetMainClassWithoutConfiguration 0.001 s
testDefaultExitCode 0.001 s
launchValidEnhanced 0.002 s
testGetSetSystemClassLoader 0.001 s
configureValid 0.002 s
launchValidEnhancedExitCode 0.003 s
testMultipleConfigurations 0.002 s
launchClassNotFound 0.001 s
testLauncherWithArguments 0.001 s
launchValidStandardExitCode 0.002 s

EntryTest

matchesAllImport 0.001 s
matchesResourceByClassImport 0 s
matchesResourceByExactPackageImport 0 s
matchesResourceByResourceImport 0 s
checkCompareTo 0 s
matchesClassByPackageImport 0.001 s
matchesClassByClassImport 0.001 s
matchesClassByExactPackageImport 0.001 s
matchesResourceByPackageImport 0.001 s
chckEquals 0.001 s

ConfigurationParserTest

filterAtStart 0.001 s
filterAtEnd 0 s
filterInMiddle 0.001 s
filterUnterminated 0.001 s
filterNonExistent 0 s
filterMultiple 0 s
filterSolitary 0.001 s

NoSuchRealmExceptionTest

testConstructorAndGetters 0.001 s
testConstructorWithNullWorld 0 s
testConstructorWithNullId 0 s
testConstructorWithBothNull 0.001 s

FilteredClassRealmTest

loadResources 0.002 s
loadClassWithModule 0.002 s
loadClass 0.001 s

ConfigurationExceptionTest

testConstructorWithNullLineNoAndNullLine 0.001 s
testConstructorWithNegativeLineNo 0.001 s
testConstructorWithNullMessage 0.001 s
testConstructorWithNullCause 0 s
testConstructorWithMessageLineNoAndLine 0.001 s
testConstructorWithMessage 0.001 s
testConstructorWithCause 0.001 s

DefaultClassRealmTest

findResourcesOnlyScansSelf 0.001 s
findResourceOnlyScansSelf 0.001 s
resource 0 s
loadNonExistentClass 0 s
loadClassFromChildRealmWhereClassIsLocatedInBothChildRealmAndParentRealm 0.003 s
loadClassFromRealmWithCircularClassReferences 0.001 s
parentImport 0.001 s
malformedResource 0.001 s
loadClassFromRealm 0.001 s
testImport 0.001 s
parallelDeadlockClassRealm 0.047 s
loadClassFromChildRealmWhereClassIsLocatedInParentRealm 0.001 s
loadClassFromBaseClassLoaderBeforeSelf 0.001 s
loadClassFromChildRealmWhereClassIsLocatedInGrantParentRealm 0.001 s

StrategyTest

loadingOfSystemClass 0 s
findResources 0.003 s
loadingOfApplicationClass 0.001 s
loadingOfApplicationClassThenDoingItAgain 0.001 s
loadingOfNonExistentClass 0.001 s
getApplicationResource 0 s
getSystemResource 0 s
- skipped -

ClassWorldTest

testNewRealmWithFilter 0.001 s
getRealmNoSuch 0 s
testRemoveListener 0.001 s
testClose 0.001 s
testGetClassRealmNonExistent 0 s
plx334 0.002 s
testAddListener 0.001 s
empty 0.001 s
getRealms 0 s
testGetClassRealmAfterDispose 0.001 s
testDisposeNoSuchRealm 0.001 s
testNewRealmWithClassLoader 0 s
testConstructorWithRealmId 0.001 s
testNewRealmWithNullFilter 0 s
testGetRealmsIsUnmodifiable 0.001 s
testGetClassRealm 0 s
testNewRealmWithNullClassLoader 0.001 s
newRealm 0 s
newRealmDuplicate 0 s
testDisposeRealm 0.001 s
getRealm 0 s

ParentFirstStrategyTest

testGetResourceWithWildcardImport 0.002 s
testGetResourceFromSelf 0 s
testLoadClassFromImportPriorityOrder 0.001 s
testLoadClassWithNullName 0.001 s
testGetResourcesFromAllSources 0 s
testLoadClassFromImport 0.001 s
testLoadClassFromSelf 0 s
testGetResourcesNonExistent 0.001 s
testGetResourceFromImport 0 s
testGetResourceWithEmptyName 0 s
testGetResourcesFromSelf 0 s
testGetResourceNonExistent 0.001 s
testGetResourceWithNullName 0 s
testConstructorWithNullRealm 0 s
testGetResourcesWithNullName 0.001 s
testLoadClassWithEmptyName 0 s
testLoadClassNonExistent 0.001 s
testConstructor 0 s

Failure Details

[Summary] [Package List] [Test Cases]


getSystemResource
- skipped: skipped