Home
last modified time | relevance | path

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

/external/libchrome/mojo/core/
Dembedder_unittest.cc365 PlatformHandle scoped_handle; in TEST_F() local
371 scoped_handle = PlatformHandle(base::ScopedFD(file.TakePlatformFile())); in TEST_F()
372 ASSERT_TRUE(scoped_handle.is_valid_fd()); in TEST_F()
380 scoped_handle = PlatformHandle(std::move(shm_handle)); in TEST_F()
381 ASSERT_TRUE(scoped_handle.is_valid_mach_port()); in TEST_F()
384 WrapPlatformHandle(std::move(scoped_handle)).release().value(); in TEST_F()
410 PlatformHandle scoped_handle = in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() local
413 EXPECT_TRUE(scoped_handle.is_valid_fd()); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
415 EXPECT_TRUE(scoped_handle.is_valid_mach_port()); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()