Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
800 0 0 5 99.375% 51.872

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 70 0 0 1 98.571% 3.219
org.apache.johnzon.maven.plugin 1 0 0 0 100% 0.739
org.apache.johnzon.jsonschema 24 0 0 0 100% 0.366
org.apache.johnzon.jsonb.jaxrs 8 0 0 0 100% 1.22
org.apache.johnzon.mapper.internal 1 0 0 0 100% 0.001
org.apache.johnzon.mapper.converter 3 0 0 0 100% 0.057
org.apache.johnzon.jaxrs 14 0 0 0 100% 3.618
org.apache.johnzon.jsonschema.regex 2 0 0 0 100% 1.746
org.apache.johnzon.mapper 194 0 0 2 98.969% 10.961
org.apache.johnzon.jaxrs.xml 1 0 0 0 100% 0.082
org.superbiz 1 0 0 0 100% 0.006
org.apache.johnzon.jsonb.extras.polymorphism 2 0 0 0 100% 0.814
org.apache.johnzon.websocket 2 0 0 0 100% 18.783
org.apache.johnzon.core 477 0 0 2 99.581% 10.26

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
CdiAdapterTest 1 0 0 0 100% 1.741
CustomParameterizedTypeTest 1 0 0 0 100% 0.02
AdapterTest 3 0 0 0 100% 0.059
JsonbTypesTest 2 0 0 0 100% 0.124
SerializerTest 4 0 0 0 100% 0.031
ObjectSerializationTest 6 0 0 0 100% 0.023
JsonbTransientTest 1 0 0 0 100% 0.088
DynamicBufferResizingTest 1 0 0 0 100% 0.574
DefaultMappingTest 15 0 0 1 93.333% 0.154
OverrideDefaultAdaptersTest 1 0 0 0 100% 0.01
InterfaceMappingTest 1 0 0 0 100% 0.009
JohnzonProviderTest 2 0 0 0 100% 0.003
PropertyNamingStrategyFactoryTest 1 0 0 0 100% 0.026
JohnzonConverterInJsonbTest 2 0 0 0 100% 0.022
JsonbReadTest 11 0 0 0 100% 0.186
JsonbVisitilityTest 2 0 0 0 100% 0.026
JsonbWriteTest 11 0 0 0 100% 0.047
AnnotationOrderTest 1 0 0 0 100% 0.01
FailOnUnknownPropertiesTest 1 0 0 0 100% 0.01
JohnzonIgnoreNestedTest 1 0 0 0 100% 0.018
ClassConverterTest 2 0 0 0 100% 0.038

org.apache.johnzon.maven.plugin

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

org.apache.johnzon.jsonschema

Class Tests Errors Failures Skipped Success Rate Time
JsonSchemaValidatorTest 24 0 0 0 100% 0.366

org.apache.johnzon.jsonb.jaxrs

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

org.apache.johnzon.mapper.internal

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

org.apache.johnzon.mapper.converter

Class Tests Errors Failures Skipped Success Rate Time
TimestampAdapterTest 1 0 0 0 100% 0.049
EnumConverterTest 2 0 0 0 100% 0.008

org.apache.johnzon.jaxrs

Class Tests Errors Failures Skipped Success Rate Time
JsrProviderTest 2 0 0 0 100% 0.168
ConfigurableJohnzonProviderTest 4 0 0 0 100% 3.157
JohnzonProviderTest 8 0 0 0 100% 0.293

org.apache.johnzon.jsonschema.regex

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

org.apache.johnzon.mapper

Class Tests Errors Failures Skipped Success Rate Time
MapperTest 37 0 0 0 100% 0.56
CircularExceptionTest 1 0 0 0 100% 1.175
LocaleTest 1 0 0 0 100% 0.016
JohnzonAnyMappingTest 1 0 0 0 100% 0.021
ObjectConverterTest 1 0 0 0 100% 0.055
ObjectSerializationTest 6 0 0 0 100% 0.034
MapperEnhancedTest 7 0 0 0 100% 0.135
CircularObjectsTest 4 0 0 0 100% 0.045
MapperConfigTest 7 0 0 0 100% 0.032
NullTest 12 0 0 0 100% 0.051
GetterSetterRespectTest 1 0 0 0 100% 0.025
MapperGenericsTest 12 0 0 0 100% 0.405
ObjectTypeTest 20 0 0 1 95% 0.282
AdderTest 2 0 0 0 100% 0.029
MetaMapperTest 1 0 0 0 100% 0.055
ObjectConverterWithAnnotationTest 20 0 0 0 100% 0.14
JohnzonIgnoreNestedTest 1 0 0 0 100% 0.025
MapperVersionTest 1 0 0 0 100% 0.038
SerializeValueFilterTest 1 0 0 0 100% 0.006
MapperPerformanceTest 1 0 0 1 0% 0.003
NoWarningTest 2 0 0 0 100% 0.125
AdapterTest 1 0 0 0 100% 0.009
AdvancedGenericsTest 24 0 0 0 100% 0.264
LiteralTest 4 0 0 0 100% 0.034
JPATest 1 0 0 0 100% 6.153
GenericsTest 1 0 0 0 100% 0.101
OverflowTest 1 0 0 0 100% 0.395
JsonGeneratorCloseTest 12 0 0 0 100% 0.642
EnumTest 8 0 0 0 100% 0.075
JsonpIntegrationTest 1 0 0 0 100% 0.013
CustomEnumCodecTest 2 0 0 0 100% 0.018

org.apache.johnzon.jaxrs.xml

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

org.superbiz

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

org.apache.johnzon.jsonb.extras.polymorphism

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

org.apache.johnzon.websocket

Class Tests Errors Failures Skipped Success Rate Time
MapperCodecTest 1 0 0 0 100% 17.029
JsrCodecTest 1 0 0 0 100% 1.754

org.apache.johnzon.core

Class Tests Errors Failures Skipped Success Rate Time
JsonArrayBuilderImplTest 22 0 0 0 100% 0.124
JsonPatchBuilderTest 31 0 0 0 100% 0.187
HStackTest 1 0 0 0 100% 0
JsonParserTest 152 0 0 0 100% 0.898
JsonMergeBatchDiffTest 1 0 0 0 100% 0.026
JsonReaderImplTest 32 0 0 0 100% 7.049
JsonPointerTest 66 0 0 0 100% 0.112
JsonPatchDiffTest 15 0 0 1 93.333% 0.041
JsonBuilderFactoryTest 1 0 0 0 100% 0
JsonArrayImplTest 4 0 0 0 100% 0.013
JsonNumberTest 6 0 0 0 100% 0.023
JsonPointerUtilTest 12 0 0 0 100% 0
JsonPatchTest 45 0 0 0 100% 0.08
LocationTest 4 0 0 0 100% 0.077
JsonCollectorTest 4 0 0 0 100% 0.434
SerializationTest 7 0 0 0 100% 0.094
JsonObjectImplTest 16 0 0 0 100% 0.078
JsonMergeBatchTest 3 0 0 0 100% 0.006
JsonGeneratorImplTest 31 0 0 0 100% 0.577
OverflowTest 3 0 0 0 100% 0.391
JsonWriterImplTest 8 0 0 0 100% 0.039
JsonProviderTest 6 0 0 0 100% 0
JsonObjectBuilderImplTest 6 0 0 0 100% 0.01
BrokenDefaultTest 1 0 0 1 0% 0.001

Test Cases

[Summary] [Package List] [Test Cases]

JsonArrayBuilderImplTest

boolJsonValueArray 0.001
numJsonValueArray 0.001
nullArrayNonChaining 0.003
addDoubleNpeIfNaN 0.001
emptyArray 0.002
addBINpeIfNull 0.001
addJVNpeIfNull 0.001
addJABuilderNpeIfNull 0.001
escapedStringArray 0.002
array 0.001
addBDNpeIfNull 0.001
emptyArrayInEmtyArray 0.001
nullJsonValueArray 0.001
arrayInArray 0.001
testCreateArrayBuilderWithJsonArrayInitialData 0.004
addStringNpeIfNull 0.003
nullArray 0.001
testCreateArrayBuilderWithCollectionInitialData 0.002
addJOBuilderNpeIfNull 0.001
addDoubleNpeIfNegIfinite 0.014
addDoubleNpeIfPosInfinite 0.01
arrayObjectInArray 0.002

JsonPatchBuilderTest

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

HStackTest

normalUse 0

JsonParserTest

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

JsonMergeBatchDiffTest

testAddDiff 0.023

JsonReaderImplTest

special 0.007
simple2BadBufferSize8 0.014
emptyArrayOneCharBufferSize 0.003
testGrowingStringWithDifferentBufferSizes 2.12
parseTiny50BJsonFile 0.004
simpleValues 0.004
emptyZeroCharBuffersize 0.003
simpleBadBufferSize8 0.009
simpleBadBufferSize9 0.028
parseMedium11KbJsonFile 0.027
simple 0.013
unicodeFailAscii 0.008
unicodeWithIoReader 0.002
parseHuge1MbJsonFile 0.294
parseLarge130KbJsonFile 0.025
comments 0.004
unicode 0.001
unicode2Bytes 0.001
unicode3Bytes 0.002
unicode4Bytes 0.005
specialWithStringAsByteArrayInputStream 0.001
specialKeysWithStringAsByteArrayInputStream 0.009
testInvalidNumber 0.004
stringescapeVariousBufferSizes 0.037
specialWithIoReader 0.002
testGrowingString 4.22
emptyOneCharBufferSize 0.004
badTypeArray 0.002
parseSmall3KbJsonFile 0.003
specialWithStringReader 0
parseBig600KbJsonFile 0.128
badTypeObject 0.002

JsonPointerTest

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

JsonPatchDiffTest

testAddDiffNewObjectWithEscaping 0
testAddDiff 0.01
testAddObjectToArray 0.003
testDiffReplaceObject 0.003
testAddDiffInNestedObject 0.002
testDiffReplaceFromNestedObject 0.001
testRemoveObjectFromArray 0
testComplexDiff 0.003
testAddDiffNewObject 0.004
testRemoveDiffNestedObject 0.002
testDiffMoveValue 0
skipped
testDiffEqualObjects 0.002
testRemoveDiffObject 0.001
testAddValueToArray 0.001
testRemoveValueFromArray 0.002

JsonBuilderFactoryTest

testCreateBuilderFactory 0

JsonArrayImplTest

equals 0.003
arrayIndex 0.001
emptyArray 0.001
arrayToString 0

JsonNumberTest

testBigIntegerButFromJustALongTooLong 0
equals 0.022
testBigIntegerExact 0
testBigInteger 0
nonZeroFractional 0
testHashCode 0

JsonPointerUtilTest

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

JsonPatchTest

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

LocationTest

simpleLocation 0
testLocationOnParsingException 0.005
failBytesInput 0
simpleLocationCrossingBufferBoundaries 0.063

JsonCollectorTest

testToJsonObject 0.272
testGroupingByJsonObject 0.083
testToJsonObjectCustomKeyAndValueMapper 0.04
testToJsonArray 0.037

SerializationTest

jsonLong 0.055
jsonArray 0.009
jsonDouble 0.005
jsonNumber 0.018
jsonObject 0.003
jsonString 0.003
primitiveInObject 0.001

JsonObjectImplTest

boolErrors 0.015
testGetBooleanMissingKeyShouldThrowNullPointerException 0.001
testGetStringWithDefaultShouldReturnDefault 0.001
testGetJsonArrayMissingKeyShouldReturnNull 0.001
testIsNullShouldReturnFalse 0.001
testIsNullMissingKeyShouldThrowNullPointerException 0.001
testGetIntWithDefaultShouldReturnDefault 0.001
testGetJsonStringMissingKeyShouldReturnNull 0
testGetBooleanWithDefaultMissingKeyShouldReturnDefault 0
testIsNullShouldReturnTrue 0.001
testGetJsonNumberMissingKeyShouldReturnNull 0.001
reuseObjectBuilder 0.013
testGetJsonObjectMissingKeyShouldReturnNull 0.001
testGetIntMissingKeyShouldThrowNullPointerException 0.001
testGetStringMissingKeyShouldThrowNullPointerException 0.001
objectToString 0.001

JsonMergeBatchTest

testSimpleJsonObjectMergePatch 0.003
testApplyObjectOnValue 0
testApplyValueOnObject 0.001

JsonGeneratorImplTest

numbers 0.13
stringArrayEscapes 0.003
numbers2 0.003
stringArray 0.002
writeBoolean 0.004
simpleArray 0.002
testCreateGenerator 0.002
emptyArray 0.002
stringArrayEscapes2 0.002
pretty 0.017
emptyStringArray 0.002
notFluentGeneratorUsage 0.002
prettySimple 0.004
closeOnce 0.003
fail1 0.006
fail2 0.002
fail3 0.004
fail4 0.007
fail5 0.003
fail6 0.002
fail7 0.004
fail9 0
arrayInArray 0.002
prettyArray 0.01
writeNumber 0.002
errorWhenWritingValueInObject 0
generate 0.003
prettySimpleStructure 0.006
boolLiteralArray 0.001
prettySimpleWriter 0.016
nullLiteralArray 0.002

OverflowTest

testVeryLargeJson 0.382
ko 0.002
ok 0.006

JsonWriterImplTest

objectWriter 0.008
stringValueWriter 0.002
nullValueWriter 0.001
nonIntegralNumberValueWriter 0.001
arrayValueWriter 0.001
integralNumberValueWriter 0.001
trueValueWriter 0.001
falseValueWriter 0.001

JsonProviderTest

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

JsonObjectBuilderImplTest

testCreateObjectBuilderWithMapFlatItems 0
testBuild 0.007
testNullCheckName 0
testNullCheckValue 0
testAddAll 0
testRemove 0

BrokenDefaultTest

run 0
buggy but pushing to share the use case

MapperTest

tooLongShortAndByte 0.028
literalFail2 0.012
enumCollection 0.004
privateConstructor 0.007
writeMap 0.099
writeArrayOfArray 0.028
tooLongIntAndLong 0.019
constructor 0.012
shortAndByteBase64 0.01
readArray 0.013
readMapObject 0.004
aliases 0.012
encodingTest 0.007
readCollection 0.011
noSetterCollection 0.008
writeArray 0.037
readObject 0.007
writeListWithNulls 0.001
writeListOfList 0.005
fieldAccess 0.003
readEmptyArray 0.002
sortedMap 0.003
nan 0.007
primitiveCollection 0.002
literal 0.009
fakedObject 0.031
readEmptyObject 0.006
shortAndByte 0.007
testShouldMapACollection 0.011
writeByteArray 0.002
writeShortArray 0.002
writeEmptyObject 0.001
writeObject 0.024
literalFail 0.003
justObjectAsModel 0.042
converters 0.009
ignoreAllStrategy 0.024

CircularExceptionTest

dontStackOverFlow 0.668

LocaleTest

roundTrip 0.012

JohnzonAnyMappingTest

roundTrip 0.017

ObjectConverterTest

testObjectConverter 0.055

ObjectSerializationTest

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

MapperEnhancedTest

needConvertersForComplexTypes 0.039
writeNull 0.006
writeReadChar 0.016
writeReadSortedMap 0.01
writeReadSortedSet 0.011
writeTestclass 0.012
writeReadQueue 0.028

CircularObjectsTest

testSimpleCyclicPersonAnnotatedDedup 0.02
testSimpleCyclicPerson 0.006
testComplexCyclicPerson 0.01
testCyclesInArrays 0.006

MapperConfigTest

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

NullTest

writeNullObjectSkipAll 0.007
writeNullObjectDefaultMapAllowNull 0.006
writeNullObjectAllowNull 0.004
writeNullObjectAllowNullSkipEmptyArray 0.004
writeArrayWithNullWithinMap 0.001
writeListWithNullWithinType 0.006
writeListWithNullWithinMap 0.001
writeNullObjectDefaultMap 0.003
writeListWithNull 0.002
writeArrayWithNull 0.002
writeArrayWithNullWithinType 0.002
writeNullObjectDefault 0.002

GetterSetterRespectTest

run 0.023

MapperGenericsTest

map[field] 0.095
base[field] 0.006
list[field] 0.01
map[method] 0.069
base[method] 0.02
list[method] 0.012
map[both] 0.023
base[both] 0.013
list[both] 0.009
map[strict-method] 0.015
base[strict-method] 0.003
list[strict-method] 0.004

JsonPointerTrackerTest

testJsonPointerTracker 0.001

ObjectTypeTest

testObjectConverterMapper[field] 0.013
testReadWithObjectConverter[field] 0.026
testWriteWithAdvancedObjectConverter[field] 0.005
testReadWithAdvancedObjectConverter[field] 0.003
testGenericList[field] 0
skipped
testObjectConverterMapper[method] 0.035
testReadWithObjectConverter[method] 0.005
testWriteWithAdvancedObjectConverter[method] 0.011
testReadWithAdvancedObjectConverter[method] 0.001
testGenericList[method] 0.018
testObjectConverterMapper[both] 0.026
testReadWithObjectConverter[both] 0.02
testWriteWithAdvancedObjectConverter[both] 0.003
testReadWithAdvancedObjectConverter[both] 0.002
testGenericList[both] 0.022
testObjectConverterMapper[strict-method] 0.014
testReadWithObjectConverter[strict-method] 0.01
testWriteWithAdvancedObjectConverter[strict-method] 0.002
testReadWithAdvancedObjectConverter[strict-method] 0.002
testGenericList[strict-method] 0.006

AdderTest

adderObject 0.018
adderString 0.007

ExtendMappingTest

run 0.006

MetaMapperTest

customMappingAPI 0.054

ObjectConverterWithAnnotationTest

testDeserializeObjectWithCollectionAndObjectConverter[0] 0.011
testDeserializeObjectWithAnnotatedConsturctorParameter[0] 0
testDeserializeWithObjectConverter[0] 0
testSerializeObjectWithCollectionAndObjectConverter[0] 0
testSerializeWithObjectConverter[0] 0
testDeserializeObjectWithCollectionAndObjectConverter[1] 0.008
testDeserializeObjectWithAnnotatedConsturctorParameter[1] 0.004
testDeserializeWithObjectConverter[1] 0.002
testSerializeObjectWithCollectionAndObjectConverter[1] 0.004
testSerializeWithObjectConverter[1] 0.002
testDeserializeObjectWithCollectionAndObjectConverter[2] 0.004
testDeserializeObjectWithAnnotatedConsturctorParameter[2] 0.002
testDeserializeWithObjectConverter[2] 0.006
testSerializeObjectWithCollectionAndObjectConverter[2] 0.004
testSerializeWithObjectConverter[2] 0.002
testDeserializeObjectWithCollectionAndObjectConverter[3] 0.022
testDeserializeObjectWithAnnotatedConsturctorParameter[3] 0.007
testDeserializeWithObjectConverter[3] 0.002
testSerializeObjectWithCollectionAndObjectConverter[3] 0.025
testSerializeWithObjectConverter[3] 0.001

JohnzonIgnoreNestedTest

ignoreNested 0.022

MapperVersionTest

version 0.036

SerializeValueFilterTest

customIgnore 0.006

NoWarningTest

noWarn 0.004
warn 0.08

AdapterTest

run 0.007

AdvancedGenericsTest

testDeserializeHierarchyThree[field] 0.015
testSerializeHierarchyThree[field] 0.005
testSerializeHierarchyOne[field] 0.007
testSerializeHierarchyTwo[field] 0.004
testDeserializeHierarchyOne[field] 0.006
testDeserializeHierarchyTwo[field] 0.006
testDeserializeHierarchyThree[method] 0.022
testSerializeHierarchyThree[method] 0.005
testSerializeHierarchyOne[method] 0.004
testSerializeHierarchyTwo[method] 0.005
testDeserializeHierarchyOne[method] 0.005
testDeserializeHierarchyTwo[method] 0.004
testDeserializeHierarchyThree[both] 0.014
testSerializeHierarchyThree[both] 0.01
testSerializeHierarchyOne[both] 0.006
testSerializeHierarchyTwo[both] 0.008
testDeserializeHierarchyOne[both] 0.007
testDeserializeHierarchyTwo[both] 0.009
testDeserializeHierarchyThree[strict-method] 0.004
testSerializeHierarchyThree[strict-method] 0.003
testSerializeHierarchyOne[strict-method] 0.021
testSerializeHierarchyTwo[strict-method] 0.006
testDeserializeHierarchyOne[strict-method] 0.006
testDeserializeHierarchyTwo[strict-method] 0.005

LiteralTest

readWhenUseBigDecimalForFloats 0.002
writeReadNumbersInf 0.014
writeReadIterables 0.004
writeReadNumbers 0.012

JPATest

ensureStateIsIgnoredAndDateIsCorrect 6.146

GenericsTest

typeVariableMultiLevel 0.085

TimestampAdapterTest

convert 0.047

OverflowTest

overflow 0.393

JsonGeneratorCloseTest

testCloseWithException[field] 0.016
testClose[field] 0.003
testCloseConcurrent[field] 0.257
testCloseWithException[method] 0.002
testClose[method] 0.003
testCloseConcurrent[method] 0.108
testCloseWithException[both] 0.004
testClose[both] 0.004
testCloseConcurrent[both] 0.098
testCloseWithException[strict-method] 0.002
testClose[strict-method] 0.002
testCloseConcurrent[strict-method] 0.131

EnumTest

testSimpleEnumAccessModeField 0.006
testEnumSet 0.017
testSimpleEnumAccessModeBoth 0.009
testAdvancedEnumAccessModeBoth 0.012
testSimpleEnumWithCollectionAccessModeBoth 0.01
testSimpleEnumWithCollectionAccessModeField 0.007
testAdvancedEnumAccessModeField 0.004
testUnknownEnumValue 0.003

EnumConverterTest

fromEnumToString 0.003
fromStringToEnum 0.001

JsonpIntegrationTest

readAndWrite 0.009

CustomEnumCodecTest

roundTrip 0.014
roundTripArray 0.003

WadlDocumentToJsonTest

xmlToJson 0.077

JsrProviderTest

object 0.047
array 0.046

ConfigurableJohnzonProviderTest

object 1.284
asParam 0.069
list 0.052
array 0.061

JohnzonProviderTest

primitive 0.012
streamOutput 0.043
object 0.052
asParam 0.067
untypedStreamOutput 0.004
list 0.013
array 0.025
listPostNoGeneric 0.039

MapperCodecTest

codec 1.822

JsrCodecTest

codec 0.17

ExampleToModelMojoTest

generate 0.186

CdiAdapterTest

run 1.57

CustomParameterizedTypeTest

run 0.02

AdapterTest

adapt 0.016
notYetPloymorphism 0.034
testAdapterOnEnum 0.008

JsonbTypesTest

readAndWriteWithDateFormats 0.068
readAndWrite 0.055

SerializerTest

testArrayParseWithDeserializer 0.008
nullValuesInList 0.004
roundTrip 0.011
nullValuesInEnumList 0.006

ObjectSerializationTest

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

JsonbTransientTest

roundtrip 0.088

DynamicBufferResizingTest

main 0.574

JsonbJaxRsTest

primitive 0.217
streamOutput 0.012
object 0.03
jsonbconfigProvider 0.011
asParam 0.02
testBinaryDownload 0.01
list 0.019
array 0.039

DefaultMappingTest

accessors 0.008
anonymous 0.009
inheritance 0.006
modifiers 0.004
arrays 0.008
simpleValues 0.011
naming 0.009
primitives 0
should it be supported
nulls 0.005
order 0.012
pojos 0.03
structures 0.029
instantiation 0.004
optionals 0.005
collections 0.002

OverrideDefaultAdaptersTest

run 0.01

InterfaceMappingTest

mapInterface 0.009

JohnzonProviderTest

create 0.001
provider 0

PropertyNamingStrategyFactoryTest

valid 0.014

JohnzonConverterInJsonbTest

testObjectConverter 0.013
testJohnzonConverter 0.009

JsonbReadTest

simple 0.01
boolFromReader 0.014
boolFromStream 0.005
boolFromString 0.005
date 0.099
testInvalidBase64 0.011
propertyMappingNewLineCr 0.01
propertyMapping 0.006
propertyMappingNewLineTabs 0.005
testValidBase64 0.005
propertyMappingNewLine 0.005

JsonbVisitilityTest

testJsonVisibilityAllFields 0.015
testJsonPropertyInternalField 0.009

JsonbWriteTest

boolAsStringWriter 0.003
boolAsStream 0.003
boolAsString 0.002
propertyMappingNotNillable 0.006
simple 0.005
boolAsStreamInObject 0.005
map 0.002
date 0.006
list 0.002
propertyMapping 0.003
propertyNillable 0.005

AnnotationOrderTest

run 0.01

FailOnUnknownPropertiesTest

failOnUnknownProperties 0.01

JohnzonIgnoreNestedTest

ignoreNested 0.018

ClassConverterTest

roundTripSerDeser 0.027
writeAdapters 0.011

PolymorphicTest

serialize 0.583
deserialize 0.067

JsonSchemaValidatorTest

maxProperties 0.076
containsItems 0.014
uniqueItems 0.009
patternProperties 0.044
exclusiveMaximum 0.009
exclusiveMinimum 0.003
itemsArray 0.011
minItems 0.004
enumValues 0.003
nestedType 0.003
itemsObject 0.003
maxLength 0.005
pattern 0.037
minProperties 0.003
rootType 0.003
minLength 0.003
rootRequired 0.01
maxItems 0.003
typeArray 0.004
itemsValidatesObject 0.004
maximum 0.001
minimum 0.003
multipleOf 0.002
additionalProperties 0.004

JsRegexTest

valid 1.574
invalid 0.032

Failure Details

[Summary] [Package List] [Test Cases]


testDiffMoveValue
skipped: skipped
run
skipped: buggy but pushing to share the use case
testGenericList[field]
skipped: skipped
org.apache.johnzon.mapper.MapperPerformanceTest
skipped: skipped
primitives
skipped: should it be supported