Gradle Test Run :test

JsonSetTest: Test with Object Json (JsonValue, String, JsonValue, String)

summary

22

tests

0

failures

0

skipped

0.022s

duration

100%

successful

Child Name Tests Failures Skipped Duration Success rate
[10] json_set("{\"a\": 1, \"b\": \"two\"}", "d", "{\"da\": 1, \"db\": \"two\"}") = "{\"a\":1,\"b\":\"two\",\"d\":{\"da\":1,\"db\":\"two\"}}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[10] 1 0 0 0s 100%
[11] json_set("{\"a\":0}", "a", "1") = "{\"a\":1}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[11] 1 0 0 0s 100%
[12] json_set("{\"a\":0}", "a", "[1,2,3]") = "{\"a\":[1,2,3]}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[12] 1 0 0 0.001s 100%
[13] json_set("{\"a\":0}", "a", "{\"b\":123}") = "{\"a\":{\"b\":123}}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[13] 1 0 0 0.001s 100%
[14] json_set("{\"a\":0}", "a", "{\"b\":\"abc\"}") = "{\"a\":{\"b\":\"abc\"}}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[14] 1 0 0 0.001s 100%
[15] json_set("{\"a\": 1, \"b\": \"two\"}", "b", "3") = "{\"a\":1,\"b\":3}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[15] 1 0 0 0.001s 100%
[16] json_set("{\"a\": 1, \"b\": \"two\"}", "b", "{\"da\": 1, \"db\": \"two\"}") = "{\"a\":1,\"b\":{\"da\":1,\"db\":\"two\"}}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[16] 1 0 0 0.001s 100%
[17] json_set("{\"a\":0, \"a\":5}", "a", "1") = "{\"a\":0,\"a\":1}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[17] 1 0 0 0.001s 100%
[18] json_set("{\"a\":0, \"a\":5}", "a", "[1,2,3]") = "{\"a\":0,\"a\":[1,2,3]}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[18] 1 0 0 0.001s 100%
[19] json_set("{\"a\":0, \"a\":5}", "a", "{\"b\":123}") = "{\"a\":0,\"a\":{\"b\":123}}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[19] 1 0 0 0.001s 100%
[1] json_set("{}", "a", "1") = "{\"a\":1}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[1] 1 0 0 0s 100%
[20] json_set("{\"a\":0, \"a\":5}", "a", "{\"b\":\"abc\"}") = "{\"a\":0,\"a\":{\"b\":\"abc\"}}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[20] 1 0 0 0.001s 100%
[21] json_set("{\"a\": 1, \"b\": 5, \"b\": \"two\"}", "b", "3") = "{\"a\":1,\"b\":5,\"b\":3}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[21] 1 0 0 0.001s 100%
[22] json_set("{\"a\": 1, \"b\": 5, \"b\": \"two\"}", "b", "{\"da\": 1, \"db\": \"two\"}") = "{\"a\":1,\"b\":5,\"b\":{\"da\":1,\"db\":\"two\"}}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[22] 1 0 0 0.001s 100%
[2] json_set("{}", "a", "[1,2,3]") = "{\"a\":[1,2,3]}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[2] 1 0 0 0s 100%
[3] json_set("{}", "a", "{\"b\":123}") = "{\"a\":{\"b\":123}}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[3] 1 0 0 0s 100%
[4] json_set("{}", "a", "{\"b\":\"abc\"}") = "{\"a\":{\"b\":\"abc\"}}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[4] 1 0 0 0s 100%
[5] json_set("{\"z\":0}", "a", "1") = "{\"z\":0,\"a\":1}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[5] 1 0 0 0.001s 100%
[6] json_set("{\"z\":0}", "a", "[1,2,3]") = "{\"z\":0,\"a\":[1,2,3]}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[6] 1 0 0 0.001s 100%
[7] json_set("{\"z\":0}", "a", "{\"b\":123}") = "{\"z\":0,\"a\":{\"b\":123}}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[7] 1 0 0 0.001s 100%
[8] json_set("{\"z\":0}", "a", "{\"b\":\"abc\"}") = "{\"z\":0,\"a\":{\"b\":\"abc\"}}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[8] 1 0 0 0s 100%
[9] json_set("{\"a\": 1, \"b\": \"two\"}", "c", "3") = "{\"a\":1,\"b\":\"two\",\"c\":3}" Test_with_Object_Json(JsonValue, String, JsonValue, String)[9] 1 0 0 0s 100%