diff options
| author | 2014-06-10 18:21:32 +0000 | |
|---|---|---|
| committer | 2014-06-10 18:21:32 +0000 | |
| commit | 5bf6a77944acdeb0a9464803c70d0c65cf15b68b (patch) | |
| tree | ee66c89cf844201630b47eb0c0c438b88e3ab866 /runtime/class_linker_test.cc | |
| parent | 335b91fb98d8004580e9a58335a873a1874fa5a5 (diff) | |
| parent | bfd9a4378eacaf2dc2bbe05ad48c5164fc93c9fe (diff) | |
Merge "Change MethodHelper to use a Handle."
Diffstat (limited to 'runtime/class_linker_test.cc')
| -rw-r--r-- | runtime/class_linker_test.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/runtime/class_linker_test.cc b/runtime/class_linker_test.cc index 45ab33a7f3..04f6946aa8 100644 --- a/runtime/class_linker_test.cc +++ b/runtime/class_linker_test.cc @@ -152,11 +152,10 @@ class ClassLinkerTest : public CommonRuntimeTest { } void AssertMethod(mirror::ArtMethod* method) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { - MethodHelper mh(method); EXPECT_TRUE(method != NULL); EXPECT_TRUE(method->GetClass() != NULL); - EXPECT_TRUE(mh.GetName() != NULL); - EXPECT_TRUE(mh.GetSignature() != Signature::NoSignature()); + EXPECT_TRUE(method->GetName() != NULL); + EXPECT_TRUE(method->GetSignature() != Signature::NoSignature()); EXPECT_TRUE(method->GetDexCacheStrings() != NULL); EXPECT_TRUE(method->GetDexCacheResolvedMethods() != NULL); @@ -203,8 +202,7 @@ class ClassLinkerTest : public CommonRuntimeTest { if (klass->IsInterface()) { EXPECT_TRUE(klass->IsAbstract()); if (klass->NumDirectMethods() == 1) { - MethodHelper mh(klass->GetDirectMethod(0)); - EXPECT_TRUE(mh.IsClassInitializer()); + EXPECT_TRUE(klass->GetDirectMethod(0)->IsClassInitializer()); EXPECT_TRUE(klass->GetDirectMethod(0)->IsDirect()); } else { EXPECT_EQ(0U, klass->NumDirectMethods()); |