Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
258 0 0 0 100% 7.039

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.027
org.apache.johnzon.mapper.converter 2 0 0 0 100% 0
org.apache.johnzon.websocket 2 0 0 0 100% 0.613
org.apache.johnzon.jaxrs 10 0 0 0 100% 0.184
org.apache.johnzon.mapper 44 0 0 0 100% 0.296
org.apache.johnzon.core 199 0 0 0 100% 5.919

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

org.apache.johnzon.mapper.converter

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

org.apache.johnzon.websocket

Class Tests Errors Failures Skipped Success Rate Time
MapperCodecTest 1 0 0 0 100% 0.515
JsrCodecTest 1 0 0 0 100% 0.098

org.apache.johnzon.jaxrs

Class Tests Errors Failures Skipped Success Rate Time
JsrProviderTest 2 0 0 0 100% 0.106
JohnzonProviderTest 4 0 0 0 100% 0.048
ConfigurableJohnzonProviderTest 4 0 0 0 100% 0.03

org.apache.johnzon.mapper

Class Tests Errors Failures Skipped Success Rate Time
MapperTest 27 0 0 0 100% 0.114
NullTest 6 0 0 0 100% 0.01
MapperVersionTest 1 0 0 0 100% 0.01
LiteralTest 3 0 0 0 100% 0.132
MapperEnhancedTest 7 0 0 0 100% 0.03

org.apache.johnzon.core

Class Tests Errors Failures Skipped Success Rate Time
JsonObjectBuilderImplTest 1 0 0 0 100% 0
JsonWriterImplTest 1 0 0 0 100% 0.03
JsonNumberTest 2 0 0 0 100% 0.002
JsonObjectImplTest 1 0 0 0 100% 0
LocationTest 4 0 0 0 100% 3.364
JsonReaderImplTest 26 0 0 0 100% 0.638
JsonGeneratorImplTest 22 0 0 0 100% 0.016
JsonArrayImplTest 3 0 0 0 100% 0.026
JsonParserTest 119 0 0 0 100% 1.815
JsonArrayBuilderImplTest 20 0 0 0 100% 0.028

Test Cases

[Summary] [Package List] [Test Cases]

JsonObjectBuilderImplTest

build 0

JsonWriterImplTest

writer 0.03

JsonNumberTest

testBigIntegerExact 0.001
testBigInteger 0.001

JsonObjectImplTest

objectToString 0

LocationTest

simpleLocation 0.012
testLocationOnParsingException 0.018
failBytesInput 0.025
simpleLocationCrossingBufferBoundaries 3.309

JsonReaderImplTest

special 0
simple2BadBufferSize8 0.06
emptyArrayOneCharBufferSize 0.005
parseTiny50BJsonFile 0.001
emptyZeroCharBuffersize 0.001
simpleBadBufferSize8 0.005
simpleBadBufferSize9 0.005
parseMedium11KbJsonFile 0.007
simple 0.001
unicodeFailAscii 0.001
unicodeWithIoReader 0.001
parseHuge1MbJsonFile 0.329
parseLarge130KbJsonFile 0.02
comments 0.007
unicode 0.001
unicode2Bytes 0.001
unicode3Bytes 0.001
unicode4Bytes 0.001
specialWithStringAsByteArrayInputStream 0.001
specialKeysWithStringAsByteArrayInputStream 0.003
stringescapeVariousBufferSizes 0.163
specialWithIoReader 0.001
emptyOneCharBufferSize 0.004
parseSmall3KbJsonFile 0.001
specialWithStringReader 0.001
parseBig600KbJsonFile 0.017

JsonGeneratorImplTest

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

JsonArrayImplTest

arrayIndex 0.025
emptyArray 0.001
arrayToString 0

JsonParserTest

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

JsonArrayBuilderImplTest

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

EnumConverterTest

fromEnumToString 0
fromStringToEnum 0

MapperTest

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

NullTest

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

MapperVersionTest

version 0.01

LiteralTest

writeReadNumbersInf 0.102
writeReadIterables 0.023
writeReadNumbers 0.007

MapperEnhancedTest

needConvertersForComplexTypes 0.006
writeNull 0.002
writeReadChar 0.004
writeReadSortedMap 0.004
writeReadSortedSet 0.005
writeTestclass 0.002
writeReadQueue 0.007

WadlDocumentToJsonTest

xmlToJson 0.027

JsrProviderTest

object 0.099
array 0.007

JohnzonProviderTest

object 0.023
asParam 0.013
list 0.007
array 0.005

ConfigurableJohnzonProviderTest

object 0.008
asParam 0.006
list 0.009
array 0.007

MapperCodecTest

codec 0.515

JsrCodecTest

codec 0.098