Searched refs:test_tokenizer_one (Results 1 – 1 of 1) sorted by relevance
/systemd-251/src/test/ |
D | test-json.c | 17 static void test_tokenizer_one(const char *data, ...) { in test_tokenizer_one() function 582 test_tokenizer_one("x", -EINVAL); in TEST() 583 test_tokenizer_one("", JSON_TOKEN_END); in TEST() 584 test_tokenizer_one(" ", JSON_TOKEN_END); in TEST() 585 test_tokenizer_one("0", JSON_TOKEN_UNSIGNED, (uint64_t) 0, JSON_TOKEN_END); in TEST() 586 test_tokenizer_one("-0", JSON_TOKEN_INTEGER, (int64_t) 0, JSON_TOKEN_END); in TEST() 587 test_tokenizer_one("1234", JSON_TOKEN_UNSIGNED, (uint64_t) 1234, JSON_TOKEN_END); in TEST() 588 test_tokenizer_one("-1234", JSON_TOKEN_INTEGER, (int64_t) -1234, JSON_TOKEN_END); in TEST() 589 …test_tokenizer_one("18446744073709551615", JSON_TOKEN_UNSIGNED, (uint64_t) UINT64_MAX, JSON_TOKEN_… in TEST() 590 …test_tokenizer_one("-9223372036854775808", JSON_TOKEN_INTEGER, (int64_t) INT64_MIN, JSON_TOKEN_END… in TEST() [all …]
|