Lines Matching refs:source_file
49 source_file = from_testdata_base("boot.img"); in SetUp()
51 ASSERT_TRUE(LoadFileContents(source_file, &boot_fc)); in SetUp()
61 source_partition = Partition(source_file, source_size, source_sha1); in SetUp()
76 std::string source_file; member in ApplyPatchTest
100 ASSERT_FALSE(CheckPartition(Partition(source_file, target_size, target_sha1))); in TEST_F()
101 ASSERT_FALSE(CheckPartition(Partition(source_file, source_size, bad_sha1_a))); in TEST_F()
103 ASSERT_FALSE(CheckPartition(Partition(source_file, source_size - 1, source_sha1))); in TEST_F()
104 ASSERT_FALSE(CheckPartition(Partition(source_file, source_size + 1, source_sha1))); in TEST_F()
111 PatchPartitionCheck(Partition(source_file, source_size - 1, source_sha1), source_partition)); in TEST_F()
114 PatchPartitionCheck(Partition(source_file, source_size + 1, source_sha1), source_partition)); in TEST_F()
121 Paths::Get().set_cache_temp_source(source_file); in TEST_F()