Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
102 0 0 0 100% 2.555

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.apache.river.api.net 47 0 0 0 100% 0.08
net.jini.security 4 0 0 0 100% 0.006
net.jini.id 1 0 0 0 100% 0.017
org.apache.river.api.security 45 0 0 0 100% 2.398
org.apache.river.api.io 5 0 0 0 100% 0.054

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

org.apache.river.api.net

Class Tests Errors Failures Skipped Success Rate Time
UriTest 47 0 0 0 100% 0.08

net.jini.security

Class Tests Errors Failures Skipped Success Rate Time
GrantPermissionTest 4 0 0 0 100% 0.006

net.jini.id

Class Tests Errors Failures Skipped Success Rate Time
UuidTest 1 0 0 0 100% 0.017

org.apache.river.api.security

Class Tests Errors Failures Skipped Success Rate Time
ConcurrentPolicyFileTest 4 0 0 0 100% 0.008
Permissions_ImplTest 1 0 0 0 100% 0.002
URIGrantTest 1 0 0 0 100% 0
DefaultPolicyParserTest 1 0 0 0 100% 0.006
PrincipalGrantTest 5 0 0 0 100% 0.056
PermissionCollectionTest 2 0 0 0 100% 0
ConcurrentPermissionsTest 8 0 0 0 100% 0.004
PolicyUtilsTest 11 0 0 0 100% 2.28
SegmentTest 4 0 0 0 100% 0.002
PolicyEntryTest 2 0 0 0 100% 0
AdvisoryPermissionParserTest 2 0 0 0 100% 0.001
DelegatePermissionTest 3 0 0 0 100% 0.025
DelegateSecurityManagerTest 1 0 0 0 100% 0.014

org.apache.river.api.io

Class Tests Errors Failures Skipped Success Rate Time
AtomicMarshalInputStreamTest 4 0 0 0 100% 0.054
AtomicMarshalOutputStreamTest 1 0 0 0 100% 0

Test Cases

[Summary] [Package List] [Test Cases]

ConcurrentPolicyFileTest

testRefresh 0.006
testRefresh_Failure 0
testGetPermissions_CodeSource 0.001
testGetPermissions_ProtectionDomain 0.001

AtomicMarshalInputStreamTest

testReadObject 0.027
testException 0.021
testObjectOutputStreamCompatibility 0.005
testCreate 0.001

Permissions_ImplTest

testImplies 0.002

URIGrantTest

testImpliesPD 0

UuidTest

testToUri 0.017

GrantPermissionTest

implies 0.003
construct 0.001
doesNotImplyFilePermissionsRWTest 0.001
verifyDoesImplyGrantPermissionTest 0.001

DefaultPolicyParserTest

testResolvePermission 0.006

PrincipalGrantTest

testGetPermissions 0.005
testSerialization 0.05
testEquals 0
testImplies_PrincipalArr 0
testGetBuilderTemplate 0.001

PermissionCollectionTest

test_toString 0
test_setReadOnly 0

ConcurrentPermissionsTest

elements 0.002
implies1 0
impliesOrig 0
implies2 0.002
implies3 0
doubleImpliesUnresolved 0
resolvesAndReturnsEnumerator 0
resolvesUnresolvedPermission 0

PolicyUtilsTest

testExpand 0
testExpandFailed 0
testExpandURL 0
testExpandGeneral 0.001
testExpandGeneralFailed 0.001
testCanExpandProperties 0
testGetPolicyURLs01 1.029
testGetPolicyURLs02 1.21
testGetPolicyURLs03 0.038
testInstantiatePermission 0.001
testMatchSubset 0

UriTest

test_Uri_String 0.009
test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringILjava_lang_StringLjava_lang_StringLjava_lang_String 0.001
test_fiveArgConstructor 0
test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String 0
test_ConstructorLjava_lang_String 0.04
test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String 0
test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String 0.001
test_compareToLjava_lang_Object 0.002
test_compareTo2 0.001
test_createLjava_lang_String 0
test_equalsLjava_lang_Object 0.002
test_equals2 0
test_getAuthority 0.001
test_getAuthority2 0
test_getFragment 0.001
test_getHost 0.001
test_getPath 0.001
test_getPort 0
test_getPort2 0
test_getQuery 0.001
test_getRawAuthority 0.001
test_getRawFragment 0
test_getRawPath 0.002
test_getRawQuery 0.001
test_getRawSchemeSpecificPart 0.001
test_getRawUserInfo 0.001
test_getScheme 0
test_getSchemeSpecificPart 0.001
test_getUserInfo 0.001
test_hashCode 0.001
test_isAbsolute 0.001
test_isOpaque 0
test_normalize 0.002
test_normalize2 0
test_normalize3 0
test_parseAndCreate 0
test_parseServerAuthority 0.001
test_relativizeLjava_net_Uri 0.001
test_relativize3 0
test_relativize2 0.001
test_resolve 0
test_resolveLjava_net_Uri 0.001
test_toASCIIString 0.001
test_toString 0
test_toURL 0.002
test_implies 0
testCaseStringEquals 0

SegmentTest

divideAndReplace 0.001
divideAndReplaceTwice 0
divideAndReplaceThrice 0.001
divideAndReplaceNoArray 0

PolicyEntryTest

testCtor 0
testImpliesPrincipals 0

AdvisoryPermissionParserTest

testParse 0
testGetEncoded_Permission 0.001

DelegatePermissionTest

testGetPermission 0.024
testGet 0
testImplies 0.001

AtomicMarshalOutputStreamTest

testObjectInputStreamCompatibility 0

DelegateSecurityManagerTest

testCheckPermission 0.014