Searched refs:expected_data (Results 1 – 7 of 7) sorted by relevance
/system/update_engine/payload_consumer/ |
D | delta_performer_unittest.cc | 398 brillo::Blob expected_data = brillo::Blob(std::begin(kRandomString), in TEST_F() local 400 expected_data.resize(4096); // block size in TEST_F() 405 aop.op.set_data_length(expected_data.size()); in TEST_F() 409 brillo::Blob payload_data = GeneratePayload(expected_data, aops, false, in TEST_F() 412 EXPECT_EQ(expected_data, ApplyPayload(payload_data, "/dev/null", true)); in TEST_F() 417 brillo::Blob expected_data = brillo::Blob(std::begin(kRandomString), in TEST_F() local 419 expected_data.resize(4096); // block size in TEST_F() 424 aop.op.set_data_length(expected_data.size()); in TEST_F() 428 brillo::Blob payload_data = GeneratePayload(expected_data, aops, false, in TEST_F() 441 brillo::Blob expected_data = brillo::Blob(std::begin(kRandomString), in TEST_F() local [all …]
|
D | xz_extent_writer_unittest.cc | 132 brillo::Blob expected_data(30 * 1024, 'a'); in TEST_F() local 133 EXPECT_EQ(expected_data, fake_extent_writer_->WrittenData()); in TEST_F() 155 brillo::Blob expected_data(30 * 1024, 'a'); in TEST_F() local 156 EXPECT_EQ(expected_data, fake_extent_writer_->WrittenData()); in TEST_F()
|
D | extent_writer_unittest.cc | 224 brillo::Blob expected_data(on_disk_count * kBlockSize); in TEST_F() local 229 memcpy(&expected_data[kBlockSize], &big[0], kBlockSize); in TEST_F() 230 memcpy(&expected_data[0], &big[3 * kBlockSize], kBlockSize); in TEST_F() 231 ExpectVectorsEq(expected_data, resultant_data); in TEST_F()
|
/system/bt/hci/test/ |
D | packet_fragmenter_test.cc | 87 BT_HDR* packet, const char* expected_data, in expect_packet_fragmented() argument 104 int length_remaining = strlen(expected_data) - data_size_sum; in expect_packet_fragmented() 115 length_to_check = strlen(expected_data); in expect_packet_fragmented() 120 EXPECT_EQ(expected_data[expected_data_offset + i], data[i]); in expect_packet_fragmented() 125 EXPECT_TRUE(send_complete == (data_size_sum == strlen(expected_data))); in expect_packet_fragmented() 180 const char* expected_data) { in expect_packet_reassembled() argument 181 uint16_t expected_data_length = strlen(expected_data); in expect_packet_reassembled() 199 EXPECT_EQ(expected_data[i], data[i]); in expect_packet_reassembled()
|
/system/tpm/attestation/server/ |
D | database_impl_test.cc | 113 std::string expected_data; in TEST_F() local 114 database_->GetProtobuf().SerializeToString(&expected_data); in TEST_F() 116 EXPECT_EQ(expected_data, fake_persistent_data_); in TEST_F()
|
/system/update_engine/payload_generator/ |
D | ab_generator_unittest.cc | 311 brillo::Blob expected_data(part_data.begin(), in TestMergeReplaceOrReplaceBzOperations() local 315 ASSERT_TRUE(BzipCompress(expected_data, &expected_blob)); in TestMergeReplaceOrReplaceBzOperations() 317 expected_blob = expected_data; in TestMergeReplaceOrReplaceBzOperations()
|
/system/bt/stack/test/rfcomm/ |
D | stack_rfcomm_test.cc | 102 uint8_t* expected_data = expected_hdr->data + expected_hdr->offset; in MATCHER_P() local 103 return memcmp(arg_data, expected_data, expected_hdr->len) == 0; in MATCHER_P()
|