Home
last modified time | relevance | path

Searched refs:EXPECT_DCHECK_DEATH (Results 1 – 25 of 32) sorted by relevance

12

/external/libchrome/base/threading/
Dthread_restrictions_unittest.cc39 EXPECT_DCHECK_DEATH({ AssertBlockingAllowed(); }); in TEST_F()
50 EXPECT_DCHECK_DEATH({ AssertBlockingAllowed(); }); in TEST_F()
59 EXPECT_DCHECK_DEATH({ AssertBlockingAllowed(); }); in TEST_F()
66 EXPECT_DCHECK_DEATH({ internal::AssertBaseSyncPrimitivesAllowed(); }); in TEST_F()
78 EXPECT_DCHECK_DEATH({ internal::AssertBaseSyncPrimitivesAllowed(); }); in TEST_F()
88 EXPECT_DCHECK_DEATH( in TEST_F()
108 EXPECT_DCHECK_DEATH({ internal::AssertBaseSyncPrimitivesAllowed(); }); in TEST_F()
125 EXPECT_DCHECK_DEATH({ internal::AssertBaseSyncPrimitivesAllowed(); }); in TEST_F()
Dthread_task_runner_handle_unittest.cc32 EXPECT_DCHECK_DEATH( in TEST()
118 EXPECT_DCHECK_DEATH( in TEST()
Dscoped_blocking_call_unittest.cc131 EXPECT_DCHECK_DEATH({ scoped_blocking_call_a.reset(); }); in TEST()
Dthread_checker_unittest.cc210 EXPECT_DCHECK_DEATH({ DCHECK_CALLED_ON_VALID_THREAD(my_thread_checker_); }); in ExpectDeathOnOtherThread()
Dsimple_thread_unittest.cc178 EXPECT_DCHECK_DEATH({ thread.Join(); }); in TEST()
Dthread_unittest.cc289 EXPECT_DCHECK_DEATH({ in TEST_F()
384 EXPECT_DCHECK_DEATH(a->Start()); in TEST_F()
/external/perfetto/src/base/test/
Dutils.h26 #define EXPECT_DCHECK_DEATH(statement) \ macro
39 #define EXPECT_DCHECK_DEATH(statement) \ macro
44 #define EXPECT_DCHECK_DEATH(statement) [&]() { statement }() macro
/external/libchrome/base/task_scheduler/
Dscheduler_lock_unittest.cc131 EXPECT_DCHECK_DEATH({ in TEST()
140 EXPECT_DCHECK_DEATH({ in TEST()
172 EXPECT_DCHECK_DEATH({ in TEST()
261 EXPECT_DCHECK_DEATH({ SelfReferentialLock lock; }); in TEST()
272 EXPECT_DCHECK_DEATH({ LockCycle cycle; }); in TEST()
291 EXPECT_DCHECK_DEATH({ LockCycle cycle; }); in TEST()
Dsequence_unittest.cc152 EXPECT_DCHECK_DEATH({ sequence->Pop(); }); in TEST()
162 EXPECT_DCHECK_DEATH({ sequence->TakeTask(); }); in TEST()
168 EXPECT_DCHECK_DEATH({ sequence->TakeTask(); }); in TEST()
Dpriority_queue_unittest.cc134 EXPECT_DCHECK_DEATH( in TEST()
Dtask_tracker_unittest.cc466 EXPECT_DCHECK_DEATH({ DispatchAndRunTaskWithTracker(std::move(task)); }); in TEST_P()
488 Bind([]() { EXPECT_DCHECK_DEATH({ AssertBlockingAllowed(); }); }), in TEST_P()
848 EXPECT_DCHECK_DEATH({ tracker_.FlushAsyncForTesting(BindOnce([]() {})); }); in TEST_P()
1256 EXPECT_DCHECK_DEATH({ internal::AssertBaseSyncPrimitivesAllowed(); }); in Run()
Dtask_scheduler_impl_unittest.cc472 EXPECT_DCHECK_DEATH({ in TEST_F()
476 EXPECT_DCHECK_DEATH({ in TEST_F()
Dscheduler_worker_stack_unittest.cc250 EXPECT_DCHECK_DEATH({ stack.Push(worker_a_.get()); }); in TEST_F()
/external/libchrome/base/memory/
Dprotected_memory_unittest.cc68 EXPECT_DCHECK_DEATH({ AssertMemoryIsReadOnly(&writable_data->foo); }); in TEST_F()
73 EXPECT_DCHECK_DEATH({ AutoWritableMemory::Create(data); }); in TEST_F()
78 EXPECT_DCHECK_DEATH({ UnsanitizedCfiCall(data)(); }); in TEST_F()
Dref_counted_unittest.cc660 EXPECT_DCHECK_DEATH(base::WrapRefCounted(new InitialRefCountIsOne)); in TEST()
664 EXPECT_DCHECK_DEATH(base::AdoptRef(ptr)); in TEST()
670 EXPECT_DCHECK_DEATH(base::AdoptRef(obj.get())); in TEST()
/external/libchrome/base/test/
Dgtest_util.h30 #define EXPECT_DCHECK_DEATH(statement) EXPECT_DEATH(statement, "Check failed") macro
36 #define EXPECT_DCHECK_DEATH(statement) \ macro
/external/libchrome/base/metrics/
Dsample_vector_unittest.cc202 EXPECT_DCHECK_DEATH(samples1.Add(samples2)); in TEST_F()
203 EXPECT_DCHECK_DEATH(samples1.Subtract(samples2)); in TEST_F()
209 EXPECT_DCHECK_DEATH(samples1.Add(samples2)); in TEST_F()
210 EXPECT_DCHECK_DEATH(samples1.Subtract(samples2)); in TEST_F()
289 EXPECT_DCHECK_DEATH(it->Get(&min, &max, &count)); in TEST_F()
291 EXPECT_DCHECK_DEATH(it->Next()); in TEST_F()
Dsample_map_unittest.cc158 EXPECT_DCHECK_DEATH(it->Get(&min, &max, &count)); in TEST()
160 EXPECT_DCHECK_DEATH(it->Next()); in TEST()
Dpersistent_sample_map_unittest.cc250 EXPECT_DCHECK_DEATH(it->Get(&min, &max, &count)); in TEST()
252 EXPECT_DCHECK_DEATH(it->Next()); in TEST()
Dsingle_sample_metrics_unittest.cc45 EXPECT_DCHECK_DEATH(SingleSampleMetricsFactory::SetFactory( in TEST_F()
/external/libchrome/mojo/public/cpp/base/
Dvalues_unittest.cc116 EXPECT_DCHECK_DEATH( in TEST()
144 EXPECT_DCHECK_DEATH( in TEST()
/external/libchrome/base/synchronization/
Datomic_flag_unittest.cc23 EXPECT_DCHECK_DEATH(flag->Set()); in ExpectSetFlagDeath()
/external/libchrome/base/
Dsequence_checker_unittest.cc166 EXPECT_DCHECK_DEATH({ in TEST()
/external/libchrome/base/containers/
Did_map_unittest.cc388 EXPECT_DCHECK_DEATH(map.Remove(key)); in TEST()
389 EXPECT_DCHECK_DEATH(map.Replace(key, &obj)); in TEST()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dbinding_callback_unittest.cc333 EXPECT_DCHECK_DEATH(server_impl.DeleteCallback()); in TEST_F()

12