Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
252 0 0 0 100% 2.252

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.015
org.apache.johnzon.jaxrs 10 0 0 0 100% 0.156
org.apache.johnzon.mapper 40 0 0 0 100% 0.196
org.apache.johnzon.jaxrs.xml 1 0 0 0 100% 0.033
org.apache.johnzon.core 199 0 0 0 100% 1.852

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.015

org.apache.johnzon.jaxrs

Class Tests Errors Failures Skipped Success Rate Time
ConfigurableJohnzonProviderTest 4 0 0 0 100% 0.132
JohnzonProviderTest 4 0 0 0 100% 0.015
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.09
MapperEnhancedTest 7 0 0 0 100% 0.032
MapperTest 23 0 0 0 100% 0.058
MapperVersionTest 1 0 0 0 100% 0.006
NullTest 6 0 0 0 100% 0.01

org.apache.johnzon.jaxrs.xml

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

org.apache.johnzon.core

Class Tests Errors Failures Skipped Success Rate Time
JsonArrayBuilderImplTest 20 0 0 0 100% 0.07
JsonArrayImplTest 3 0 0 0 100% 0.002
JsonGeneratorImplTest 22 0 0 0 100% 0.018
JsonNumberTest 2 0 0 0 100% 0.001
JsonObjectBuilderImplTest 1 0 0 0 100% 0.001
JsonObjectImplTest 1 0 0 0 100% 0.001
JsonParserTest 119 0 0 0 100% 1.126
JsonReaderImplTest 26 0 0 0 100% 0.315
JsonWriterImplTest 1 0 0 0 100% 0
LocationTest 4 0 0 0 100% 0.318

Test Cases

[Summary] [Package List] [Test Cases]

JsonArrayBuilderImplTest

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

JsonArrayImplTest

arrayIndex 0.001
emptyArray 0
arrayToString 0.001

JsonGeneratorImplTest

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

JsonNumberTest

testBigIntegerExact 0.001
testBigInteger 0

JsonObjectBuilderImplTest

build 0.001

JsonObjectImplTest

objectToString 0.001

JsonParserTest

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

JsonReaderImplTest

special 0.001
simple2BadBufferSize8 0.013
emptyArrayOneCharBufferSize 0.009
parseTiny50BJsonFile 0
emptyZeroCharBuffersize 0
simpleBadBufferSize8 0.009
simpleBadBufferSize9 0.01
parseMedium11KbJsonFile 0.003
simple 0.001
unicodeFailAscii 0
unicodeWithIoReader 0.001
parseHuge1MbJsonFile 0.064
parseLarge130KbJsonFile 0.003
comments 0.011
unicode 0
unicode2Bytes 0
unicode3Bytes 0.001
unicode4Bytes 0.001
specialWithStringAsByteArrayInputStream 0
specialKeysWithStringAsByteArrayInputStream 0.001
stringescapeVariousBufferSizes 0.168
specialWithIoReader 0
emptyOneCharBufferSize 0.003
parseSmall3KbJsonFile 0
specialWithStringReader 0.001
parseBig600KbJsonFile 0.015

JsonWriterImplTest

writer 0

LocationTest

simpleLocation 0
testLocationOnParsingException 0.007
failBytesInput 0.003
simpleLocationCrossingBufferBoundaries 0.308

EnumConverterTest

fromEnumToString 0.014
fromStringToEnum 0.001

LiteralTest

writeReadNumbersInf 0.056
writeReadIterables 0.028
writeReadNumbers 0.006

MapperEnhancedTest

needConvertersForComplexTypes 0.007
writeNull 0.001
writeReadChar 0.005
writeReadSortedMap 0.005
writeReadSortedSet 0.005
writeTestclass 0.002
writeReadQueue 0.007

MapperTest

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

MapperVersionTest

version 0.006

NullTest

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

ConfigurableJohnzonProviderTest

object 0.117
asParam 0.007
list 0.005
array 0.003

JohnzonProviderTest

object 0.004
asParam 0.004
list 0.003
array 0.004

JsrProviderTest

object 0.005
array 0.004

WadlDocumentToJsonTest

xmlToJson 0.033