Searched refs:kATxtContents (Results 1 – 1 of 1) sorted by relevance
/system/core/libziparchive/ |
D | zip_archive_test.cc | 46 static const std::vector<uint8_t> kATxtContents{'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'a', variable 239 ASSERT_EQ(a_size, kATxtContents.size()); in TEST() 242 ASSERT_EQ(0, memcmp(buffer, kATxtContents.data(), a_size)); in TEST() 402 ASSERT_EQ(0, memcmp(&uncompressed_data[0], kATxtContents.data(), kATxtContents.size())); in TEST() 405 ASSERT_EQ(static_cast<ssize_t>(data_size + kATxtContents.size()), in TEST() 498 ZipArchiveStreamTestUsingContents(kValidZip, kATxtName, kATxtContents, false); in TEST() 741 const uint32_t uncompressed_length = kATxtContents.size(); in TEST() 751 ASSERT_EQ(kATxtContents, writer.GetOutput()); in TEST() 760 ASSERT_EQ(kATxtContents, writer.GetOutput()); in TEST()
|