Searched refs:kATxtContents (Results 1 – 1 of 1) sorted by relevance
/system/libziparchive/ |
D | zip_archive_test.cc | 49 static const std::vector<uint8_t> kATxtContents{'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'a', variable 421 ASSERT_EQ(a_size, kATxtContents.size()); in TEST() 424 ASSERT_EQ(0, memcmp(buffer.get(), kATxtContents.data(), a_size)); in TEST() 445 ASSERT_EQ(a_size, kATxtContents.size()); in TEST() 448 ASSERT_EQ(0, memcmp(buffer, kATxtContents.data(), a_size)); in TEST() 603 ASSERT_EQ(0, memcmp(&uncompressed_data[0], kATxtContents.data(), kATxtContents.size())); in TEST() 606 ASSERT_EQ(static_cast<ssize_t>(data_size + kATxtContents.size()), in TEST() 697 ZipArchiveStreamTestUsingContents(kValidZip, "a.txt", kATxtContents, false); in TEST() 937 const uint32_t uncompressed_length = static_cast<uint32_t>(kATxtContents.size()); in TEST() 947 ASSERT_EQ(kATxtContents, writer.GetOutput()); in TEST() [all …]
|