Lines Matching refs:run_count
18 int run_count = 0; in TEST() local
20 base::Closure cb = base::Bind(&Increment, &run_count); in TEST()
21 EXPECT_EQ(0, run_count); in TEST()
23 EXPECT_EQ(1, run_count); in TEST()
26 run_count = 0; in TEST()
28 base::OnceClosure cb2 = base::BindOnce(&Increment, &run_count); in TEST()
29 EXPECT_EQ(0, run_count); in TEST()
31 EXPECT_EQ(1, run_count); in TEST()
36 int run_count = 0; in TEST() local
38 base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count)); in TEST()
39 EXPECT_EQ(0, run_count); in TEST()
41 EXPECT_EQ(1, run_count); in TEST()
45 int run_count = 0; in TEST() local
48 base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count)); in TEST()
50 EXPECT_EQ(0, run_count); in TEST()
52 EXPECT_EQ(0, run_count); in TEST()
54 EXPECT_EQ(1, run_count); in TEST()
83 int run_count = 0; in TEST() local
86 new base::ScopedClosureRunner(base::Bind(&Increment, &run_count))); in TEST()
89 EXPECT_EQ(0, run_count); in TEST()
91 EXPECT_EQ(1, run_count); in TEST()