15 namespace StructuredHeaders {
23 if (c >=
'a' && c <=
'z') {
34 if ((c >=
'a' && c <=
'z') ||
35 (c >=
'0' && c <=
'9') ||
36 (c ==
'_' || c ==
'-' || c ==
'*' || c ==
'/')) {
45 test_isValidEncodedBinaryContentChar_alphanumeric) {
53 test_isValidEncodedBinaryContentChar_allowed_symbols) {
60 test_isValidEncodedBinaryContentChar_disallowed_symbols) {
151 item.
value =
"\"potato\"";
155 item.
value =
"a_800";
162 item.
value =
"hello";
170 item.
value = double(88.8);
178 item.
value =
"hello";
194 item.
value = double(68.8);
#define EXPECT_EQ(val1, val2)
#define EXPECT_TRUE(condition)
#define EXPECT_FALSE(condition)