Class org.lightningj.lnd.util.JsonGenUtilsSpec

25

tests

0

failures

0

ignored

0.381s

duration

100%

successful

Tests

Test Duration Result
Verify that json containing mapped fields are converted properly from json 0.004s passed
Verify that jsonToMessage converts json to a message fields that contain single values 0.007s passed
Verify that jsonToString converts json to string properly 0.251s passed
Verify that mapped fields are converted properly to json 0.011s passed
Verify that messageToJson converts a message fields to json that contain single values 0.001s passed
Verify that readRepeatedValue sets values from JsonArray correctly for type MESSAGE 0s passed
Verify that readRepeatedValue sets values from JsonArray correctly for type STRING 0.006s passed
Verify that readSingleValue retrieves correct json value for a field of type BOOLEAN 0s passed
Verify that readSingleValue retrieves correct json value for a field of type BYTE_STRING 0.004s passed
Verify that readSingleValue retrieves correct json value for a field of type DOUBLE 0.001s passed
Verify that readSingleValue retrieves correct json value for a field of type ENUM 0.002s passed
Verify that readSingleValue retrieves correct json value for a field of type INT 0.001s passed
Verify that readSingleValue retrieves correct json value for a field of type LONG 0s passed
Verify that readSingleValue retrieves correct json value for a field of type MESSAGE 0.002s passed
Verify that readSingleValue retrieves correct json value for a field of type STRING 0.011s passed
Verify that setRepeatedValue creates Json Array correctly for type MESSAGE 0.009s passed
Verify that setRepeatedValue creates Json Array correctly for type STRING 0.012s passed
Verify that setSingleValue set correct json value for a field of type BOOLEAN 0.002s passed
Verify that setSingleValue set correct json value for a field of type BYTE_STRING 0.002s passed
Verify that setSingleValue set correct json value for a field of type DOUBLE 0.004s passed
Verify that setSingleValue set correct json value for a field of type ENUM 0.005s passed
Verify that setSingleValue set correct json value for a field of type INT 0.008s passed
Verify that setSingleValue set correct json value for a field of type LONG 0.008s passed
Verify that setSingleValue set correct json value for a field of type MESSAGE 0.004s passed
Verify that setSingleValue set correct json value for a field of type STRING 0.026s passed