Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
244 0 0 0 100% 0.926

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.jaxrs.xml 1 0 0 0 100% 0.035
org.apache.johnzon.mapper.converter 2 0 0 0 100% 0.011
org.apache.johnzon.jaxrs 10 0 0 0 100% 0.142
org.apache.johnzon.mapper 33 0 0 0 100% 0.157
org.apache.johnzon.core 198 0 0 0 100% 0.581

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

org.apache.johnzon.jaxrs.xml

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

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.113
JohnzonProviderTest 4 0 0 0 100% 0.017
JsrProviderTest 2 0 0 0 100% 0.012

org.apache.johnzon.mapper

Class Tests Errors Failures Skipped Success Rate Time
LiteralTest 3 0 0 0 100% 0.065
MapperEnhancedTest 7 0 0 0 100% 0.027
MapperTest 16 0 0 0 100% 0.048
MapperVersionTest 1 0 0 0 100% 0.006
NullTest 6 0 0 0 100% 0.011

org.apache.johnzon.core

Class Tests Errors Failures Skipped Success Rate Time
JsonArrayBuilderImplTest 20 0 0 0 100% 0.067
JsonArrayImplTest 3 0 0 0 100% 0.002
JsonGeneratorImplTest 22 0 0 0 100% 0.024
JsonNumberTest 2 0 0 0 100% 0.003
JsonObjectBuilderImplTest 1 0 0 0 100% 0
JsonObjectImplTest 1 0 0 0 100% 0.001
JsonParserTest 119 0 0 0 100% 0.213
JsonReaderImplTest 25 0 0 0 100% 0.223
JsonWriterImplTest 1 0 0 0 100% 0
LocationTest 4 0 0 0 100% 0.048

Test Cases

[Summary] [Package List] [Test Cases]

JsonArrayBuilderImplTest

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

JsonArrayImplTest

arrayIndex 0
emptyArray 0.001
arrayToString 0.001

JsonGeneratorImplTest

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

JsonNumberTest

testBigIntegerExact 0.002
testBigInteger 0.001

JsonObjectBuilderImplTest

build 0

JsonObjectImplTest

objectToString 0.001

JsonParserTest

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

JsonReaderImplTest

special 0
simple2BadBufferSize8 0.004
emptyArrayOneCharBufferSize 0.001
parseTiny50BJsonFile 0
emptyZeroCharBuffersize 0.001
simpleBadBufferSize8 0.001
simpleBadBufferSize9 0.001
parseMedium11KbJsonFile 0.008
simple 0.001
unicodeFailAscii 0
unicodeWithIoReader 0
parseHuge1MbJsonFile 0.147
parseLarge130KbJsonFile 0.005
unicode 0
unicode2Bytes 0.001
unicode3Bytes 0.001
unicode4Bytes 0
specialWithStringAsByteArrayInputStream 0
specialKeysWithStringAsByteArrayInputStream 0.001
stringescapeVariousBufferSizes 0.019
specialWithIoReader 0.001
emptyOneCharBufferSize 0.001
parseSmall3KbJsonFile 0.001
specialWithStringReader 0.001
parseBig600KbJsonFile 0.028

JsonWriterImplTest

writer 0

LocationTest

simpleLocation 0.001
testLocationOnParsingException 0.005
failBytesInput 0.001
simpleLocationCrossingBufferBoundaries 0.041

EnumConverterTest

fromEnumToString 0.01
fromStringToEnum 0.001

LiteralTest

writeReadNumbersInf 0.05
writeReadNumbersNaN 0.001
writeReadNumbers 0.014

MapperEnhancedTest

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

MapperTest

literalFail2 0.003
privateConstructor 0.002
writeMap 0.001
readArray 0.004
readMapObject 0.002
readCollection 0.004
writeArray 0.003
readObject 0.002
fieldAccess 0.004
readEmptyArray 0.001
literal 0.004
readEmptyObject 0.001
writeEmptyObject 0.001
writeObject 0.008
literalFail 0.001
converters 0.007

MapperVersionTest

version 0.006

NullTest

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

ConfigurableJohnzonProviderTest

object 0.097
asParam 0.007
list 0.006
array 0.003

JohnzonProviderTest

object 0.005
asParam 0.004
list 0.005
array 0.003

JsrProviderTest

object 0.006
array 0.006

WadlDocumentToJsonTest

xmlToJson 0.035