Lines Matching refs:IsAssignableFrom
574 TEST_F(ObjectTest, IsAssignableFrom) { in TEST_F() argument
582 EXPECT_TRUE(X->IsAssignableFrom(X.Get())); in TEST_F()
583 EXPECT_TRUE(X->IsAssignableFrom(Y.Get())); in TEST_F()
584 EXPECT_FALSE(Y->IsAssignableFrom(X.Get())); in TEST_F()
585 EXPECT_TRUE(Y->IsAssignableFrom(Y.Get())); in TEST_F()
593 EXPECT_TRUE(charseq->IsAssignableFrom(string.Get())); in TEST_F()
595 EXPECT_FALSE(string->IsAssignableFrom(charseq.Get())); in TEST_F()
606 EXPECT_TRUE(prim_types[i]->IsAssignableFrom(prim_types[j])); in TEST_F()
608 EXPECT_FALSE(prim_types[i]->IsAssignableFrom(prim_types[j])); in TEST_F()
657 EXPECT_TRUE(YAA->IsAssignableFrom(YAA.Get())); // identity in TEST_F()
658 EXPECT_TRUE(XAA->IsAssignableFrom(YAA.Get())); // element superclass in TEST_F()
659 EXPECT_FALSE(YAA->IsAssignableFrom(XAA.Get())); in TEST_F()
660 EXPECT_FALSE(Y->IsAssignableFrom(YAA.Get())); in TEST_F()
661 EXPECT_FALSE(YA->IsAssignableFrom(YAA.Get())); in TEST_F()
662 EXPECT_TRUE(O->IsAssignableFrom(YAA.Get())); // everything is an Object in TEST_F()
663 EXPECT_TRUE(OA->IsAssignableFrom(YAA.Get())); in TEST_F()
664 EXPECT_TRUE(OAA->IsAssignableFrom(YAA.Get())); in TEST_F()
665 EXPECT_TRUE(S->IsAssignableFrom(YAA.Get())); // all arrays are Serializable in TEST_F()
666 EXPECT_TRUE(SA->IsAssignableFrom(YAA.Get())); in TEST_F()
667 EXPECT_FALSE(SAA->IsAssignableFrom(YAA.Get())); // unless Y was Serializable in TEST_F()
669 EXPECT_FALSE(IA->IsAssignableFrom(OA.Get())); in TEST_F()
670 EXPECT_FALSE(OA->IsAssignableFrom(IA.Get())); in TEST_F()
671 EXPECT_TRUE(O->IsAssignableFrom(IA.Get())); in TEST_F()