code coverage
This commit is contained in:
parent
d6c368cec2
commit
e47889c96b
@ -88,6 +88,15 @@ TEST(Timer, Again) {
|
|||||||
|
|
||||||
ASSERT_FALSE(checkErrorEvent);
|
ASSERT_FALSE(checkErrorEvent);
|
||||||
ASSERT_TRUE(checkTimerEvent);
|
ASSERT_TRUE(checkTimerEvent);
|
||||||
|
|
||||||
|
handle->close();
|
||||||
|
|
||||||
|
ASSERT_FALSE(handle->active());
|
||||||
|
ASSERT_TRUE(handle->closing());
|
||||||
|
|
||||||
|
handle->start(uvw::timer_handle::time{0}, uvw::timer_handle::time{1});
|
||||||
|
|
||||||
|
ASSERT_TRUE(checkErrorEvent);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(Timer, Repeat) {
|
TEST(Timer, Repeat) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user