Lines Matching refs:IsAssignableFrom
562 TEST_F(ObjectTest, IsAssignableFrom) { in TEST_F() argument
570 EXPECT_TRUE(X->IsAssignableFrom(X)); in TEST_F()
571 EXPECT_TRUE(X->IsAssignableFrom(Y)); in TEST_F()
572 EXPECT_FALSE(Y->IsAssignableFrom(X)); in TEST_F()
573 EXPECT_TRUE(Y->IsAssignableFrom(Y)); in TEST_F()
579 EXPECT_TRUE(charseq->IsAssignableFrom(string)); in TEST_F()
581 EXPECT_FALSE(string->IsAssignableFrom(charseq)); in TEST_F()
592 EXPECT_TRUE(prim_types[i]->IsAssignableFrom(prim_types[j])); in TEST_F()
594 EXPECT_FALSE(prim_types[i]->IsAssignableFrom(prim_types[j])); in TEST_F()
637 EXPECT_TRUE(YAA->IsAssignableFrom(YAA)); // identity in TEST_F()
638 EXPECT_TRUE(XAA->IsAssignableFrom(YAA)); // element superclass in TEST_F()
639 EXPECT_FALSE(YAA->IsAssignableFrom(XAA)); in TEST_F()
640 EXPECT_FALSE(Y->IsAssignableFrom(YAA)); in TEST_F()
641 EXPECT_FALSE(YA->IsAssignableFrom(YAA)); in TEST_F()
642 EXPECT_TRUE(O->IsAssignableFrom(YAA)); // everything is an Object in TEST_F()
643 EXPECT_TRUE(OA->IsAssignableFrom(YAA)); in TEST_F()
644 EXPECT_TRUE(OAA->IsAssignableFrom(YAA)); in TEST_F()
645 EXPECT_TRUE(S->IsAssignableFrom(YAA)); // all arrays are Serializable in TEST_F()
646 EXPECT_TRUE(SA->IsAssignableFrom(YAA)); in TEST_F()
647 EXPECT_FALSE(SAA->IsAssignableFrom(YAA)); // unless Y was Serializable in TEST_F()
649 EXPECT_FALSE(IA->IsAssignableFrom(OA)); in TEST_F()
650 EXPECT_FALSE(OA->IsAssignableFrom(IA)); in TEST_F()
651 EXPECT_TRUE(O->IsAssignableFrom(IA)); in TEST_F()