Lines Matching defs:mock
37 class Mock {
48 Mock mock;
49 EXPECT_CALL(mock, method0()).Times(1);
50 EXPECT_CALL(mock, method1(9)).Times(1);
51 EXPECT_CALL(mock, method2(9, 8)).Times(1);
52 EXPECT_CALL(mock, method3(9, 8, 7)).Times(1);
53 EXPECT_CALL(mock, method4(9, 8, 7, 6)).Times(1);
55 createCCThreadTask(&mock, &Mock::method0)->performTask();
56 createCCThreadTask(&mock, &Mock::method1, 9)->performTask();
57 createCCThreadTask(&mock, &Mock::method2, 9, 8)->performTask();
58 createCCThreadTask(&mock, &Mock::method3, 9, 8, 7)->performTask();
59 createCCThreadTask(&mock, &Mock::method4, 9, 8, 7, 6)->performTask();