Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/foundation/tests/
DAData_test.cpp49 struct DerivedCounter : public EventCounter { struct
50 DerivedCounter(int *counter, int magic=1234) : EventCounter(counter, magic) { } in DerivedCounter() function
129 static_assert(is_copy_assignable<weak_ptr<DerivedCounter>>::value, ""); in TEST_F()
130 static_assert(is_copy_constructible<weak_ptr<DerivedCounter>>::value, ""); in TEST_F()
131 static_assert(is_default_constructible<weak_ptr<DerivedCounter>>::value, ""); in TEST_F()
133 static_assert(!is_copy_assignable<unique_ptr<DerivedCounter>>::value, ""); in TEST_F()
134 static_assert(!is_copy_constructible<unique_ptr<DerivedCounter>>::value, ""); in TEST_F()
135 static_assert(is_default_constructible<unique_ptr<DerivedCounter>>::value, ""); in TEST_F()
145 static_assert(is_convertible<shared_ptr<DerivedCounter>, shared_ptr<EventCounter>>::value, ""); in TEST_F()
146 static_assert(!is_convertible<shared_ptr<EventCounter>, shared_ptr<DerivedCounter>>::value, ""); in TEST_F()
[all …]