Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Unified Diff: testing/android/native_test_launcher.cc

Issue 10896050: Android: Use external storage for test data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: testing/android/native_test_launcher.cc
diff --git a/testing/android/native_test_launcher.cc b/testing/android/native_test_launcher.cc
index d807947acf23ae1c3216dbcbaf7e37823a3a6905..bece56a17bad48c797ec7e895b47dc795ffd4dc4 100644
--- a/testing/android/native_test_launcher.cc
+++ b/testing/android/native_test_launcher.cc
@@ -134,13 +134,13 @@ void AndroidLogPrinter::OnTestProgramStart(
const ::testing::UnitTest& unit_test) {
std::string msg = StringPrintf("[ START ] %d",
unit_test.test_to_run_count());
- log_write(ANDROID_LOG_VERBOSE, msg.c_str());
+ log_write(ANDROID_LOG_ERROR, msg.c_str());
}
void AndroidLogPrinter::OnTestStart(const ::testing::TestInfo& test_info) {
std::string msg = StringPrintf("[ RUN ] %s.%s",
test_info.test_case_name(), test_info.name());
- log_write(ANDROID_LOG_VERBOSE, msg.c_str());
+ log_write(ANDROID_LOG_ERROR, msg.c_str());
}
void AndroidLogPrinter::OnTestPartResult(
@@ -151,21 +151,21 @@ void AndroidLogPrinter::OnTestPartResult(
test_part_result.file_name(),
test_part_result.line_number(),
test_part_result.summary());
- log_write(ANDROID_LOG_VERBOSE, msg.c_str());
+ log_write(ANDROID_LOG_ERROR, msg.c_str());
}
void AndroidLogPrinter::OnTestEnd(const ::testing::TestInfo& test_info) {
std::string msg = StringPrintf("%s %s.%s",
test_info.result()->Failed() ? "[ FAILED ]" : "[ OK ]",
test_info.test_case_name(), test_info.name());
- log_write(ANDROID_LOG_VERBOSE, msg.c_str());
+ log_write(ANDROID_LOG_ERROR, msg.c_str());
}
void AndroidLogPrinter::OnTestProgramEnd(
const ::testing::UnitTest& unit_test) {
std::string msg = StringPrintf("[ END ] %d",
unit_test.successful_test_count());
- log_write(ANDROID_LOG_VERBOSE, msg.c_str());
+ log_write(ANDROID_LOG_ERROR, msg.c_str());
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698