summaryrefslogtreecommitdiff
path: root/libartbase/base/logging_test.cc
diff options
context:
space:
mode:
author David Sehr <sehr@google.com> 2018-04-05 12:23:54 -0700
committer David Sehr <sehr@google.com> 2018-04-09 23:30:08 +0000
commit9c4a015cf01989597fd899011dba310b704dacaa (patch)
tree17101dd177beb28c1d28c8eddab645bc7d1af984 /libartbase/base/logging_test.cc
parent6485701497edf2fd4e5296c3715929ad44ea9752 (diff)
Move more runtime code to libartbase, libdexfile
Move some code that logically belongs to libartbase or libdexfile to those places respectively. Bug: 22322814 Test: make -j 50 checkbuild Change-Id: Idfded5d24b40d8587011681e6235b6672846da19
Diffstat (limited to 'libartbase/base/logging_test.cc')
-rw-r--r--libartbase/base/logging_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libartbase/base/logging_test.cc b/libartbase/base/logging_test.cc
index 404e080b03..1456eb30fa 100644
--- a/libartbase/base/logging_test.cc
+++ b/libartbase/base/logging_test.cc
@@ -21,7 +21,7 @@
#include "android-base/logging.h"
#include "base/bit_utils.h"
#include "base/macros.h"
-#include "common_runtime_test.h"
+#include "gtest/gtest.h"
#include "runtime_debug.h"
namespace art {
@@ -31,9 +31,9 @@ static void SimpleAborter(const char* msg) {
_exit(1);
}
-class LoggingTest : public CommonRuntimeTest {
+class LoggingTest : public testing::Test {
protected:
- void PostRuntimeCreate() OVERRIDE {
+ LoggingTest() {
// In our abort tests we really don't want the runtime to create a real dump.
android::base::SetAborter(SimpleAborter);
}