Home
last modified time | relevance | path

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

/bionic/tests/
Dsignal_test.cpp878 static int signal_handler_call_count = 0; in TestSigholdSigpauseSigrelse() local
879 ScopedSignalHandler ssh{sig, [](int) { signal_handler_call_count++; }}; in TestSigholdSigpauseSigrelse()
890 ASSERT_EQ(0, signal_handler_call_count); in TestSigholdSigpauseSigrelse()
894 ASSERT_EQ(1, signal_handler_call_count); in TestSigholdSigpauseSigrelse()
925 static int signal_handler_call_count = 0; in TEST() local
926 auto signal_handler = [](int) { signal_handler_call_count++; }; in TEST()
939 ASSERT_EQ(0, signal_handler_call_count); in TEST()
941 ASSERT_EQ(1, signal_handler_call_count); in TEST()
945 static int signal_handler_call_count = 0; in TEST() local
946 auto signal_handler = [](int) { signal_handler_call_count++; }; in TEST()
[all …]