summaryrefslogtreecommitdiffstats
path: root/tests/component/applypatch_test.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-08-30 10:05:10 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-08-30 10:05:10 +0200
commit34271fb209d89a366be5e400f4b5af8eedf2d369 (patch)
tree1bed68cef9e1d5bf3f8738f9e3d7e419909c1189 /tests/component/applypatch_test.cpp
parentrelease-request-d9d65d1a-80f5-45e5-a00f-5a3915c3d445-for-git_pi-release-4303984 snap-temp-L75600000097489288 (diff)
parentImport translations. DO NOT MERGE am: c16d222593 -s ours (diff)
downloadandroid_bootable_recovery-34271fb209d89a366be5e400f4b5af8eedf2d369.tar
android_bootable_recovery-34271fb209d89a366be5e400f4b5af8eedf2d369.tar.gz
android_bootable_recovery-34271fb209d89a366be5e400f4b5af8eedf2d369.tar.bz2
android_bootable_recovery-34271fb209d89a366be5e400f4b5af8eedf2d369.tar.lz
android_bootable_recovery-34271fb209d89a366be5e400f4b5af8eedf2d369.tar.xz
android_bootable_recovery-34271fb209d89a366be5e400f4b5af8eedf2d369.tar.zst
android_bootable_recovery-34271fb209d89a366be5e400f4b5af8eedf2d369.zip
Diffstat (limited to 'tests/component/applypatch_test.cpp')
-rw-r--r--tests/component/applypatch_test.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/component/applypatch_test.cpp b/tests/component/applypatch_test.cpp
index 016fed9b1..42542898b 100644
--- a/tests/component/applypatch_test.cpp
+++ b/tests/component/applypatch_test.cpp
@@ -61,14 +61,6 @@ static void mangle_file(const std::string& fname) {
ASSERT_TRUE(android::base::WriteStringToFile(content, fname));
}
-static bool file_cmp(const std::string& f1, const std::string& f2) {
- std::string c1;
- android::base::ReadFileToString(f1, &c1);
- std::string c2;
- android::base::ReadFileToString(f2, &c2);
- return c1 == c2;
-}
-
class ApplyPatchTest : public ::testing::Test {
public:
static void SetUpTestCase() {