8 #include "testing/gmock/include/gmock/gmock.h"
10 using testing::InSequence;
11 using testing::IsNull;
12 using testing::StrictMock;
28 TEST(WorkerThreadTest, Basic) {
29 static const size_t kNumTasks = 10;
32 for (
size_t i = 0;
i < kNumTasks; ++
i) {
34 StrictMock<MockTask>* task =
new StrictMock<MockTask>;
35 EXPECT_CALL(*task, Run());
36 EXPECT_CALL(*task, Die());
A Task represents a unit of work.
Debugger support for the V8 JavaScript engine.