summaryrefslogtreecommitdiff
path: root/src/common_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common_test.h')
-rw-r--r--src/common_test.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common_test.h b/src/common_test.h
index bfc58f6183..14a68a2de0 100644
--- a/src/common_test.h
+++ b/src/common_test.h
@@ -319,7 +319,7 @@ class ScratchFile {
int fd_;
};
-class RuntimeTest : public testing::Test {
+class CommonTest : public testing::Test {
protected:
virtual void SetUp() {
is_host_ = getenv("ANDROID_BUILD_TOP") != NULL;
@@ -416,7 +416,7 @@ class RuntimeTest : public testing::Test {
bool is_host_;
scoped_ptr_malloc<char> android_data_;
std::string art_cache_;
- scoped_ptr<DexFile> java_lang_dex_file_;
+ scoped_ptr<const DexFile> java_lang_dex_file_;
scoped_ptr<Runtime> runtime_;
ClassLinker* class_linker_;
};