Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
209 0 0 1 99.5% 0.277 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.046 s
org.codehaus.plexus.classworlds.strategy 50 0 0 1 98.0% 0.034 s
org.codehaus.plexus.classworlds.realm 52 0 0 0 100% 0.097 s
org.codehaus.plexus.classworlds.launcher 53 0 0 0 100% 0.100 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.008 s
UrlUtilsTest 13 0 0 0 100% 0.008 s
ClassWorldIntegrationTest 9 0 0 0 100% 0.007 s
ClassWorldTest 21 0 0 0 100% 0.021 s

org.codehaus.plexus.classworlds.strategy

- Class Tests Errors Failures Skipped Success Rate Time
SelfFirstStrategyTest 3 0 0 0 100% 0.001 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.012 s
ParentFirstStrategyTest 18 0 0 0 100% 0.009 s

org.codehaus.plexus.classworlds.realm

- Class Tests Errors Failures Skipped Success Rate Time
ClassRealmImplTest 17 0 0 0 100% 0.012 s
DuplicateRealmExceptionTest 4 0 0 0 100% 0.003 s
EntryTest 10 0 0 0 100% 0.005 s
NoSuchRealmExceptionTest 4 0 0 0 100% 0.002 s
FilteredClassRealmTest 3 0 0 0 100% 0.007 s
DefaultClassRealmTest 14 0 0 0 100% 0.068 s

org.codehaus.plexus.classworlds.launcher

- Class Tests Errors Failures Skipped Success Rate Time
ConfiguratorTest 19 0 0 0 100% 0.024 s
LauncherTest 20 0 0 0 100% 0.065 s
ConfigurationParserTest 7 0 0 0 100% 0.005 s
ConfigurationExceptionTest 7 0 0 0 100% 0.006 s

Test Cases

[Summary] [Package List] [Test Cases]

SelfFirstStrategyTest

testStrategyType 0 s
testConstructorWithNullRealm 0.001 s
testConstructor 0 s

ClassRealmImplTest

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

OsgiBundleStrategyTest

testGetResourceWithWildcardImport 0.002 s
testGetResourceFromSelf 0.001 s
testLoadClassFromImportPriorityOrder 0 s
testLoadClassWithNullName 0.001 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 s
testConstructorWithNullRealm 0.001 s
testGetResourcesWithNullName 0 s
testLoadClassWithEmptyName 0.001 s
testLoadClassNonExistent 0 s
testConstructor 0 s

ClassWorldExceptionTest

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

ConfiguratorTest

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

StrategyFactoryTest

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

DuplicateRealmExceptionTest

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

ClassWorldListenerTest

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

UrlUtilsTest

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

ClassWorldIntegrationTest

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

LauncherTest

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

EntryTest

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

ConfigurationParserTest

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

NoSuchRealmExceptionTest

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

FilteredClassRealmTest

loadResources 0.003 s
loadClassWithModule 0.001 s
loadClass 0.001 s

ConfigurationExceptionTest

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

DefaultClassRealmTest

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

StrategyTest

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

ClassWorldTest

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

ParentFirstStrategyTest

testGetResourceWithWildcardImport 0.001 s
testGetResourceFromSelf 0 s
testLoadClassFromImportPriorityOrder 0.001 s
testLoadClassWithNullName 0 s
testGetResourcesFromAllSources 0.001 s
testLoadClassFromImport 0 s
testLoadClassFromSelf 0 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 s

Failure Details

[Summary] [Package List] [Test Cases]


getSystemResource
- skipped: skipped