Home
last modified time | relevance | path

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

/external/bsdiff/
Dendsley_patch_writer_unittest.cc13 std::vector<uint8_t> VectorFromString(const std::string& s) { in VectorFromString() function
57 auto text = VectorFromString("HelloWorld"); in TEST_F()
71 const auto bz2_header = VectorFromString("BZh9"); in TEST_F()
85 auto text = VectorFromString("abcdeFGHIJ"); in TEST_F()
119 EXPECT_EQ(VectorFromString("abcde"), DataSubvector(24U + 24U, 5)); in TEST_F()
126 auto text = VectorFromString("abcdeFGHIJ"); in TEST_F()
145 EXPECT_EQ(VectorFromString("abFGH"), DataSubvector(24U + 24U, 5)); in TEST_F()
146 EXPECT_EQ(VectorFromString("cdI"), DataSubvector(24U + 24U * 2 + 5, 3)); in TEST_F()
147 EXPECT_EQ(VectorFromString("eJ"), DataSubvector(24U + 24U * 3 + 8, 2)); in TEST_F()