Home
last modified time | relevance | path

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

/system/core/init/
Dinit_test.cpp133 int num_executed = 0; in TEST() local
134 auto do_execute_first = [&num_executed](const BuiltinArguments&) { in TEST()
135 EXPECT_EQ(0, num_executed++); in TEST()
138 auto do_execute_second = [&num_executed](const BuiltinArguments&) { in TEST()
139 EXPECT_EQ(1, num_executed++); in TEST()
142 auto do_execute_third = [&num_executed](const BuiltinArguments&) { in TEST()
143 EXPECT_EQ(2, num_executed++); in TEST()
224 int num_executed = 0; in TEST() local
225 auto execute_command = [&num_executed](const BuiltinArguments& args) { in TEST()
227 EXPECT_EQ(++num_executed, std::stoi(args[1])); in TEST()
[all …]