Home
last modified time | relevance | path

Searched refs:oa (Results 1 – 1 of 1) sorted by relevance

/art/runtime/mirror/
Dobject_test.cc122 Handle<ObjectArray<Object>> oa(hs.NewHandle(AllocObjectArray<Object>(soa.Self(), 2))); in TEST_F() local
123 EXPECT_EQ(2, oa->GetLength()); in TEST_F()
124 EXPECT_TRUE(oa->Get(0) == nullptr); in TEST_F()
125 EXPECT_TRUE(oa->Get(1) == nullptr); in TEST_F()
126 oa->Set<false>(0, oa.Get()); in TEST_F()
127 EXPECT_TRUE(oa->Get(0) == oa.Get()); in TEST_F()
128 EXPECT_TRUE(oa->Get(1) == nullptr); in TEST_F()
129 oa->Set<false>(1, oa.Get()); in TEST_F()
130 EXPECT_TRUE(oa->Get(0) == oa.Get()); in TEST_F()
131 EXPECT_TRUE(oa->Get(1) == oa.Get()); in TEST_F()
[all …]