Searched refs:harness_ (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/rtc_base/deprecated/ |
D | signal_thread_unittest.cc | 33 explicit SlowSignalThread(SignalThreadTest* harness) : harness_(harness) {} in SlowSignalThread() 36 EXPECT_EQ(harness_->main_thread_, Thread::Current()); in ~SlowSignalThread() 37 ++harness_->thread_deleted_; in ~SlowSignalThread() 40 const SignalThreadTest* harness() { return harness_; } in harness() 44 ASSERT_TRUE(harness_ != nullptr); in OnWorkStart() 45 ++harness_->thread_started_; in OnWorkStart() 46 EXPECT_EQ(harness_->main_thread_, Thread::Current()); in OnWorkStart() 51 ++harness_->thread_stopped_; in OnWorkStop() 52 EXPECT_EQ(harness_->main_thread_, Thread::Current()); in OnWorkStop() 57 ++harness_->thread_done_; in OnWorkDone() [all …]
|
/external/libchrome/components/policy/core/common/ |
D | config_dir_policy_loader_unittest.cc | 184 harness_.SetUp(); in SetUp() 187 TestHarness harness_; member in policy::ConfigDirPolicyLoaderTest 194 scoped_task_environment_.GetMainThreadTaskRunner(), harness_.test_dir(), in TEST_F() 206 harness_.test_dir().Append(FILE_PATH_LITERAL("not_there"))); in TEST_F() 225 harness_.WriteConfigFile(test_dict_bar, base::UintToString(i)); in TEST_F() 228 harness_.WriteConfigFile(test_dict_foo, "9"); in TEST_F() 230 harness_.WriteConfigFile(test_dict_bar, base::UintToString(i)); in TEST_F() 233 scoped_task_environment_.GetMainThreadTaskRunner(), harness_.test_dir(), in TEST_F()
|