Home
last modified time | relevance | path

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

/external/libchrome/base/metrics/
Dpersistent_memory_allocator_unittest.cc62 struct TestObject2 { struct in base::PersistentMemoryAllocatorTest
132 EXPECT_EQ(nullptr, allocator_->GetAsObject<TestObject2>(block1)); in TEST_F()
167 TestObject2* obj2 = allocator_->New<TestObject2>(); in TEST_F()
171 EXPECT_NE(nullptr, allocator_->GetAsObject<TestObject2>(block2)); in TEST_F()
173 EXPECT_LE(sizeof(TestObject2), allocator_->GetAllocSize(block2)); in TEST_F()
174 EXPECT_GT(sizeof(TestObject2) + kAllocAlignment, in TEST_F()
225 allocator_->New<TestObject2>(block2, 3, false); in TEST_F()
241 EXPECT_NE(nullptr, allocator2->GetAsObject<TestObject2>(block2)); in TEST_F()
256 EXPECT_NE(nullptr, allocator3->GetAsObject<TestObject2>(block2)); in TEST_F()
260 EXPECT_EQ(block2, iter1c.GetNextOfType<TestObject2>()); in TEST_F()
[all …]