Class org.lightningj.lnd.util.JsonGenUtilsSpec

25

tests

0

failures

0

ignored

0.284s

duration

100%

successful

Tests

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