summaryrefslogtreecommitdiffstats
path: root/tests/component/verifier_test.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-02-04 20:30:42 +0100
committerTao Bao <tbao@google.com>2016-02-05 19:41:53 +0100
commite1a16af3ea497c8b4df62cec99bf36bde28df409 (patch)
tree9d24d8e8cfa4d5874416f0766406ca7099a46ed8 /tests/component/verifier_test.cpp
parentMerge "Refactor existing tests to use gtest" (diff)
downloadandroid_bootable_recovery-e1a16af3ea497c8b4df62cec99bf36bde28df409.tar
android_bootable_recovery-e1a16af3ea497c8b4df62cec99bf36bde28df409.tar.gz
android_bootable_recovery-e1a16af3ea497c8b4df62cec99bf36bde28df409.tar.bz2
android_bootable_recovery-e1a16af3ea497c8b4df62cec99bf36bde28df409.tar.lz
android_bootable_recovery-e1a16af3ea497c8b4df62cec99bf36bde28df409.tar.xz
android_bootable_recovery-e1a16af3ea497c8b4df62cec99bf36bde28df409.tar.zst
android_bootable_recovery-e1a16af3ea497c8b4df62cec99bf36bde28df409.zip
Diffstat (limited to 'tests/component/verifier_test.cpp')
-rw-r--r--tests/component/verifier_test.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/tests/component/verifier_test.cpp b/tests/component/verifier_test.cpp
index 7f7b1b448..71fa028ca 100644
--- a/tests/component/verifier_test.cpp
+++ b/tests/component/verifier_test.cpp
@@ -138,13 +138,13 @@ class MockUI : public RecoveryUI {
void Init() { }
void SetStage(int, int) { }
void SetLocale(const char*) { }
- void SetBackground(Icon icon) { }
+ void SetBackground(Icon /*icon*/) { }
- void SetProgressType(ProgressType determinate) { }
- void ShowProgress(float portion, float seconds) { }
- void SetProgress(float fraction) { }
+ void SetProgressType(ProgressType /*determinate*/) { }
+ void ShowProgress(float /*portion*/, float /*seconds*/) { }
+ void SetProgress(float /*fraction*/) { }
- void ShowText(bool visible) { }
+ void ShowText(bool /*visible*/) { }
bool IsTextVisible() { return false; }
bool WasTextEverVisible() { return false; }
void Print(const char* fmt, ...) {
@@ -161,9 +161,10 @@ class MockUI : public RecoveryUI {
}
void ShowFile(const char*) { }
- void StartMenu(const char* const * headers, const char* const * items,
- int initial_selection) { }
- int SelectMenu(int sel) { return 0; }
+ void StartMenu(const char* const* /*headers*/,
+ const char* const* /*items*/,
+ int /*initial_selection*/) { }
+ int SelectMenu(int /*sel*/) { return 0; }
void EndMenu() { }
};