Home
last modified time | relevance | path

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

/external/libchrome/base/threading/
Dthread_restrictions_unittest.cc19 class ThreadRestrictionsTest : public testing::Test { class
21 ThreadRestrictionsTest() = default;
22 ~ThreadRestrictionsTest() override { in ~ThreadRestrictionsTest()
27 DISALLOW_COPY_AND_ASSIGN(ThreadRestrictionsTest);
32 TEST_F(ThreadRestrictionsTest, BlockingAllowedByDefault) { in TEST_F() argument
36 TEST_F(ThreadRestrictionsTest, ScopedDisallowBlocking) { in TEST_F() argument
44 TEST_F(ThreadRestrictionsTest, ScopedAllowBlocking) { in TEST_F() argument
53 TEST_F(ThreadRestrictionsTest, ScopedAllowBlockingForTesting) { in TEST_F() argument
62 TEST_F(ThreadRestrictionsTest, BaseSyncPrimitivesAllowedByDefault) {} in TEST_F() argument
64 TEST_F(ThreadRestrictionsTest, DisallowBaseSyncPrimitives) { in TEST_F() argument
[all …]
Dthread_restrictions.h250 FRIEND_TEST_ALL_PREFIXES(ThreadRestrictionsTest, ScopedAllowBlocking);
314 FRIEND_TEST_ALL_PREFIXES(ThreadRestrictionsTest,
316 FRIEND_TEST_ALL_PREFIXES(ThreadRestrictionsTest,
318 FRIEND_TEST_ALL_PREFIXES(ThreadRestrictionsTest,
350 FRIEND_TEST_ALL_PREFIXES(ThreadRestrictionsTest,
353 ThreadRestrictionsTest,