Skip to content

Test Result : ImmutablePolicyTest

0 failures (±0)
26 tests (±0)
Took 81 ms.

All Tests

Test nameDurationStatus
assertImmutability12 msPassed
ensureTwoPoliciesAreSemanticallyDifferentIfOneContainsMoreEntries1 msPassed
ensureTwoPoliciesAreSemanticallyDifferentIfResourcesDiffer1 msPassed
ensureTwoPoliciesAreSemanticallyDifferentIfSubjectIdsDiffer2 msPassed
ensureTwoPoliciesAreSemanticallyTheSameIfOnlySubjectPayloadDiffers1 msPassed
getEffectedPermissionsForNonExistingShouldBeEmpty0 msPassed
getEffectedPermissionsForWorks1 msPassed
modifyingTheEntrySetDoesNotModifyThePolicy1 msPassed
newPolicyIsEmpty4 msPassed
newPolicyWithoutID0 msPassed
policyWithImportReferencingSelfThrowsException1 msPassed
policyWithMaximumImportsReceivesOneMoreAndThrowsPolicyImportsTooLargeException1 msPassed
policyWithNoPolicyImportsReceivesTooManyAndThrowsPolicyImportsTooLargeException2 msPassed
policyWithTooManyImportsThrowsPolicyImportsTooLargeException1 msPassed
removeAllEntriesPolicyIsEmpty0 msPassed
removeEntryWorks0 msPassed
removeResourceForShouldCopyExisting1 msPassed
removeSubjectForShouldCopyExisting17 msPassed
setResourceForShouldCopyExisting1 msPassed
setResourcesForWorks1 msPassed
setSubjectForShouldAddNewEntry1 msPassed
setSubjectForShouldCopyExisting4 msPassed
setSubjectsForWorks2 msPassed
testHashCodeAndEquals24 msPassed
testToAndFromJson1 msPassed
testToAndFromJsonWithSpecialFields2 msPassed