Merge "Annotate logcat with current running test (oemcrypto)"

This commit is contained in:
Fred Gylys-Colwell
2015-04-22 17:34:53 +00:00
committed by Android (Google) Code Review
3 changed files with 8 additions and 3 deletions

View File

@@ -1458,6 +1458,10 @@ class OEMCryptoClientTest : public ::testing::Test {
wvcdm::Properties::Init();
ASSERT_EQ(OEMCrypto_SUCCESS, OEMCrypto_Initialize());
wvcdm::g_cutoff = wvcdm::LOG_INFO;
const ::testing::TestInfo* const test_info =
::testing::UnitTest::GetInstance()->current_test_info();
LOGD("Running test %s.%s", test_info->name(),
test_info->test_case_name());
}
virtual void TearDown() {