Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/foundation/tests/
DAData_test.cpp292 std::unique_ptr<EventCounter> _unique; in TEST_F() local
304 EXPECT_FALSE(u.remove(&_unique)); in TEST_F()
313 EXPECT_FALSE(u.remove(&_unique)); in TEST_F()
317 _unique = std::unique_ptr<EventCounter>(new EventCounter(&destructions, 123)); in TEST_F()
318 EXPECT_TRUE(u.set(std::move(_unique))); in TEST_F()
319 EXPECT_FALSE((bool)_unique); in TEST_F()
324 EXPECT_TRUE(u.remove(&_unique)); in TEST_F()
325 EXPECT_TRUE((bool)_unique); in TEST_F()
326 if (_unique) { in TEST_F()
327 EXPECT_EQ(123, _unique->magic()); in TEST_F()
[all …]