Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
1024 0 0 5 99.512% 10.752

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.johnzon.jsonb 151 0 0 1 99.338% 1.167
org.apache.johnzon.jsonp.strict 10 0 0 0 100% 0.076
org.apache.johnzon.jsonschema 25 0 0 0 100% 0.105
org.apache.johnzon.maven.plugin 3 0 0 0 100% 0.229
org.apache.johnzon.jsonlogic 41 0 0 0 100% 0.175
org.apache.johnzon.jaxrs.jsonb.jaxrs 5 0 0 0 100% 0.006
org.apache.johnzon.jsonb.serializer 1 0 0 0 100% 0.012
org.apache.johnzon.jsonb.jaxrs 8 0 0 0 100% 0.314
org.apache.johnzon.mapper.internal 1 0 0 0 100% 0
org.apache.johnzon.jsonb.api.experimental 7 0 0 0 100% 0.025
org.apache.johnzon 2 0 0 0 100% 0.01
org.apache.johnzon.mapper.converter 5 0 0 0 100% 0.007
org.apache.johnzon.jaxrs 14 0 0 0 100% 0.414
org.apache.johnzon.jsonschema.regex 2 0 0 0 100% 0.521
org.apache.johnzon.mapper 231 0 0 2 99.134% 2.061
org.apache.johnzon.jaxrs.xml 1 0 0 0 100% 0.096
org.superbiz 1 0 0 0 100% 0.002
org.apache.johnzon.jsonb.extras.polymorphism 2 0 0 0 100% 0.171
org.apache.johnzon.websocket 2 0 0 0 100% 4.111
org.apache.johnzon.core 512 0 0 2 99.609% 1.25

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

org.apache.johnzon.jsonb

Class Tests Errors Failures Skipped Success Rate Time
FailOnUnknownPropertiesTest 1 0 0 0 100% 0.003
CustomParameterizedTypeTest 1 0 0 0 100% 0.005
JsonbTransientTest 2 0 0 0 100% 0.006
TransientTest 1 0 0 0 100% 0.004
DefaultMappingTest 15 0 0 1 93.333% 0.045
AdapterTest 7 0 0 0 100% 0.026
EnumTest 1 0 0 0 100% 0.005
JohnzonIgnoreNestedTest 1 0 0 0 100% 0.004
NillableTest 3 0 0 0 100% 0.005
GenericsTest 1 0 0 0 100% 0.005
OrderTest 2 0 0 0 100% 0.012
AnnotationOrderTest 1 0 0 0 100% 0.007
DateFormatTest 5 0 0 0 100% 0.047
ObjectSerializationTest 6 0 0 0 100% 0.01
JsonbJsonValueTest 2 0 0 0 100% 0.007
TimezoneTest 2 0 0 0 100% 0.004
JsonbWriteTest 15 0 0 0 100% 0.042
EnumConverterTest 2 0 0 0 100% 0.006
AnySupportTest 3 0 0 0 100% 0.013
JsonbTypesTest 2 0 0 0 100% 0.246
JohnzonJsonbTest 20 0 0 0 100% 0.044
NumberFormatTest 2 0 0 0 100% 0.014
CdiAdapterTest 1 0 0 0 100% 0.234
FloatTest 1 0 0 0 100% 0.003
HierarchySerializationTest 1 0 0 0 100% 0.003
OverrideDefaultAdaptersTest 1 0 0 0 100% 0.004
InterfaceMappingTest 1 0 0 0 100% 0.002
SerializerTest 12 0 0 0 100% 0.064
SerializersRoundTripTest 2 0 0 0 100% 0.016
DynamicBufferResizingTest 3 0 0 0 100% 0.145
ConstructorVisibilityTest 2 0 0 0 100% 0.012
PolymorphicConfigTest 1 0 0 0 100% 0.01
HiddingPublicFieldTest 1 0 0 0 100% 0.005
JohnzonConverterInJsonbTest 2 0 0 0 100% 0.009
JsonbReadTest 11 0 0 0 100% 0.038
JsonbRecordTest 1 0 0 0 100% 0.011
PropertyNamingStrategyFactoryTest 1 0 0 0 100% 0.007
ParserGeneratorMappingTest 2 0 0 0 100% 0.005
IJsonTest 4 0 0 0 100% 0.012
GenericAdapterTest 1 0 0 0 100% 0.006
JohnzonProviderTest 2 0 0 0 100% 0
JsonbVisitilityTest 2 0 0 0 100% 0.004
ClassConverterTest 2 0 0 0 100% 0.011
DefaultPropertyVisibilityStrategyTest 2 0 0 0 100% 0.006

org.apache.johnzon.jsonp.strict

Class Tests Errors Failures Skipped Success Rate Time
StrictJsonPointerFactoryTest 10 0 0 0 100% 0.076

org.apache.johnzon.jsonschema

Class Tests Errors Failures Skipped Success Rate Time
JsonSchemaValidatorTest 25 0 0 0 100% 0.105

org.apache.johnzon.maven.plugin

Class Tests Errors Failures Skipped Success Rate Time
PojoToJsonSchemaMojoTest 1 0 0 0 100% 0.139
ExampleToModelMojoTest 2 0 0 0 100% 0.09

org.apache.johnzon.jsonlogic

Class Tests Errors Failures Skipped Success Rate Time
JohnzonJsonLogicTest 41 0 0 0 100% 0.175

org.apache.johnzon.jaxrs.jsonb.jaxrs

Class Tests Errors Failures Skipped Success Rate Time
JsonbJaxrsProviderTest 5 0 0 0 100% 0.006

org.apache.johnzon.jsonb.serializer

Class Tests Errors Failures Skipped Success Rate Time
DeserializationContextTest 1 0 0 0 100% 0.012

org.apache.johnzon.jsonb.jaxrs

Class Tests Errors Failures Skipped Success Rate Time
JsonbJaxRsTest 8 0 0 0 100% 0.314

org.apache.johnzon.mapper.internal

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

org.apache.johnzon.jsonb.api.experimental

Class Tests Errors Failures Skipped Success Rate Time
JsonbExtensionTest 7 0 0 0 100% 0.025

org.apache.johnzon

Class Tests Errors Failures Skipped Success Rate Time
RecursivePolymorphismTest 2 0 0 0 100% 0.01

org.apache.johnzon.mapper.converter

Class Tests Errors Failures Skipped Success Rate Time
EnumConverterTest 2 0 0 0 100% 0
StringerTest 2 0 0 0 100% 0.003
TimestampAdapterTest 1 0 0 0 100% 0.004

org.apache.johnzon.jaxrs

Class Tests Errors Failures Skipped Success Rate Time
ConfigurableJohnzonProviderTest 4 0 0 0 100% 0.079
JohnzonProviderTest 8 0 0 0 100% 0.048
JsrProviderTest 2 0 0 0 100% 0.287

org.apache.johnzon.jsonschema.regex

Class Tests Errors Failures Skipped Success Rate Time
JsRegexTest 2 0 0 0 100% 0.521

org.apache.johnzon.mapper

Class Tests Errors Failures Skipped Success Rate Time
CircularObjectsTest 4 0 0 0 100% 0.007
ObjectConverterTest 1 0 0 0 100% 0.003
JsonpIntegrationTest 1 0 0 0 100% 0.001
JohnzonIgnoreNestedTest 1 0 0 0 100% 0.004
MetaMapperTest 1 0 0 0 100% 0.009
OverflowTest 1 0 0 0 100% 0.065
JPATest 1 0 0 0 100% 1.289
LocaleTest 1 0 0 0 100% 0.002
AdapterTest 1 0 0 0 100% 0.003
AdderTest 2 0 0 0 100% 0.015
ObjectTypeTest 20 0 0 1 95% 0.154
CircularExceptionTest 1 0 0 0 100% 0.006
ObjectSerializationTest 6 0 0 0 100% 0.005
LiteralTest 4 0 0 0 100% 0.007
ObjectConverterWithAnnotationTest 20 0 0 0 100% 0.057
MapingsKeyCacheForParameterizedTypesTest 1 0 0 0 100% 0.003
MapperEnhancedTest 7 0 0 0 100% 0.016
MapperGenericsTest 12 0 0 0 100% 0.022
ReadPrimitiveTest 8 0 0 0 100% 0.003
JohnzonAnyMappingTest 1 0 0 0 100% 0.006
NumberSerializationTest 2 0 0 0 100% 0.013
MapperConfigTest 7 0 0 0 100% 0.013
NullTest 12 0 0 0 100% 0.017
NoWarningTest 2 0 0 0 100% 0.016
GetterSetterRespectTest 1 0 0 0 100% 0.002
EnumTest 8 0 0 0 100% 0.014
GenericsTest 6 0 0 0 100% 0.027
RecordTest 1 0 0 0 100% 0.022
MapperPerformanceTest 1 0 0 1 0% 0
AdvancedGenericsTest 24 0 0 0 100% 0.033
CustomEnumCodecTest 2 0 0 0 100% 0.003
JsonGeneratorCloseTest 12 0 0 0 100% 0.042
MapperVersionTest 5 0 0 0 100% 0.017
SerializeValueFilterTest 1 0 0 0 100% 0.002
StreamTest 1 0 0 0 100% 0.01
MapperTest 51 0 0 0 100% 0.136
IndirectAdapterTest 1 0 0 0 100% 0.017

org.apache.johnzon.jaxrs.xml

Class Tests Errors Failures Skipped Success Rate Time
WadlDocumentToJsonTest 1 0 0 0 100% 0.096

org.superbiz

Class Tests Errors Failures Skipped Success Rate Time
ExtendMappingTest 1 0 0 0 100% 0.002

org.apache.johnzon.jsonb.extras.polymorphism

Class Tests Errors Failures Skipped Success Rate Time
PolymorphicTest 2 0 0 0 100% 0.171

org.apache.johnzon.websocket

Class Tests Errors Failures Skipped Success Rate Time
MapperCodecTest 1 0 0 0 100% 0.463
JsrCodecTest 1 0 0 0 100% 3.648

org.apache.johnzon.core

Class Tests Errors Failures Skipped Success Rate Time
JsonMergeBatchDiffTest 1 0 0 0 100% 0
SerializationTest 7 0 0 0 100% 0.018
ManualTckTest 1 0 0 0 100% 0
JsonPatchTest 47 0 0 0 100% 0.015
JsonPointerTest 70 0 0 0 100% 0.026
JsonParserTest 153 0 0 0 100% 0.117
JsonBuilderFactoryTest 1 0 0 0 100% 0
JsonProviderTest 6 0 0 0 100% 0
HStackTest 1 0 0 0 100% 0
JsonObjectBuilderImplTest 8 0 0 0 100% 0.001
LocationTest 4 0 0 0 100% 0.021
TypesTest 1 0 0 0 100% 0.004
JsonCollectorTest 4 0 0 0 100% 0.011
BrokenDefaultTest 1 0 0 1 0% 0
JsonObjectImplTest 18 0 0 0 100% 0.004
JsonStreamParserImplTest 1 0 0 0 100% 0
JsonPatchDiffTest 18 0 0 1 94.444% 0.009
JsonPointerUtilTest 13 0 0 0 100% 0.003
JsonMergeBatchTest 3 0 0 0 100% 0.003
JsonNumberTest 6 0 0 0 100% 0.058
JsonWriterImplTest 8 0 0 0 100% 0
JsonArrayBuilderImplTest 22 0 0 0 100% 0.012
JsonPatchBuilderTest 31 0 0 0 100% 0.005
BufferStrategyFactoryTest 4 0 0 0 100% 0.002
JsonReaderImplTest 36 0 0 0 100% 0.808
JsonGeneratorImplTest 35 0 0 0 100% 0.018
JsonArrayImplTest 4 0 0 0 100% 0.002
OverflowTest 3 0 0 0 100% 0.104
JsonParserStreamingTest 5 0 0 0 100% 0.009

Test Cases

[Summary] [Package List] [Test Cases]

JsonMergeBatchDiffTest

testAddDiff 0

SerializationTest

jsonLong 0.011
jsonArray 0.002
jsonDouble 0.001
jsonNumber 0.003
jsonObject 0
jsonString 0.001
primitiveInObject 0

ManualTckTest

jsonParser11Test 0

JsonPatchTest

testMovingObjectMemberNonexistingFrom 0.001
testAddArrayElementAppend 0
testCopyArrayMemberPlainArray 0
testCopyObjectMemberFromNonexistentTarget 0.001
testRemoveObjectElementNonexistentTarget 0
testAddArrayElementToEmptyArray 0
testCopyObjectMemberToObjectMember 0.001
testTestingObjectMemberValueFailed 0
testReplacingObjectAttribute 0.001
testReplacingArrayElementIndexOutOfBounds 0.001
testCopyObjectMemberToNonexistingTarget 0
testCreatePatch 0.001
testAddArrayIndexOutOfBounds 0
testTestingArrayElementSuccess 0
testMovingObjectMember 0.001
testPatchWithMoreOperations 0.001
testAddNonexistentTarget 0
testRemoveObjectMember 0
testReplacingArrayElement 0
testReplacingObjectMemberNonexistingTarget 0.001
testTestingArrayAsObjectMemberSuccess 0
testRemoveArrayElementIndexOutOfBounds 0
testAddObjectMemberAlreadyExists 0
testTestingArrayElementIndexOutOfBounds 0
testCopyArrayMemberFromIndexOutOfBounds 0
testAddToRootContainingEmptyJsonObject 0.001
testAddObjectMember 0
testRemoveArrayElementPlainArray 0
testCopyArrayMember 0
testAddArrayElementPlainArray 0
testTestingObjectMemeberNonexistentTarget 0
testCopyObjectMember 0
testReplacingArrayElementPlainArray 0.001
testAddArrayElementWithIndex 0
testReplacingObjectMember 0
testMovingObjectMemberNonexistingTarget 0
testMovingArrayElementPlainArray 0
testReplacingArrayElementAttribute 0.001
testTestingObjectMemberValueSuccess 0
testTestingArrayElementPlainArrayFailed 0
testCopyArrayMemberToIndexOutOfBounds 0
testMovingArrayElement 0
testMovingArrayElementToObjectMember 0.001
testTestingArrayElementPlainArraySuccess 0
testTestingArrayAsObjectMemberFailed 0
testMovingObjectMemberMoveToSubFrom 0
testRemoveArrayElement 0

JsonPointerTest

testGetValueWithElementNotExistent 0.001
testAddObjectMemberWithNonexistentTarget 0.001
testRemoveObjectWithInNestedArray 0
testAddArrayElementWithIndexNoNumber 0.001
testRemoveJsonArrayWithEmptyJsonPointer 0
testReplaceJsonObjectWithTargetNull 0
testAddLastArrayElement2 0
testEqualsFalse 0
testRemoveJsonObjectWithEmptyJsonPointer 0.001
testRemoveFieldMemberWithInNestedArray 0
testRemoveArrayElementWithInvalidIndex 0
testAddLastArrayElement 0.001
testReplaceObjectMemberWithNonexistentTarget1 0
testReplaceObjectMemberWithNonexistentTarget2 0
testAddArrayElement 0.001
testGetValueWithJsonArray 0.001
testAddJsonObjectWithTargetNull 0
testAddArrayElementWithInvalidIndex 0
testRemoveFieldMemberWithObjectAndArray 0
testRemoveObjectWithInNestedArrayAndResusableJsonPointer 0.002
testGetValueWithWholeJsonArray 0
testReplaceArrayElementWithIndexNoNumber 0.001
testReplaceJsonObjectWithEmptyJsonPointer 0
testRemoveObjectMember 0
testAddArray 0
testRemoveJsonArrayWithTargetNull 0
testConstructorWithJsonPointerNull 0
testReplaceJsonArrayWithTargetNull 0
testAddJsonArrayWithTargetNull 0
testEqualsTrue 0
testRemoveArrayElementWithLeadingZeroIndex 0.001
testReplaceArrayElement 0
testReplaceJsonArrayWithEmptyJsonPointer 0
testAddObjectMemberToNestedObject 0.001
testGetValueWithJsonArrayIndexOutOfRange 0
testRemoveLastArrayElementFromEmptySimple 0.001
testAddObjectMember 0
testAddObject 0
testRemoveLastArrayElementSimpleWithPatch 0
testReplaceArrayElementWithInvalidIndex 0.001
testGetValueWithWholeDocument 0
testReplaceArrayElementWithLeadingZeroIndex 0
testAddArrayElementWithLeadingZeroIndex 0.001
testAddArrayElementWithIndexOutOfRange 0
testConstructorWithInvalidJsonPointer 0
testAddLastArrayElementSimple 0
testRemoveJsonObjectWithTargetNull 0.001
testGetValueWithTargetNull 0
testAddJsonStructureWithEmptyJsonPointer 0
testGetValue0 0
testGetValue1 0.001
testGetValue2 0
testGetValue3 0
testGetValue4 0.001
testGetValue5 0
testGetValue6 0
testGetValue7 0
testGetValue8 0.001
testAddFirstObjectMember 0
testRemoveArrayElementWithIndexOutOfRange 0
testAddJsonStructureWithTargetNull 0
testGetValueWithJsonArrayLeadingZeroIndex 0.001
testReplaceObjectMember 0
testGetValueFromNestedObject 0
testRemoveArrayElementWithIndexNoNumber 0.001
testAddReplaceObjectMember 0
testReplaceArrayElementWithIndexOutOfRange 0
testGetValueWithJsonArrayIndexNoNumber 0.001
testGetValueWithJsonArrayInvalidIndex 0
testRemoveArrayElement 0

JsonParserTest

avoidBufferStrategyLeaks 0.002
bufferOverFlow2 0
numbers 0
testStreamReadNotAllBytes 0.001
testEmptyArray 0
simpleAttempting 0.001
objectFollowedByGarbage1 0
objectFollowedByGarbage2 0
objectFollowedByGarbage3 0.001
objectFollowedByGarbage4 0
objectFollowedByGarbage5 0
objectFollowedByGarbage6 0.001
objectFollowedByGarbage7 0
dosProtected 0.002
testSkipArray 0.001
escapedStringAwareParser 0
testGetValueOfStringType 0.001
testUTF8Stream 0.001
invalidObject 0
fail10 0
fail11 0.001
fail12 0
fail13 0.001
fail14 0
fail15 0
fail16 0.001
fail17 0
fail18 0
fail19 0
fail20 0.001
fail21 0
fail22 0
fail23 0
fail24 0
fail25 0
fail26 0
fail27 0.001
fail28 0
fail29 0
fail30 0
fail31 0.001
fail32 0
fail33 0.001
fail34 0
fail35 0
fail36 0.001
fail37 0
fail38 0.001
fail39 0
fail40 0
fail41 0.001
fail42 0
fail43 0.001
fail44 0
fail45 0.001
fail46 0
fail47 0.001
fail48 0
fail49 0
fail50 0.001
fail53 0
fail54 0
fail55 0
fail56 0.001
fail57 0.027
fail58 0
fail59 0
fail60 0.001
fail61 0
fail62 0
fail63 0
fail64 0.001
fail65 0
fail66 0
fail67 0
fail68 0.001
fail69 0
fail70 0
fail71 0.001
fail72 0
maxStringNumberFail 0
threeLiterals 0.001
invalidString 0
zeroCharInput 0
nested 0.001
objectFollowedByGarbage 0
missingClosingObject 0
invalidArrayMissingSeparator 0
simple 0.001
maxStringStringOK 0
literalFailChecksNull 0
literalFailChecksTrue 0
testSkipObject 0
invalidArrayMissingKeyname 0
maxStringWhitespace 0
testGetValueOfIntegerType 0.001
testGetValueOfFalseType 0
zeroByteInput 0
testGetValueOfNumberType 0
testUTF32LEBOMStream 0.001
testUTF32BEStream 0.001
maxStringNumberOK 0
bigInteger 0.001
invalidLiteral 0
testUTF32LEStream 0
escapeStart 0
array 0.002
fail1 0
fail2 0
fail3 0
fail4 0.001
fail5 0
fail6 0
fail7 0.001
fail8 0
fail9 0
testUTF8BEBOMStream 0.001
invalidEmptyObject 0
arrayFollowedByGarbage1 0
arrayFollowedByGarbage2 0.001
testBinaryNullStream 0
testIOException 0.001
testUTF32BEBOMStream 0
invalidArray 0
simpleUTF16LEAutoDetect 0
simpleInMemory 0.001
hasNext 0
stringescapeVariousBufferSizesBogus 0.023
testUTF16LEBOMStream 0.001
invalidKeyWithoutValue 0
testParseGetObject 0
testUTF16Stream 0
simpleUTF16LE 0
emptyObject 0
testGetValueOfTrueType 0
objectPrependedByGarbage7 0
plainValues 0.001
testBinaryNullStreamBOM 0
testUTF16BEStream 0.001
testUTF16BEBOMStream 0
commaChecks 0
shortestNonEmtyJsonFile 0
shortestNonEmtyJsonFileWithWhiteSpaceChars 0
testUTF16LEStream 0.001
testSlowIs 0
bufferOverFlow 0
testGetValueOfNullType 0
escaping 0
maxStringStringFail 0.001
isIntegralThrowsISE 0
arrayFollowedByGarbage 0
escapeStart2 0
bigdecimal 0.001

JsonBuilderFactoryTest

testCreateBuilderFactory 0

JsonProviderTest

testJsonCreateValueDouble 0
testJsonCreateValueString 0
testJsonCreateValueLong 0
testJsonCreateValueInt 0
testJsonCreateValueBigDecimal 0
testJsonCreateValueBigInteger 0

HStackTest

normalUse 0

JsonObjectBuilderImplTest

rejectedKeys 0
testCreateObjectBuilderWithMapFlatItems 0
testBuild 0
testNullCheckName 0.001
createObjectBuilderMapSupport 0
testNullCheckValue 0
testAddAll 0
testRemove 0

LocationTest

simpleLocation 0
testLocationOnParsingException 0.003
failBytesInput 0.001
simpleLocationCrossingBufferBoundaries 0.017

TypesTest

test 0.003

JsonCollectorTest

testToJsonObject 0.003
testGroupingByJsonObject 0.004
testToJsonObjectCustomKeyAndValueMapper 0.002
testToJsonArray 0.002

BrokenDefaultTest

run 0
buggy but pushing to share the use case

JsonObjectImplTest

boolErrors 0
testGetBooleanMissingKeyShouldThrowNullPointerException 0
testGetStringWithDefaultShouldReturnDefault 0
testToStringShouldReturnEscapedKey 0
testGetJsonArrayMissingKeyShouldReturnNull 0
testToStringShouldReturnEscapedValue 0
testIsNullShouldReturnFalse 0
testIsNullMissingKeyShouldThrowNullPointerException 0
testGetIntWithDefaultShouldReturnDefault 0.001
testGetJsonStringMissingKeyShouldReturnNull 0
testGetBooleanWithDefaultMissingKeyShouldReturnDefault 0
testIsNullShouldReturnTrue 0
testGetJsonNumberMissingKeyShouldReturnNull 0
reuseObjectBuilder 0.002
testGetJsonObjectMissingKeyShouldReturnNull 0.001
testGetIntMissingKeyShouldThrowNullPointerException 0
testGetStringMissingKeyShouldThrowNullPointerException 0
objectToString 0

JsonStreamParserImplTest

ensureNoArrayBoundErrorWhenOverflow 0

JsonPatchDiffTest

testAddDiffNewObjectWithEscaping 0.002
testAddDiff 0.001
testAddObjectToArray 0
testDiffReplaceObject 0.001
testAddDiffInNestedObject 0
testDiffReplaceFromNestedObject 0.001
testRemoveObjectFromArray 0
testComplexDiff 0
testAddDiffNewObject 0.001
testRemoveDiffNestedObject 0
testDiffMoveValue 0
skipped
fromEmptyArray 0
nestedObjects 0.001
testDiffEqualObjects 0
testRemoveDiffObject 0
toEmptyArray 0
testAddValueToArray 0
testRemoveValueFromArray 0

JsonPointerUtilTest

testDecodeEmptyString 0
testDecodeNull 0
testEncodeNull 0.001
testEncodeFirstTransformation 0
testEncodeEmptyString 0
testEncodeSecondTransformation 0
testDecodeWholeTransformation 0
testEncodeNoTransformation 0.001
testDecodeNoTransformation 0
testDecodeSecondTransformation 0
someComplexRoundTrip 0
testEncodeWholeTransformation 0
testDecodeFirstTransformation 0

JsonMergeBatchTest

testSimpleJsonObjectMergePatch 0.001
testApplyObjectOnValue 0.001
testApplyValueOnObject 0.001

JsonNumberTest

testBigIntegerButFromJustALongTooLong 0.031
equals 0.001
testBigIntegerExact 0.001
testBigInteger 0
nonZeroFractional 0.001
testHashCode 0.001

JsonWriterImplTest

objectWriter 0
stringValueWriter 0
nullValueWriter 0
nonIntegralNumberValueWriter 0
arrayValueWriter 0
integralNumberValueWriter 0
trueValueWriter 0
falseValueWriter 0

JsonArrayBuilderImplTest

boolJsonValueArray 0
numJsonValueArray 0.001
nullArrayNonChaining 0
addDoubleNpeIfNaN 0
emptyArray 0.001
addBINpeIfNull 0
addJVNpeIfNull 0
addJABuilderNpeIfNull 0.001
escapedStringArray 0
array 0
addBDNpeIfNull 0.001
emptyArrayInEmtyArray 0
nullJsonValueArray 0
arrayInArray 0.001
testCreateArrayBuilderWithJsonArrayInitialData 0
addStringNpeIfNull 0
nullArray 0
testCreateArrayBuilderWithCollectionInitialData 0.001
addJOBuilderNpeIfNull 0
addDoubleNpeIfNegIfinite 0
addDoubleNpeIfPosInfinite 0.001
arrayObjectInArray 0

JsonPatchBuilderTest

testPatchBuilderAddJsonArray 0.001
testPatchBuilderTestJsonObject 0
testPatchBuilderWithJsonArrayInitialData 0
testPatchBuilderReplaceJsonObject 0.001
testPatchBuilderAddJsonObject 0
testPatchBuilderReplaceInt 0
testPatchBuilderTestMissingPath 0
testPatchBuilderAddString 0
testPatchBuilderReplaceBoolean 0
testPatchBuilderTestInt 0
testPatchBuilderReplaceString 0.001
testPatchBuilderReplaceJsonArray 0
testPatchBuilderAddInt 0
testPatchBuilderCopyMissingFrom 0
testPatchBuilderCopyMissingPath 0
testPatchBuilderRemove 0
testPatchBuilderAddMissingPath 0.001
testPatchBuilderReplaceMissingPath 0
testPatchBuilderAddStringNull 0
testPatchBuilderRemoveMissingPath 0
testPatchBuilderCopy 0
testPatchBuilderMove 0
testPatchBuilderTestBoolean 0
testPatchBuilderTestString 0
testPatchBuilderAddJsonValueNull 0.001
testPatchBuilderMoveMissingFrom 0
testPatchBuilderMoveMissingPath 0
testPatchBuilderAddBoolean 0
testPatchBuilderWithinitialData 0
testPatchBuilderTestJsonArray 0
testPatchBuilderTestJsonValue 0

BufferStrategyFactoryTest

testDefaultStrategies 0
testFqcnBufferStrategy 0.001
testNotExistingStrategy 0
testJsonGeneratorStrategyFromClass 0.001

JsonReaderImplTest

special 0.001
simple2BadBufferSize8 0.003
parseBigDecimal 0.001
emptyArrayOneCharBufferSize 0.001
testGrowingStringWithDifferentBufferSizes 0.246
rejectedKeys 0.001
parseTiny50BJsonFile 0
simpleValues 0.002
emptyZeroCharBuffersize 0
simpleBadBufferSize8 0.001
simpleBadBufferSize9 0.001
parseMedium11KbJsonFile 0.003
simple 0
unicodeFailAscii 0.001
unicodeWithIoReader 0
parseHuge1MbJsonFile 0.058
parseLarge130KbJsonFile 0.003
comments 0.001
parseBigDecimalArray 0.001
unicode 0
unicode2Bytes 0.001
unicode3Bytes 0
unicode4Bytes 0
specialWithStringAsByteArrayInputStream 0
specialKeysWithStringAsByteArrayInputStream 0
testInvalidNumber 0.001
stringescapeVariousBufferSizes 0.011
specialWithIoReader 0
testGrowingString 0.449
emptyStream 0
emptyOneCharBufferSize 0
badTypeArray 0
parseSmall3KbJsonFile 0.001
specialWithStringReader 0
parseBig600KbJsonFile 0.014
badTypeObject 0.001

JsonGeneratorImplTest

numbers 0.001
stringArrayEscapes 0
numbers2 0
stringArray 0
writeBoolean 0.001
simpleArray 0
writeKeyWrite 0
testCreateGenerator 0.001
emptyArray 0
stringArrayEscapes2 0
pretty 0.001
emptyStringArray 0.001
writeKeyWriteNull 0
writeKeyWriteFormatted 0
unexpectedWriteEnd 0.001
notFluentGeneratorUsage 0
prettySimple 0
closeOnce 0
fail1 0
fail2 0
fail3 0
fail4 0
fail5 0
fail6 0
fail7 0.001
fail9 0
arrayInArray 0.001
prettyArray 0.002
writeNumber 0
errorWhenWritingValueInObject 0
generate 0
prettySimpleStructure 0
boolLiteralArray 0.001
prettySimpleWriter 0
nullLiteralArray 0

JsonArrayImplTest

equals 0
arrayIndex 0
emptyArray 0
arrayToString 0.001

OverflowTest

testVeryLargeJson 0.098
ko 0.005
ok 0.001

JsonParserStreamingTest

testValueStream 0.003
parseEscapeCharacters 0.004
testValueStreamForArrays 0.001
testArrayStream 0.001
testValueStreamForObjects 0

CircularObjectsTest

testSimpleCyclicPersonAnnotatedDedup 0.002
testSimpleCyclicPerson 0.002
testComplexCyclicPerson 0.002
testCyclesInArrays 0.001

ObjectConverterTest

testObjectConverter 0.003

JsonpIntegrationTest

readAndWrite 0.001

JohnzonIgnoreNestedTest

ignoreNested 0.004

MetaMapperTest

customMappingAPI 0.009

OverflowTest

overflow 0.065

JPATest

ensureStateIsIgnoredAndDateIsCorrect 1.288

LocaleTest

roundTrip 0.002

AdapterTest

run 0.003

AdderTest

adderObject 0.013
adderString 0.002

ObjectTypeTest

testObjectConverterMapper[field] 0.055
testReadWithObjectConverter[field] 0.01
testWriteWithAdvancedObjectConverter[field] 0.001
testReadWithAdvancedObjectConverter[field] 0.004
testGenericList[field] 0
got: <false>, expected: is <true>
testObjectConverterMapper[method] 0.01
testReadWithObjectConverter[method] 0.002
testWriteWithAdvancedObjectConverter[method] 0
testReadWithAdvancedObjectConverter[method] 0.001
testGenericList[method] 0.006
testObjectConverterMapper[both] 0.003
testReadWithObjectConverter[both] 0.003
testWriteWithAdvancedObjectConverter[both] 0.001
testReadWithAdvancedObjectConverter[both] 0.001
testGenericList[both] 0.004
testObjectConverterMapper[strict-method] 0.003
testReadWithObjectConverter[strict-method] 0.001
testWriteWithAdvancedObjectConverter[strict-method] 0.001
testReadWithAdvancedObjectConverter[strict-method] 0.001
testGenericList[strict-method] 0.002

CircularExceptionTest

dontStackOverFlow 0.005

ObjectSerializationTest

nestedArrayString 0.002
stringBoolean 0.001
numberBoolean 0
arrayString 0
objectBoolean 0.001
primitiveBoolean 0

EnumConverterTest

fromEnumToString 0
fromStringToEnum 0

LiteralTest

readWhenUseBigDecimalForFloats 0.001
writeReadNumbersInf 0.002
writeReadIterables 0.001
writeReadNumbers 0.002

ObjectConverterWithAnnotationTest

testDeserializeObjectWithCollectionAndObjectConverter[0] 0.005
testDeserializeObjectWithAnnotatedConsturctorParameter[0] 0.002
testDeserializeWithObjectConverter[0] 0.001
testSerializeObjectWithCollectionAndObjectConverter[0] 0.005
testSerializeWithObjectConverter[0] 0.003
testDeserializeObjectWithCollectionAndObjectConverter[1] 0.005
testDeserializeObjectWithAnnotatedConsturctorParameter[1] 0.005
testDeserializeWithObjectConverter[1] 0.002
testSerializeObjectWithCollectionAndObjectConverter[1] 0.003
testSerializeWithObjectConverter[1] 0.002
testDeserializeObjectWithCollectionAndObjectConverter[2] 0.002
testDeserializeObjectWithAnnotatedConsturctorParameter[2] 0
testDeserializeWithObjectConverter[2] 0.001
testSerializeObjectWithCollectionAndObjectConverter[2] 0.002
testSerializeWithObjectConverter[2] 0.002
testDeserializeObjectWithCollectionAndObjectConverter[3] 0.003
testDeserializeObjectWithAnnotatedConsturctorParameter[3] 0.002
testDeserializeWithObjectConverter[3] 0.001
testSerializeObjectWithCollectionAndObjectConverter[3] 0.001
testSerializeWithObjectConverter[3] 0.001

MapingsKeyCacheForParameterizedTypesTest

ensureParameterizedTypeDontEndUpOnClass 0.003

MapperEnhancedTest

needConvertersForComplexTypes 0.003
writeNull 0
writeReadChar 0.003
writeReadSortedMap 0.002
writeReadSortedSet 0.003
writeTestclass 0.002
writeReadQueue 0.003

MapperGenericsTest

map[field] 0.003
base[field] 0.001
list[field] 0.001
map[method] 0.005
base[method] 0.002
list[method] 0.003
map[both] 0.001
base[both] 0.001
list[both] 0.002
map[strict-method] 0.001
base[strict-method] 0
list[strict-method] 0

ReadPrimitiveTest

testCharacter 0
testFloat 0
testShort 0
testByte 0.001
testLong 0
testBoolean 0
testDouble 0.001
testInteger 0

JohnzonAnyMappingTest

roundTrip 0.006

StringerTest

testSerialize 0.002
testDeserialize 0.001

NumberSerializationTest

toJson 0.004
numberFromJson 0.007

MapperConfigTest

testFindObjectConverterConverterOnlyForSuperclass 0.003
testFindObjectConverterConverterForMoreInterfaces 0.001
testFindObjectConverterConverterForInterface 0.001
testFindObjectConverterConverterForSpecificClass 0
testFindObjectConverterConverterForInterfaceAndClassConverterSubclasses 0
testfindObjectConverterConverterForObject 0
testFindObjectConverterConverterForInterfaceAndClass 0

TimestampAdapterTest

convert 0.004

NullTest

writeNullObjectSkipAll 0.002
writeNullObjectDefaultMapAllowNull 0.002
writeNullObjectAllowNull 0.001
writeNullObjectAllowNullSkipEmptyArray 0.001
writeArrayWithNullWithinMap 0
writeListWithNullWithinType 0.003
writeListWithNullWithinMap 0.001
writeNullObjectDefaultMap 0.002
writeListWithNull 0.001
writeArrayWithNull 0.001
writeArrayWithNullWithinType 0.001
writeNullObjectDefault 0.001

NoWarningTest

noWarn 0.001
warn 0.013

GetterSetterRespectTest

run 0.002

EnumTest

testSimpleEnumAccessModeField 0.002
testEnumSet 0.002
testSimpleEnumAccessModeBoth 0.002
testAdvancedEnumAccessModeBoth 0.002
testSimpleEnumWithCollectionAccessModeBoth 0.002
testSimpleEnumWithCollectionAccessModeField 0.001
testAdvancedEnumAccessModeField 0.001
testUnknownEnumValue 0.001

GenericsTest

typeVariableMultiLevel 0.01
noVariable 0.004
multipleBounds 0.002
wildcardGeneric 0.004
genericClasses 0.005
missingGeneric 0.002

RecordTest

roundTrip 0.022

AdvancedGenericsTest

testDeserializeHierarchyThree[field] 0.002
testSerializeHierarchyThree[field] 0.001
testSerializeHierarchyOne[field] 0
testSerializeHierarchyTwo[field] 0
testDeserializeHierarchyOne[field] 0.002
testDeserializeHierarchyTwo[field] 0.001
testDeserializeHierarchyThree[method] 0.005
testSerializeHierarchyThree[method] 0.001
testSerializeHierarchyOne[method] 0
testSerializeHierarchyTwo[method] 0
testDeserializeHierarchyOne[method] 0.001
testDeserializeHierarchyTwo[method] 0.002
testDeserializeHierarchyThree[both] 0.001
testSerializeHierarchyThree[both] 0.002
testSerializeHierarchyOne[both] 0.001
testSerializeHierarchyTwo[both] 0.002
testDeserializeHierarchyOne[both] 0.001
testDeserializeHierarchyTwo[both] 0.002
testDeserializeHierarchyThree[strict-method] 0.001
testSerializeHierarchyThree[strict-method] 0.001
testSerializeHierarchyOne[strict-method] 0
testSerializeHierarchyTwo[strict-method] 0.001
testDeserializeHierarchyOne[strict-method] 0.001
testDeserializeHierarchyTwo[strict-method] 0.001

CustomEnumCodecTest

roundTrip 0.002
roundTripArray 0.001

JsonGeneratorCloseTest

testCloseWithException[field] 0.002
testClose[field] 0.001
testCloseConcurrent[field] 0.015
testCloseWithException[method] 0.002
testClose[method] 0
testCloseConcurrent[method] 0.006
testCloseWithException[both] 0.002
testClose[both] 0.001
testCloseConcurrent[both] 0.006
testCloseWithException[strict-method] 0.001
testClose[strict-method] 0
testCloseConcurrent[strict-method] 0.004

MapperVersionTest

test[Run 0: mapperVersion=-1, name=foo, expectedJson={"name":"foo"}] 0.004
test[Run 1: mapperVersion=0, name=foo, expectedJson={}] 0.002
test[Run 2: mapperVersion=1, name=foo, expectedJson={}] 0.002
test[Run 3: mapperVersion=2, name=foo, expectedJson={"name":"foo"}] 0.002
test[Run 4: mapperVersion=3, name=foo, expectedJson={"name":"foo"}] 0.003

ExtendMappingTest

run 0.002

SerializeValueFilterTest

customIgnore 0.002

JsonPointerTrackerTest

testJsonPointerTracker 0

StreamTest

roundTrip 0.009

MapperTest

testCharArray 0.001
tooLongShortAndByte 0.005
literalFail2 0.004
enumCollection 0.002
privateConstructor 0.002
writeMap 0.001
writeArrayOfArray 0.001
testFloatArray 0.003
mapToJsonArrayOfJsonObjects 0.003
mapToJsonList 0.001
tooLongIntAndLong 0.005
constructor 0.005
testByteArray 0
mapToArrayOfJsonObjects 0.001
shortAndByteBase64 0.003
readArray 0.002
readMapObject 0.001
aliases 0.005
encodingTest 0.004
mapToJsonObject 0.003
readCollection 0.004
noSetterCollection 0.002
writeArray 0.009
readObject 0.002
writeListWithNulls 0.001
mapToJsonArray 0
mapToJsonValue 0.003
writeListOfList 0.002
fieldAccess 0.002
readEmptyArray 0.001
mapToJsonValueComplex 0.004
sortedMap 0.002
nan 0.002
primitiveCollection 0.001
literal 0.002
fakedObject 0.008
readEmptyObject 0.003
shortAndByte 0.002
testShouldMapACollection 0.004
testLongArray 0.001
writeByteArray 0.001
testShortArray 0.001
writeShortArray 0.001
writeEmptyObject 0
testIntArray 0.002
writeObject 0.006
literalFail 0.001
justObjectAsModel 0.005
testDoubleArray 0.001
converters 0.003
ignoreAllStrategy 0.003

IndirectAdapterTest

testIndirectAdapter 0.016

ConfigurableJohnzonProviderTest

object 0.043
asParam 0.009
list 0.007
array 0.007

WadlDocumentToJsonTest

xmlToJson 0.068

JohnzonProviderTest

primitive 0.005
streamOutput 0.005
object 0.005
asParam 0.005
untypedStreamOutput 0
list 0.006
array 0.005
listPostNoGeneric 0.008

JsrProviderTest

object 0.071
array 0.007

FailOnUnknownPropertiesTest

failOnUnknownProperties 0.003

CustomParameterizedTypeTest

run 0.005

JsonbTransientTest

roundtrip 0.003
illegalConfig 0.003

TransientTest

transientFieldIsIgnored 0.003

JsonbJaxRsTest

primitive 0.093
streamOutput 0.004
object 0.01
jsonbconfigProvider 0.005
asParam 0.006
testBinaryDownload 0.004
list 0.006
array 0.008

DefaultMappingTest

accessors 0.003
anonymous 0.003
inheritance 0.002
modifiers 0.001
arrays 0.001
simpleValues 0.001
naming 0.005
primitives 0
should it be supported
nulls 0.003
order 0.004
pojos 0.015
structures 0.001
instantiation 0.001
optionals 0.001
collections 0.001

AdapterTest

adaptJson 0.005
adaptValue 0.002
adapt 0.005
testSerialize 0.002
notYetPloymorphism 0.005
testDeserialize 0.002
testAdapterOnEnum 0.004

EnumTest

noDeclaringClass 0.005

JohnzonIgnoreNestedTest

ignoreNested 0.004

NillableTest

propertyWinsOverPackage 0.001
type 0.002
globalNillableConfigInNonNullablePackage 0.002

GenericsTest

genericModel 0.005

OrderTest

partial 0.005
deserializationRespectsOrderToo 0.007

AnnotationOrderTest

run 0.007

DateFormatTest

dateFormatMethods 0.027
packageConfigOverridenByClass 0.006
calendarCanBeParsed 0.005
dateCanBeParsed 0.005
dateRoundTrip 0.003

ObjectSerializationTest

nestedArrayString 0.001
stringBoolean 0.001
numberBoolean 0
arrayString 0.001
objectBoolean 0
primitiveBoolean 0.001

JsonbJsonValueTest

to 0.004
from 0.002

RecursivePolymorphismTest

read 0.005
write 0.005

TimezoneTest

exceptionOnDeprecated 0.002
valid 0.002

JsonbWriteTest

boolAsStringWriter 0.001
mapOfSimple 0.003
boolAsStream 0.001
boolAsString 0.001
throwable 0.008
propertyMappingNotNillable 0.003
simple 0.003
boolAsStreamInObject 0.004
listOfSimple 0.003
map 0.001
date 0.005
list 0.002
propertyMapping 0.002
propertyNillable 0.003
rawAdapter 0.001

JsonbJaxrsProviderTest

noContentExceptionDisabled 0.002
validTest 0.002
jsonpTest 0
noContentException 0.001
noContentExceptionAuto 0.001

EnumConverterTest

fromEnumToString 0.003
fromStringToEnum 0.002

AnySupportTest

subObject 0.007
roundTrip 0.003
mixed 0.003

JsonbTypesTest

readAndWriteWithDateFormats 0.191
readAndWrite 0.028

JohnzonJsonbTest

byteArray 0.002
listJsonValue 0.005
doubleArray 0.001
booleanArrayRuntimeType 0.002
longBounds 0.007
jsonArray 0.003
booleanArray 0.001
floatArray 0.002
doubleArrayRuntimeType 0.001
intArrayRuntimeType 0.001
charArrayRuntimeType 0.001
longArray 0.001
listObject 0.003
intArray 0.002
byteArrayRuntimeType 0.002
longArrayRuntimeType 0.002
charArray 0.001
shortArray 0.001
floatArrayRuntimeType 0.001
shortArrayRuntimeType 0.001

NumberFormatTest

formatType 0.01
packageFormat 0.003

CdiAdapterTest

run 0.234

FloatTest

floatMin 0.002

HierarchySerializationTest

parentFieldsAreSerializedBeforeChildOnes 0.002

DeserializationContextTest

issue277 0.012

OverrideDefaultAdaptersTest

run 0.004

InterfaceMappingTest

mapInterface 0.001

SerializerTest

typeSerializer 0.003
arrayTypes 0.004
testArrayParseWithDeserializer 0.006
nullValuesInList 0.003
roundTrip 0.013
uuid 0.011
passthroughSerializer 0.005
fromAnnotation 0.004
testNestedSerializer 0.003
fromConfig 0.004
nullValuesInEnumList 0.003
serializeWithKey 0.003

SerializersRoundTripTest

roundTrip 0.009
testArrayRoundTrip 0.007

DynamicBufferResizingTest

main 0.14
dontFailOnMissingPropsIfConfiguredAsSuch 0.003
failOnMissingProp 0.002

ConstructorVisibilityTest

packageConstructor 0.003
instantiablePackageConstructor 0.008

PolymorphicConfigTest

roundTrip 0.01

HiddingPublicFieldTest

hidden 0.003

JohnzonConverterInJsonbTest

testObjectConverter 0.005
testJohnzonConverter 0.004

JsonbReadTest

simple 0.004
boolFromReader 0.001
boolFromStream 0.002
boolFromString 0.002
date 0.012
testInvalidBase64 0.003
propertyMappingNewLineCr 0.003
propertyMapping 0.002
propertyMappingNewLineTabs 0.002
testValidBase64 0.002
propertyMappingNewLine 0.002

JsonbRecordTest

roundTrip 0.011

PropertyNamingStrategyFactoryTest

valid 0.004

ParserGeneratorMappingTest

parser 0.003
generator 0.002

IJsonTest

binary 0.003
onlyObjectAndArrayCanBeRoot 0.001
calendar 0.004
date 0.003

JsonbExtensionTest

fromJsonValue2 0.001
toJsonValue 0.001
toJsonValue2 0.001
complexNoOpenCloseDeserializer 0.01
fromJsonValue 0.001
complexDeserializer 0.005
listInAdapter 0.004

GenericAdapterTest

testJOHNZON223 0.005

JohnzonProviderTest

create 0
provider 0

JsonbVisitilityTest

testJsonVisibilityAllFields 0.002
testJsonPropertyInternalField 0.002

ClassConverterTest

roundTripSerDeser 0.007
writeAdapters 0.004

DefaultPropertyVisibilityStrategyTest

annotated 0.002
subclassing 0.004

MapperCodecTest

codec 0.102

JsrCodecTest

codec 0.307

JsRegexTest

valid 0.464
invalid 0.009

JsonSchemaValidatorTest

maxProperties 0.019
containsItems 0.005
uniqueItems 0.002
patternProperties 0.01
exclusiveMaximum 0.002
exclusiveMinimum 0.001
itemsArray 0.003
minItems 0
enumValues 0.001
nestedType 0.001
itemsObject 0.001
maxLength 0.001
pattern 0.01
minProperties 0.001
rootType 0
minLength 0.001
rootRequired 0.003
maxItems 0.001
typeArray 0.001
itemsValidatesObject 0.001
integerType 0.001
maximum 0
minimum 0.001
multipleOf 0.001
additionalProperties 0.001

PojoToJsonSchemaMojoTest

generate 0.139

ExampleToModelMojoTest

generateJsonbRecord 0.049
generate 0.004

PolymorphicTest

serialize 0.124
deserialize 0.019

JohnzonJsonLogicTest

jsonMergeDiff 0.008
varObjectStringMissing 0
booleanEvaluation 0
divide 0.001
filter 0.007
jsonPatch 0.005
modulo 0.002
negate 0
reduce 0.006
substr 0.001
equalsCoercion 0.001
greaterOrEqualsThan 0.001
varObjectPtr 0.001
ifElsIfElseWithVarEval 0.001
varArrayInt 0
equalsNoCoercion 0.001
varObjectString 0.001
in 0.001
or 0.003
all 0.001
and 0.001
cat 0.002
map 0.001
max 0.001
min 0.001
none 0.001
plus 0
some 0.001
merge 0.001
minus 0.001
stage 0.008
multiply 0.001
jsonMergePatch 0
greaterThan 0
missing 0
ifStatic 0.001
varArrayDefault 0.001
missingSome 0
varObjectDefault 0
lessOrEqualsThan 0
lessThan 0.001

StrictJsonPointerFactoryTest

testReplaceLastArrayElement2 0.032
validMinusUsage 0.002
testRemoveLastArrayElement 0.001
testReplaceLastArrayElement 0.001
testGetLastArrayElementSimple 0.002
testGetLastArrayElement2 0.002
testRemoveLastArrayElementFromEmpty 0.002
testRemoveLastArrayElementSimple 0.001
testGetLastArrayElement 0.002
testReplaceLastArrayElementSimple 0.001

Failure Details

[Summary] [Package List] [Test Cases]


run
skipped: buggy but pushing to share the use case
testDiffMoveValue
skipped: skipped
testGenericList[field]
skipped: got: <false>, expected: is <true>
org.apache.johnzon.mapper.MapperPerformanceTest
skipped: skipped
primitives
skipped: should it be supported