Skip to content

Test Result : ImmutablePolicyTest

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

All Tests

Test nameDurationStatus
assertImmutability14 msPassed
ensureTwoPoliciesAreSemanticallyDifferentIfOneContainsMoreEntries1 msPassed
ensureTwoPoliciesAreSemanticallyDifferentIfResourcesDiffer1 msPassed
ensureTwoPoliciesAreSemanticallyDifferentIfSubjectIdsDiffer2 msPassed
ensureTwoPoliciesAreSemanticallyTheSameIfOnlySubjectPayloadDiffers1 msPassed
getEffectedPermissionsForNonExistingShouldBeEmpty0 msPassed
getEffectedPermissionsForWorks1 msPassed
modifyingTheEntrySetDoesNotModifyThePolicy1 msPassed
newPolicyIsEmpty2 msPassed
newPolicyWithoutID0 msPassed
policyWithImportReferencingSelfThrowsException1 msPassed
policyWithMaximumImportsReceivesOneMoreAndThrowsPolicyImportsTooLargeException1 msPassed
policyWithNoPolicyImportsReceivesTooManyAndThrowsPolicyImportsTooLargeException2 msPassed
policyWithTooManyImportsThrowsPolicyImportsTooLargeException0 msPassed
removeAllEntriesPolicyIsEmpty0 msPassed
removeEntryWorks0 msPassed
removeResourceForShouldCopyExisting1 msPassed
removeSubjectForShouldCopyExisting1 msPassed
setResourceForShouldCopyExisting2 msPassed
setResourcesForWorks1 msPassed
setSubjectForShouldAddNewEntry0 msPassed
setSubjectForShouldCopyExisting1 msPassed
setSubjectsForWorks2 msPassed
testHashCodeAndEquals22 msPassed
testToAndFromJson2 msPassed
testToAndFromJsonWithSpecialFields32 msPassed