diff options
author | Brian Carlstrom <bdc@google.com> | 2014-02-24 23:23:58 -0800 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2014-02-26 13:17:44 -0800 |
commit | a1ce1fef2d49d1d537776a5308ace7102a815fe5 (patch) | |
tree | a1afe850d9ebd21f4b751eb68e1ec3dc60dab001 /runtime/class_linker_test.cc | |
parent | 930f7b843ddc6e6530439d3fdb0e2133a6292f1e (diff) | |
download | art-a1ce1fef2d49d1d537776a5308ace7102a815fe5.zip art-a1ce1fef2d49d1d537776a5308ace7102a815fe5.tar.gz art-a1ce1fef2d49d1d537776a5308ace7102a815fe5.tar.bz2 |
Split up CommonTest into CommonRuntimeTest and CommonCompilerTest
Change-Id: I8dcf6b29a5aecd445f1a3ddb06386cf81dbc9c70
Diffstat (limited to 'runtime/class_linker_test.cc')
-rw-r--r-- | runtime/class_linker_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/class_linker_test.cc b/runtime/class_linker_test.cc index 0cd8e71..55c23f4 100644 --- a/runtime/class_linker_test.cc +++ b/runtime/class_linker_test.cc @@ -20,7 +20,7 @@ #include "UniquePtr.h" #include "class_linker-inl.h" -#include "common_test.h" +#include "common_runtime_test.h" #include "dex_file.h" #include "entrypoints/entrypoint_utils.h" #include "gc/heap.h" @@ -37,7 +37,7 @@ namespace art { -class ClassLinkerTest : public CommonTest { +class ClassLinkerTest : public CommonRuntimeTest { protected: void AssertNonExistentClass(const std::string& descriptor) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { @@ -339,7 +339,7 @@ class ClassLinkerTest : public CommonTest { mirror::DexCache* dex_cache = class_linker_->FindDexCache(*dex); mirror::ObjectArray<mirror::ArtMethod>* resolved_methods = dex_cache->GetResolvedMethods(); for (size_t i = 0; i < static_cast<size_t>(resolved_methods->GetLength()); i++) { - EXPECT_TRUE(resolved_methods->Get(i) != NULL); + EXPECT_TRUE(resolved_methods->Get(i) != NULL) << dex->GetLocation() << " i=" << i; } } |