Home
last modified time | relevance | path

Searched refs:EXPECT_SLICE_EQ (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc/test/core/transport/chttp2/
Dbin_decoder_test.cc81 #define EXPECT_SLICE_EQ(expected, slice) \ macro
87 EXPECT_SLICE_EQ( \
111 EXPECT_SLICE_EQ("", base64_decode("")); in main()
113 EXPECT_SLICE_EQ("f", base64_decode("Zg==")); in main()
115 EXPECT_SLICE_EQ("fo", base64_decode("Zm8=")); in main()
117 EXPECT_SLICE_EQ("foo", base64_decode("Zm9v")); in main()
119 EXPECT_SLICE_EQ("foob", base64_decode("Zm9vYg==")); in main()
121 EXPECT_SLICE_EQ("fooba", base64_decode("Zm9vYmE=")); in main()
123 EXPECT_SLICE_EQ("foobar", base64_decode("Zm9vYmFy")); in main()
125 EXPECT_SLICE_EQ("\xc0\xc1\xc2\xc3\xc4\xc5", base64_decode("wMHCw8TF")); in main()
[all …]
Dbin_encoder_test.cc63 #define EXPECT_SLICE_EQ(expected, slice) \ macro
106 EXPECT_SLICE_EQ("", B64("")); in main()
108 EXPECT_SLICE_EQ("Zg", B64("f")); in main()
110 EXPECT_SLICE_EQ("Zm8", B64("fo")); in main()
112 EXPECT_SLICE_EQ("Zm9v", B64("foo")); in main()
114 EXPECT_SLICE_EQ("Zm9vYg", B64("foob")); in main()
116 EXPECT_SLICE_EQ("Zm9vYmE", B64("fooba")); in main()
118 EXPECT_SLICE_EQ("Zm9vYmFy", B64("foobar")); in main()
120 EXPECT_SLICE_EQ("wMHCw8TF", B64("\xc0\xc1\xc2\xc3\xc4\xc5")); in main()
123 EXPECT_SLICE_EQ("\xf1\xe3\xc2\xe5\xf2\x3a\x6b\xa0\xab\x90\xf4\xff", in main()
[all …]