Lines Matching refs:JavaLangObject
675 mirror::Class* JavaLangObject = class_linker_->FindSystemClass("Ljava/lang/Object;");
676 ClassHelper kh(JavaLangObject);
677 ASSERT_TRUE(JavaLangObject != NULL);
678 ASSERT_TRUE(JavaLangObject->GetClass() != NULL);
679 ASSERT_EQ(JavaLangObject->GetClass(), JavaLangObject->GetClass()->GetClass());
680 EXPECT_EQ(JavaLangObject, JavaLangObject->GetClass()->GetSuperClass());
682 EXPECT_TRUE(JavaLangObject->GetSuperClass() == NULL);
683 EXPECT_FALSE(JavaLangObject->HasSuperClass());
684 EXPECT_TRUE(JavaLangObject->GetClassLoader() == NULL);
685 EXPECT_EQ(mirror::Class::kStatusInitialized, JavaLangObject->GetStatus());
686 EXPECT_FALSE(JavaLangObject->IsErroneous());
687 EXPECT_TRUE(JavaLangObject->IsLoaded());
688 EXPECT_TRUE(JavaLangObject->IsResolved());
689 EXPECT_TRUE(JavaLangObject->IsVerified());
690 EXPECT_TRUE(JavaLangObject->IsInitialized());
691 EXPECT_FALSE(JavaLangObject->IsArrayInstance());
692 JavaLangObject->IsArrayClass());
693 EXPECT_TRUE(JavaLangObject->GetComponentType() == NULL);
694 EXPECT_FALSE(JavaLangObject->IsInterface());
695 EXPECT_TRUE(JavaLangObject->IsPublic());
696 EXPECT_FALSE(JavaLangObject->IsFinal());
697 EXPECT_FALSE(JavaLangObject->IsPrimitive());
698 EXPECT_FALSE(JavaLangObject->IsSynthetic());
699 EXPECT_EQ(2U, JavaLangObject->NumDirectMethods());
700 EXPECT_EQ(11U, JavaLangObject->NumVirtualMethods());
701 EXPECT_EQ(2U, JavaLangObject->NumInstanceFields());
702 FieldHelper fh(JavaLangObject->GetInstanceField(0));
704 fh.ChangeField(JavaLangObject->GetInstanceField(1));
707 EXPECT_EQ(0U, JavaLangObject->NumStaticFields());
717 EXPECT_EQ(JavaLangObject, MyClass->GetClass()->GetSuperClass());
719 EXPECT_TRUE(MyClass->GetSuperClass() == JavaLangObject);
742 EXPECT_EQ(JavaLangObject->GetClass()->GetClass(), MyClass->GetClass()->GetClass());