summaryrefslogtreecommitdiffstats
path: root/verifier_test.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-05-20 02:02:16 +0200
committerTao Bao <tbao@google.com>2015-06-03 07:15:40 +0200
commitb6918c7c433054ac4352d5f7746f7c2bf2971083 (patch)
tree4236756d31f2f9dc4cb4736d08bc2a41f4404fe5 /verifier_test.cpp
parentMerge "Stop using libstdc++." (diff)
downloadandroid_bootable_recovery-b6918c7c433054ac4352d5f7746f7c2bf2971083.tar
android_bootable_recovery-b6918c7c433054ac4352d5f7746f7c2bf2971083.tar.gz
android_bootable_recovery-b6918c7c433054ac4352d5f7746f7c2bf2971083.tar.bz2
android_bootable_recovery-b6918c7c433054ac4352d5f7746f7c2bf2971083.tar.lz
android_bootable_recovery-b6918c7c433054ac4352d5f7746f7c2bf2971083.tar.xz
android_bootable_recovery-b6918c7c433054ac4352d5f7746f7c2bf2971083.tar.zst
android_bootable_recovery-b6918c7c433054ac4352d5f7746f7c2bf2971083.zip
Diffstat (limited to '')
-rw-r--r--verifier_test.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/verifier_test.cpp b/verifier_test.cpp
index 82546edce..21633dc20 100644
--- a/verifier_test.cpp
+++ b/verifier_test.cpp
@@ -141,6 +141,12 @@ class FakeUI : public RecoveryUI {
vfprintf(stderr, fmt, ap);
va_end(ap);
}
+ void PrintOnScreenOnly(const char* fmt, ...) {
+ va_list ap;
+ va_start(ap, fmt);
+ vfprintf(stderr, fmt, ap);
+ va_end(ap);
+ }
void ShowFile(const char*) { }
void StartMenu(const char* const * headers, const char* const * items,