Skip to content

Test Result : ImmutableJsonObjectTest

0 failures (±0)
82 tests (±0)
Took 0.17 sec.

All Tests

Test nameDurationStatus
assertImmutability14 msPassed
checkUnsupportedOperations2 msPassed
containsJsonPointerReturnsExpected1 msPassed
containsWithEmptyJsonPointerReturnsExpected1 msPassed
createJsonObjectFromStringWhereFieldValueIsStringNull0 msPassed
emptyAndNonexistentPointersHaveNoEffectInFieldSelector1 msPassed
getEmptyInstanceReturnsExpected0 msPassed
getEmptyJsonObjectIfJsonPointerPointsAtNonExistingValue1 msPassed
getExistingValueByKeyReturnsExpected1 msPassed
getExistingValueByName0 msPassed
getExistingValueForPointerReturnsExpected2 msPassed
getFieldWithEmptyStringReturnsEmptyOptional0 msPassed
getFieldWithSlashJsonKeyReturnsExpected0 msPassed
getFieldWithSlashStringReturnsEmptyOptional0 msPassed
getInstanceReturnsExpected1 msPassed
getKeysReturnsExpected0 msPassed
getNestedFieldWithJsonPointerReturnsExpected1 msPassed
getNonExistingValueByNameReturnsEmptyOptional0 msPassed
getReturnsExpected0 msPassed
getValueForEmptyJsonPointerReturnsEmptyOptional0 msPassed
getValueWithEmptyStringReturnsEmptyOptional0 msPassed
getValueWithPointerFromJsonObjectWithJsonArrayAtSomePointerLevel5 msPassed
getWithEmptyFieldSelectorReturnsEmptyObject0 msPassed
getWithEmptyJsonFieldSelectorReturnsEmptyJsonObject0 msPassed
getWithFieldSelectorOnEmptyObjectReturnsEmptyObject0 msPassed
getWithJsonFieldSelectorReturnsExpected13 msPassed
getWithJsonPointerReturnsExpected7 msPassed
iteratorDoesNotAllowChangingTheJsonObject0 msPassed
iteratorWorksAsExpected0 msPassed
jsonObjectsNestedInArraysShouldCompareWithoutFieldDefinitions8 msPassed
objectIsNothingElse2 msPassed
orderOfFieldsDoesNotAffectEquality1 msPassed
partiallyIntersectingPointersHaveNoEffectInFieldSelector1 msPassed
removeEmptyJsonPointerReturnsSameInstance0 msPassed
removeExistingValueByPointerReturnsExpected4 msPassed
removeNonExistingJsonFieldByKeyReturnsSameJsonObject0 msPassed
removeNonExistingJsonFieldByNameReturnsSameJsonObject0 msPassed
removingExistingJsonFieldByNameReturnsDisjunctJsonObject1 msPassed
removingSubAttributesWorksAsExpected0 msPassed
setAllJsonFieldsWorksAsExpected7 msPassed
setAllWithEmptyJsonFieldIterableReturnsSameJsonObject1 msPassed
setAttributeByPointerToExistingJsonObject1 msPassed
setBooleanCreatesDisjunctJsonObject0 msPassed
setDoubleCreatesDisjunctJsonObject1 msPassed
setExistingFieldWithJsonPointerWorksAsExpected1 msPassed
setExistingIntReturnsSameInstance1 msPassed
setFieldAppendsFieldIfNoPreviousFieldWithSameKeyExists0 msPassed
setFieldReplacesExistingFieldWithSameKey0 msPassed
setFieldTwiceReturnsSameInstance0 msPassed
setIntCreatesDisjointJsonObject1 msPassed
setIntWithKeyContainingSlashes0 msPassed
setLongCreatesDisjunctJsonObject0 msPassed
setNonExistingFieldWithJsonPointerWorksAsExpected1 msPassed
setStringCreatesDisjunctJsonObject10 msPassed
setValueThroughPointerOnEmptyJsonObject1 msPassed
setValueThroughPointerOnNonEmptyJsonObject0 msPassed
setValueViaFieldDefinitionOnEmptyObject1 msPassed
setValueViaFieldDefinitionOnNonEmptyObject2 msPassed
setValueWithJsonPointerToEmptyJsonObject2 msPassed
setValueWithJsonPointerToExistingJsonObject1 msPassed
setValueWithSlashJsonKeyWorksAsExpected0 msPassed
setWorksAsExpected0 msPassed
shouldHandleOverlappingFieldSelectors1 msPassed
testHashCodeAndEquals71 msPassed
toStringReturnsExpected0 msPassed
tryToAddAllWithNullJsonFieldsIterable0 msPassed
tryToCallContainsWithNullJsonPointer0 msPassed
tryToGetInstanceFromNullJsonObject0 msPassed
tryToGetJsonObjectWithEmptyJsonPointer0 msPassed
tryToGetJsonObjectWithNullJsonFieldSelector0 msPassed
tryToGetJsonObjectWithNullJsonPointer0 msPassed
tryToGetValueByNullKey0 msPassed
tryToGetValueByNullName0 msPassed
tryToGetValueForNullJsonPointer0 msPassed
tryToRemoveJsonFieldByNullKey0 msPassed
tryToRemoveJsonFieldByNullName0 msPassed
tryToRemoveWithNullJsonPointer0 msPassed
tryToSetIntValueWithEmptyKey1 msPassed
tryToSetIntValueWithNullKey0 msPassed
tryToSetValueWithEmptyJsonPointer1 msPassed
tryToSetValueWithNullJsonPointer1 msPassed
tryToSetValueWithSlashCharSequence1 msPassed