Home
last modified time | relevance | path

Searched refs:num_executed (Results 1 – 1 of 1) sorted by relevance

/system/core/init/
Dinit_test.cpp150 int num_executed = 0; in TEST() local
151 auto do_execute_first = [&num_executed](const BuiltinArguments&) { in TEST()
152 EXPECT_EQ(0, num_executed++); in TEST()
155 auto do_execute_second = [&num_executed](const BuiltinArguments&) { in TEST()
156 EXPECT_EQ(1, num_executed++); in TEST()
159 auto do_execute_third = [&num_executed](const BuiltinArguments&) { in TEST()
160 EXPECT_EQ(2, num_executed++); in TEST()
176 EXPECT_EQ(3, num_executed); in TEST()
505 int num_executed = 0; in TEST() local
506 auto execute_command = [&num_executed](const BuiltinArguments& args) { in TEST()
[all …]