Searched refs:decoded_blob (Results 1 – 2 of 2) sorted by relevance
/external/libweave/src/ |
D | data_encoding_unittest.cc | 129 std::vector<uint8_t> 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((std::vector<uint8_t>{0xFF}), decoded_blob); in TEST() 139 EXPECT_TRUE(Base64Decode("//8=", &decoded_blob)); in TEST() 140 EXPECT_EQ((std::vector<uint8_t>{0xFF, 0xFF}), decoded_blob); in TEST() 142 EXPECT_FALSE(Base64Decode("AAECAwQFB,cI", &decoded_blob)); in TEST() [all …]
|
/external/libbrillo/brillo/ |
D | data_encoding_unittest.cc | 129 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 …]
|