Class org.lightningj.lnd.util.JsonGenUtilsSpec

25

tests

0

failures

0

ignored

0.253s

duration

100%

successful

Tests

Test Duration Result
Verify that json containing mapped fields are converted properly from json 0.003s passed
Verify that jsonToMessage converts json to a message fields that contain single values 0.001s passed
Verify that jsonToString converts json to string properly 0.156s passed
Verify that mapped fields are converted properly to json 0.012s 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 0.001s passed
Verify that readRepeatedValue sets values from JsonArray correctly for type STRING 0.004s passed
Verify that readSingleValue retrieves correct json value for a field of type BOOLEAN 0.001s passed
Verify that readSingleValue retrieves correct json value for a field of type BYTE_STRING 0.003s 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.001s 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 0.001s passed
Verify that readSingleValue retrieves correct json value for a field of type MESSAGE 0s passed
Verify that readSingleValue retrieves correct json value for a field of type STRING 0.009s passed
Verify that setRepeatedValue creates Json Array correctly for type MESSAGE 0.006s passed
Verify that setRepeatedValue creates Json Array correctly for type STRING 0.007s passed
Verify that setSingleValue set correct json value for a field of type BOOLEAN 0.001s passed
Verify that setSingleValue set correct json value for a field of type BYTE_STRING 0.001s 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.005s passed
Verify that setSingleValue set correct json value for a field of type LONG 0.004s 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.021s passed