Home
last modified time | relevance | path

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

/external/libbrillo/brillo/
Ddata_encoding_unittest.cc129 brillo::Blob decoded_blob; in TEST() local
130 EXPECT_TRUE(Base64Decode(encoded3, &decoded_blob)); in TEST()
131 EXPECT_EQ(decoded3, decoded_blob); in TEST()
133 EXPECT_FALSE(Base64Decode("A", &decoded_blob)); in TEST()
134 EXPECT_TRUE(decoded_blob.empty()); in TEST()
136 EXPECT_TRUE(Base64Decode("/w==", &decoded_blob)); in TEST()
137 EXPECT_EQ((brillo::Blob{0xFF}), decoded_blob); in TEST()
139 EXPECT_TRUE(Base64Decode("//8=", &decoded_blob)); in TEST()
140 EXPECT_EQ((brillo::Blob{0xFF, 0xFF}), decoded_blob); in TEST()
142 EXPECT_FALSE(Base64Decode("AAECAwQFB,cI", &decoded_blob)); in TEST()
[all …]