Home
last modified time | relevance | path

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

/system/utest/fbl/
A Dref_ptr_tests.cpp469 EXPECT_TRUE(test_res); in do_test()
480 bool test_res = handoff_copy_fn<fbl::RefPtr<Base>>(derived_ptr); in do_test() local
481 EXPECT_TRUE(test_res); in do_test()
493 EXPECT_TRUE(test_res); in do_test()
507 bool test_res; in ref_ptr_upcast_test() local
511 test_res = do_test<A, C>(); in ref_ptr_upcast_test()
512 EXPECT_TRUE(test_res); in ref_ptr_upcast_test()
516 test_res = do_test<B, C>(); in ref_ptr_upcast_test()
517 EXPECT_FALSE(test_res); in ref_ptr_upcast_test()
523 test_res = do_test<D, C>(); in ref_ptr_upcast_test()
[all …]
A Dunique_ptr_tests.cpp463 bool test_res = handoff_fn<fbl::unique_ptr<Base>>(std::move(derived_ptr)); in test_upcast() local
466 EXPECT_TRUE(test_res); in test_upcast()
502 bool test_res = handoff_fn<fbl::unique_ptr<Base>>(derived_ptr); in test_upcast() local
503 EXPECT_FALSE(test_res); in test_upcast()
513 bool test_res; in uptr_upcasting() local
517 test_res = test_upcast<A, C>(); in uptr_upcasting()
518 EXPECT_TRUE(test_res); in uptr_upcasting()
522 test_res = test_upcast<B, C>(); in uptr_upcasting()
523 EXPECT_FALSE(test_res); in uptr_upcasting()
542 test_res = test_upcast<D, C>(); in uptr_upcasting()
[all …]

Completed in 5 milliseconds