Lines Matching refs:h_instance

212   Handle<mirror::Object> h_instance(hs.NewHandle(h_klass->AllocObject(soa.Self())));  in TEST_F()  local
213 ASSERT_TRUE(h_instance.Get() != nullptr); in TEST_F()
219 ASSERT_EQ(booleanField->GetBoolean(h_instance.Get()), false); in TEST_F()
224 ASSERT_EQ(byteField->GetByte(h_instance.Get()), 0); in TEST_F()
229 ASSERT_EQ(charField->GetChar(h_instance.Get()), 0u); in TEST_F()
234 ASSERT_EQ(shortField->GetShort(h_instance.Get()), 0); in TEST_F()
239 ASSERT_EQ(intField->GetInt(h_instance.Get()), 0); in TEST_F()
244 ASSERT_EQ(longField->GetLong(h_instance.Get()), static_cast<int64_t>(0)); in TEST_F()
249 ASSERT_EQ(floatField->GetFloat(h_instance.Get()), static_cast<float>(0.0f)); in TEST_F()
254 ASSERT_EQ(doubleField->GetDouble(h_instance.Get()), static_cast<double>(0.0)); in TEST_F()
260 ASSERT_EQ(objectField->GetObject(h_instance.Get()), nullptr); in TEST_F()
273 booleanField->SetBoolean<true>(h_instance.Get(), true); in TEST_F()
274 byteField->SetByte<true>(h_instance.Get(), 1); in TEST_F()
275 charField->SetChar<true>(h_instance.Get(), 1u); in TEST_F()
276 shortField->SetShort<true>(h_instance.Get(), 1); in TEST_F()
277 intField->SetInt<true>(h_instance.Get(), 1); in TEST_F()
278 longField->SetLong<true>(h_instance.Get(), 1); in TEST_F()
279 floatField->SetFloat<true>(h_instance.Get(), 1.0); in TEST_F()
280 doubleField->SetDouble<true>(h_instance.Get(), 1.0); in TEST_F()
281 objectField->SetObject<true>(h_instance.Get(), h_obj.Get()); in TEST_F()
286 EXPECT_EQ(booleanField->GetBoolean(h_instance.Get()), false); in TEST_F()
287 EXPECT_EQ(byteField->GetByte(h_instance.Get()), 0); in TEST_F()
288 EXPECT_EQ(charField->GetChar(h_instance.Get()), 0u); in TEST_F()
289 EXPECT_EQ(shortField->GetShort(h_instance.Get()), 0); in TEST_F()
290 EXPECT_EQ(intField->GetInt(h_instance.Get()), 0); in TEST_F()
291 EXPECT_EQ(longField->GetLong(h_instance.Get()), static_cast<int64_t>(0)); in TEST_F()
292 EXPECT_EQ(floatField->GetFloat(h_instance.Get()), static_cast<float>(0.0f)); in TEST_F()
293 EXPECT_EQ(doubleField->GetDouble(h_instance.Get()), static_cast<double>(0.0)); in TEST_F()
294 EXPECT_EQ(objectField->GetObject(h_instance.Get()), nullptr); in TEST_F()