14 #include <common/encode/Base64.h> 29 EXPECT_EQ(output.
tag, StructuredHeaderItem::Type::BINARYCONTENT);
34 std::string input =
"*()645\t this is not a b64 encoded string ((({]}}}))*";
55 EXPECT_EQ(output.
tag, StructuredHeaderItem::Type::BINARYCONTENT);
65 EXPECT_EQ(output.
tag, StructuredHeaderItem::Type::IDENTIFIER);
75 EXPECT_EQ(output.
tag, StructuredHeaderItem::Type::IDENTIFIER);
154 EXPECT_EQ(output.
tag, StructuredHeaderItem::Type::INT64);
180 EXPECT_EQ(output.
tag, StructuredHeaderItem::Type::INT64);
198 EXPECT_EQ(output.
tag, StructuredHeaderItem::Type::INT64);
208 EXPECT_EQ(output.
tag, StructuredHeaderItem::Type::INT64);
226 EXPECT_EQ(output.
tag, StructuredHeaderItem::Type::DOUBLE);
236 EXPECT_EQ(output.
tag, StructuredHeaderItem::Type::DOUBLE);
269 EXPECT_EQ(output.
tag, StructuredHeaderItem::Type::DOUBLE);
288 EXPECT_EQ(output.
tag, StructuredHeaderItem::Type::INT64);
299 EXPECT_EQ(output.
tag, StructuredHeaderItem::Type::DOUBLE);
306 for (
int i = 0;
i < 2;
i++) {
310 EXPECT_EQ(output.
tag, StructuredHeaderItem::Type::IDENTIFIER);
321 doubleItem.
value = 11.43;
#define EXPECT_EQ(val1, val2)
#define EXPECT_NE(val1, val2)
TEST_F(HeaderTableTests, IndexTranslation)