Lines Matching refs:output
15 std::string output; in TEST() local
17 &output); in TEST()
20 EXPECT_EQ("aGVsbG8_d29ybGQ=", output); in TEST()
23 Base64UrlEncode("??", Base64UrlEncodePolicy::INCLUDE_PADDING, &output); in TEST()
24 EXPECT_EQ("Pz8=", output); in TEST()
26 Base64UrlEncode("", Base64UrlEncodePolicy::INCLUDE_PADDING, &output); in TEST()
27 EXPECT_EQ("", output); in TEST()
31 std::string output; in TEST() local
32 Base64UrlEncode("hello?world", Base64UrlEncodePolicy::OMIT_PADDING, &output); in TEST()
35 EXPECT_EQ("aGVsbG8_d29ybGQ", output); in TEST()
38 Base64UrlEncode("??", Base64UrlEncodePolicy::OMIT_PADDING, &output); in TEST()
39 EXPECT_EQ("Pz8", output); in TEST()
41 Base64UrlEncode("", Base64UrlEncodePolicy::OMIT_PADDING, &output); in TEST()
42 EXPECT_EQ("", output); in TEST()
46 std::string output; in TEST() local
48 Base64UrlDecodePolicy::REQUIRE_PADDING, &output)); in TEST()
50 EXPECT_EQ("hello?world", output); in TEST()
53 "aGVsbG8_d29ybGQ", Base64UrlDecodePolicy::REQUIRE_PADDING, &output)); in TEST()
57 Base64UrlDecode("Pz8=", Base64UrlDecodePolicy::REQUIRE_PADDING, &output)); in TEST()
58 EXPECT_EQ("??", output); in TEST()
61 Base64UrlDecode("", Base64UrlDecodePolicy::REQUIRE_PADDING, &output)); in TEST()
62 EXPECT_EQ("", output); in TEST()
66 std::string output; in TEST() local
68 Base64UrlDecodePolicy::IGNORE_PADDING, &output)); in TEST()
70 EXPECT_EQ("hello?world", output); in TEST()
74 Base64UrlDecodePolicy::IGNORE_PADDING, &output)); in TEST()
76 EXPECT_EQ("hello?world", output); in TEST()
80 std::string output; in TEST() local
82 "aGVsbG8_d29ybGQ=", Base64UrlDecodePolicy::DISALLOW_PADDING, &output)); in TEST()
86 "aGVsbG8_d29ybGQ", Base64UrlDecodePolicy::DISALLOW_PADDING, &output)); in TEST()
88 EXPECT_EQ("hello?world", output); in TEST()
92 std::string output; in TEST() local
97 "aGVsbG8/d29ybGQ=", Base64UrlDecodePolicy::REQUIRE_PADDING, &output)); in TEST()
101 std::string output; in TEST() local
104 "=", Base64UrlDecodePolicy::IGNORE_PADDING, &output)); in TEST()
106 "==", Base64UrlDecodePolicy::IGNORE_PADDING, &output)); in TEST()
108 "===", Base64UrlDecodePolicy::IGNORE_PADDING, &output)); in TEST()
110 "====", Base64UrlDecodePolicy::IGNORE_PADDING, &output)); in TEST()