Lines Matching refs:JavaLangObject
657 mirror::Class* JavaLangObject = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"); in TEST_F() local
658 ASSERT_TRUE(JavaLangObject != NULL); in TEST_F()
659 ASSERT_TRUE(JavaLangObject->GetClass() != NULL); in TEST_F()
660 ASSERT_EQ(JavaLangObject->GetClass(), JavaLangObject->GetClass()->GetClass()); in TEST_F()
661 EXPECT_EQ(JavaLangObject, JavaLangObject->GetClass()->GetSuperClass()); in TEST_F()
663 ASSERT_STREQ(JavaLangObject->GetDescriptor(&temp), "Ljava/lang/Object;"); in TEST_F()
664 EXPECT_TRUE(JavaLangObject->GetSuperClass() == NULL); in TEST_F()
665 EXPECT_FALSE(JavaLangObject->HasSuperClass()); in TEST_F()
666 EXPECT_TRUE(JavaLangObject->GetClassLoader() == NULL); in TEST_F()
667 EXPECT_EQ(mirror::Class::kStatusInitialized, JavaLangObject->GetStatus()); in TEST_F()
668 EXPECT_FALSE(JavaLangObject->IsErroneous()); in TEST_F()
669 EXPECT_TRUE(JavaLangObject->IsLoaded()); in TEST_F()
670 EXPECT_TRUE(JavaLangObject->IsResolved()); in TEST_F()
671 EXPECT_TRUE(JavaLangObject->IsVerified()); in TEST_F()
672 EXPECT_TRUE(JavaLangObject->IsInitialized()); in TEST_F()
673 EXPECT_FALSE(JavaLangObject->IsArrayInstance()); in TEST_F()
674 EXPECT_FALSE(JavaLangObject->IsArrayClass()); in TEST_F()
675 EXPECT_TRUE(JavaLangObject->GetComponentType() == NULL); in TEST_F()
676 EXPECT_FALSE(JavaLangObject->IsInterface()); in TEST_F()
677 EXPECT_TRUE(JavaLangObject->IsPublic()); in TEST_F()
678 EXPECT_FALSE(JavaLangObject->IsFinal()); in TEST_F()
679 EXPECT_FALSE(JavaLangObject->IsPrimitive()); in TEST_F()
680 EXPECT_FALSE(JavaLangObject->IsSynthetic()); in TEST_F()
681 EXPECT_EQ(2U, JavaLangObject->NumDirectMethods()); in TEST_F()
682 EXPECT_EQ(11U, JavaLangObject->NumVirtualMethods()); in TEST_F()
684 EXPECT_EQ(2U, JavaLangObject->NumInstanceFields()); in TEST_F()
686 EXPECT_EQ(4U, JavaLangObject->NumInstanceFields()); in TEST_F()
688 EXPECT_STREQ(JavaLangObject->GetInstanceField(0)->GetName(), "shadow$_klass_"); in TEST_F()
689 EXPECT_STREQ(JavaLangObject->GetInstanceField(1)->GetName(), "shadow$_monitor_"); in TEST_F()
691 EXPECT_STREQ(JavaLangObject->GetInstanceField(2)->GetName(), "shadow$_x_rb_ptr_"); in TEST_F()
692 EXPECT_STREQ(JavaLangObject->GetInstanceField(3)->GetName(), "shadow$_x_xpadding_"); in TEST_F()
695 EXPECT_EQ(0U, JavaLangObject->NumStaticFields()); in TEST_F()
696 EXPECT_EQ(0U, JavaLangObject->NumDirectInterfaces()); in TEST_F()
706 EXPECT_EQ(JavaLangObject, MyClass->GetClass()->GetSuperClass()); in TEST_F()
708 EXPECT_TRUE(MyClass->GetSuperClass() == JavaLangObject); in TEST_F()
731 EXPECT_EQ(JavaLangObject->GetClass()->GetClass(), MyClass->GetClass()->GetClass()); in TEST_F()
1100 mirror::Class* JavaLangObject = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"); in TEST_F() local
1101 ASSERT_TRUE(JavaLangObject != NULL); in TEST_F()
1102 EXPECT_TRUE(JavaLangObject->IsInitialized()) << "Not testing already initialized class from the " in TEST_F()
1104 CheckPreverified(JavaLangObject, true); in TEST_F()