aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_utils.h')
-rw-r--r--test/test_utils.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/test_utils.h b/test/test_utils.h
index d86018c..7a91535 100644
--- a/test/test_utils.h
+++ b/test/test_utils.h
@@ -173,8 +173,10 @@ printEvent(const PuglEvent* event, const char* prefix, const bool verbose)
prefix,
event->client.data1,
event->client.data2);
- case PUGL_TIMER:
- return PRINT("%sTimer %" PRIuPTR "\n", prefix, event->timer.id);
+ case PUGL_LOOP_ENTER:
+ return PRINT("%sLoop enter\n", prefix);
+ case PUGL_LOOP_LEAVE:
+ return PRINT("%sLoop leave\n", prefix);
default:
break;
}
@@ -212,6 +214,8 @@ printEvent(const PuglEvent* event, const char* prefix, const bool verbose)
prefix,
event->motion.x,
event->motion.y);
+ case PUGL_TIMER:
+ return PRINT("%sTimer %" PRIuPTR "\n", prefix, event->timer.id);
default:
return PRINT("%sUnknown event type %d\n", prefix, (int)event->type);
}