Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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% 1.181
net.jini.security 4 0 0 0 100% 0.006
net.jini.id 1 0 0 0 100% 0.339
org.apache.river.api.security 45 0 0 0 100% 11.322
org.apache.river.api.io 5 0 0 0 100% 0.468

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% 1.181

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.339

org.apache.river.api.security

Class Tests Errors Failures Skipped Success Rate Time
AdvisoryPermissionParserTest 2 0 0 0 100% 0.001
ConcurrentPermissionsTest 8 0 0 0 100% 0.002
ConcurrentPolicyFileTest 4 0 0 0 100% 0
DefaultPolicyParserTest 1 0 0 0 100% 0.001
DelegatePermissionTest 3 0 0 0 100% 0
DelegateSecurityManagerTest 1 0 0 0 100% 0
PermissionCollectionTest 2 0 0 0 100% 0.001
Permissions_ImplTest 1 0 0 0 100% 0
PolicyEntryTest 2 0 0 0 100% 0
PolicyUtilsTest 11 0 0 0 100% 11.28
PrincipalGrantTest 5 0 0 0 100% 0.011
SegmentTest 4 0 0 0 100% 0.026
URIGrantTest 1 0 0 0 100% 0

org.apache.river.api.io

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

Test Cases

[Summary] [Package List] [Test Cases]

UuidTest

testToUri 0.339

GrantPermissionTest

implies 0
doesNotImplyFilePermissionsRWTest 0
verifyDoesImplyGrantPermissionTest 0.001
construct 0.005

AtomicMarshalInputStreamTest

testCreateObjectInputStream 0.382
testObjectOutputStreamCompatibility 0.005
testReadObject 0.003
testException 0.044

AtomicMarshalOutputStreamTest

testObjectInputStreamCompatibility 0.034

UriTest

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

AdvisoryPermissionParserTest

testGetEncoded_Permission 0
testParse 0.001

ConcurrentPermissionsTest

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

ConcurrentPolicyFileTest

testRefresh_Failure 0
testGetPermissions_ProtectionDomain 0
testGetPermissions_CodeSource 0
testRefresh 0

DefaultPolicyParserTest

testResolvePermission 0.001

DelegatePermissionTest

testGetPermission 0
testGet 0
testImplies 0

DelegateSecurityManagerTest

testCheckPermission 0

PermissionCollectionTest

test_toString 0
test_setReadOnly 0.001

Permissions_ImplTest

testImplies 0

PolicyEntryTest

testCtor 0
testImpliesPrincipals 0

PolicyUtilsTest

testInstantiatePermission 0
testExpand 0
testExpandFailed 0
testExpandURL 0
testMatchSubset 0
testExpandGeneral 0
testExpandGeneralFailed 0
testCanExpandProperties 0
testGetPolicyURLs01 1.743
testGetPolicyURLs02 6.931
testGetPolicyURLs03 2.606

PrincipalGrantTest

testEquals 0
testImplies_PrincipalArr 0
testGetBuilderTemplate 0
testGetPermissions 0
testSerialization 0.011

SegmentTest

divideAndReplace 0.004
divideAndReplaceNoArray 0.002
divideAndReplaceThrice 0.001
divideAndReplaceTwice 0.019

URIGrantTest

testImpliesPD 0