Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
256 0 0 0 100% 2.316

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.mapper.converter 2 0 0 0 100% 0.011
org.apache.johnzon.jaxrs 10 0 0 0 100% 0.14
org.apache.johnzon.mapper 44 0 0 0 100% 0.182
org.apache.johnzon.jaxrs.xml 1 0 0 0 100% 0.038
org.apache.johnzon.core 199 0 0 0 100% 1.945

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

org.apache.johnzon.mapper.converter

Class Tests Errors Failures Skipped Success Rate Time
EnumConverterTest 2 0 0 0 100% 0.011

org.apache.johnzon.jaxrs

Class Tests Errors Failures Skipped Success Rate Time
ConfigurableJohnzonProviderTest 4 0 0 0 100% 0.118
JohnzonProviderTest 4 0 0 0 100% 0.013
JsrProviderTest 2 0 0 0 100% 0.009

org.apache.johnzon.mapper

Class Tests Errors Failures Skipped Success Rate Time
LiteralTest 3 0 0 0 100% 0.08
MapperEnhancedTest 7 0 0 0 100% 0.021
MapperTest 27 0 0 0 100% 0.069
MapperVersionTest 1 0 0 0 100% 0.004
NullTest 6 0 0 0 100% 0.008

org.apache.johnzon.jaxrs.xml

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

org.apache.johnzon.core

Class Tests Errors Failures Skipped Success Rate Time
JsonArrayBuilderImplTest 20 0 0 0 100% 0.054
JsonArrayImplTest 3 0 0 0 100% 0
JsonGeneratorImplTest 22 0 0 0 100% 0.02
JsonNumberTest 2 0 0 0 100% 0.002
JsonObjectBuilderImplTest 1 0 0 0 100% 0
JsonObjectImplTest 1 0 0 0 100% 0.001
JsonParserTest 119 0 0 0 100% 1.179
JsonReaderImplTest 26 0 0 0 100% 0.353
JsonWriterImplTest 1 0 0 0 100% 0.001
LocationTest 4 0 0 0 100% 0.335

Test Cases

[Summary] [Package List] [Test Cases]

JsonArrayBuilderImplTest

boolJsonValueArray 0.032
numJsonValueArray 0.008
nullArrayNonChaining 0.002
addDoubleNpeIfNaN 0.001
emptyArray 0
addBINpeIfNull 0
addJVNpeIfNull 0.001
addJABuilderNpeIfNull 0
escapedStringArray 0.002
array 0
addBDNpeIfNull 0
emptyArrayInEmtyArray 0.001
nullJsonValueArray 0
arrayInArray 0.002
addStringNpeIfNull 0
nullArray 0
addJOBuilderNpeIfNull 0
addDoubleNpeIfNegIfinite 0.001
addDoubleNpeIfPosInfinite 0
arrayObjectInArray 0.004

JsonArrayImplTest

arrayIndex 0
emptyArray 0
arrayToString 0

JsonGeneratorImplTest

numbers 0.004
stringArrayEscapes 0
numbers2 0.001
stringArray 0.001
simpleArray 0.001
emptyArray 0
stringArrayEscapes2 0.002
pretty 0.003
emptyStringArray 0
notFluentGeneratorUsage 0.001
fail1 0
fail2 0
fail3 0.001
fail4 0
fail5 0.001
fail6 0.001
fail7 0.001
fail9 0
arrayInArray 0.001
generate 0
boolLiteralArray 0.001
nullLiteralArray 0.001

JsonNumberTest

testBigIntegerExact 0
testBigInteger 0.002

JsonObjectBuilderImplTest

build 0

JsonObjectImplTest

objectToString 0.001

JsonParserTest

bufferOverFlow2 0.015
numbers 0.002
testStreamReadNotAllBytes 0.001
testEmptyArray 0.001
simpleAttempting 0.009
dosProtected 0.005
escapedStringAwareParser 0.001
testUTF8Stream 0
fail10 0.018
fail11 0.003
fail12 0.001
fail13 0.003
fail14 0.005
fail15 0.002
fail16 0.003
fail17 0.01
fail18 0.009
fail19 0.01
fail20 0.005
fail21 0.003
fail22 0.003
fail23 0.003
fail24 0.003
fail25 0.003
fail26 0.006
fail27 0.003
fail28 0.004
fail29 0.001
fail30 0.003
fail31 0.001
fail32 0.001
fail33 0.003
fail34 0.004
fail35 0.009
fail36 0.008
fail37 0.008
fail38 0.009
fail39 0.008
fail40 0.009
fail41 0.005
fail42 0.003
fail43 0.003
fail44 0.003
fail45 0.003
fail46 0.004
fail47 0.003
fail48 0.003
fail49 0.003
fail50 0.004
fail53 0.003
fail54 0.003
fail55 0.006
fail56 0.003
fail57 0.004
fail58 0.004
fail59 0.003
fail60 0.003
fail61 0.003
fail62 0.004
fail63 0.003
fail64 0.003
fail65 0.003
fail66 0.005
fail67 0.008
fail68 0.011
fail69 0.01
fail70 0.009
fail71 0.009
fail72 0.009
maxStringNumberFail 0.001
threeLiterals 0
zeroCharInput 0.009
nested 0.001
simple 0
maxStringStringOK 0.001
literalFailChecksNull 0.009
literalFailChecksTrue 0.009
maxStringWhitespace 0
zeroByteInput 0.009
testUTF32LEBOMStream 0.001
testUTF32BEStream 0.001
maxStringNumberOK 0.001
testUTF32LEStream 0
escapeStart 0.009
array 0.004
fail1 0.001
fail2 0.009
fail3 0.006
fail4 0.003
fail5 0.003
fail6 0.003
fail7 0.002
fail8 0.003
fail9 0.003
testUTF8BEBOMStream 0
testBinaryNullStream 0.001
testIOException 0.004
testUTF32BEBOMStream 0.003
simpleUTF16LEAutoDetect 0.001
simpleInMemory 0.001
hasNext 0
stringescapeVariousBufferSizesBogus 0.708
testUTF16LEBOMStream 0.002
testUTF16Stream 0.001
simpleUTF16LE 0
testBinaryNullStreamBOM 0.001
testUTF16BEStream 0.003
testUTF16BEBOMStream 0.001
commaChecks 0.008
shortestNonEmtyJsonFile 0.009
shortestNonEmtyJsonFileWithWhiteSpaceChars 0
testUTF16LEStream 0
testSlowIs 0
bufferOverFlow 0.001
escaping 0
maxStringStringFail 0.001
isIntegralThrowsISE 0.001
escapeStart2 0.001
bigdecimal 0.009

JsonReaderImplTest

special 0.001
simple2BadBufferSize8 0.013
emptyArrayOneCharBufferSize 0.01
parseTiny50BJsonFile 0.001
emptyZeroCharBuffersize 0
simpleBadBufferSize8 0.01
simpleBadBufferSize9 0.009
parseMedium11KbJsonFile 0.004
simple 0.001
unicodeFailAscii 0.001
unicodeWithIoReader 0.001
parseHuge1MbJsonFile 0.076
parseLarge130KbJsonFile 0.005
comments 0.011
unicode 0
unicode2Bytes 0
unicode3Bytes 0.001
unicode4Bytes 0.002
specialWithStringAsByteArrayInputStream 0.002
specialKeysWithStringAsByteArrayInputStream 0.008
stringescapeVariousBufferSizes 0.174
specialWithIoReader 0.002
emptyOneCharBufferSize 0.004
parseSmall3KbJsonFile 0.001
specialWithStringReader 0.001
parseBig600KbJsonFile 0.015

JsonWriterImplTest

writer 0.001

LocationTest

simpleLocation 0
testLocationOnParsingException 0.006
failBytesInput 0.005
simpleLocationCrossingBufferBoundaries 0.324

EnumConverterTest

fromEnumToString 0.011
fromStringToEnum 0

LiteralTest

writeReadNumbersInf 0.051
writeReadIterables 0.023
writeReadNumbers 0.006

MapperEnhancedTest

needConvertersForComplexTypes 0.005
writeNull 0.001
writeReadChar 0.004
writeReadSortedMap 0.003
writeReadSortedSet 0.003
writeTestclass 0.001
writeReadQueue 0.004

MapperTest

literalFail2 0.003
privateConstructor 0.002
writeMap 0.001
writeArrayOfArray 0.001
constructor 0.006
shortAndByteBase64 0.006
readArray 0.004
readMapObject 0
aliases 0.008
readCollection 0.002
noSetterCollection 0.003
writeArray 0.002
readObject 0.001
writeListOfList 0.002
fieldAccess 0.001
readEmptyArray 0.001
nan 0.002
literal 0.002
fakedObject 0.009
readEmptyObject 0
shortAndByte 0.002
writeByteArray 0.001
writeShortArray 0
writeEmptyObject 0.001
writeObject 0.005
literalFail 0.002
converters 0.002

MapperVersionTest

version 0.004

NullTest

writeNullObjectSkipAll 0.002
writeNullObjectDefaultMapAllowNull 0.002
writeNullObjectAllowNull 0.001
writeNullObjectAllowNullSkipEmptyArray 0.001
writeNullObjectDefaultMap 0.001
writeNullObjectDefault 0.001

ConfigurableJohnzonProviderTest

object 0.103
asParam 0.006
list 0.006
array 0.003

JohnzonProviderTest

object 0.004
asParam 0.003
list 0.003
array 0.003

JsrProviderTest

object 0.005
array 0.004

WadlDocumentToJsonTest

xmlToJson 0.038