diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-08-03 07:08:12 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-08-03 07:08:12 +0000 |
commit | ecfbb3274e0b8c61b02f382f93d3bcbe558de5c6 (patch) | |
tree | c620c26d9d033df17fffd5fec08cb359f3cebdf1 | |
parent | c6a78f79879a8a83f4a2557b2ff404a862cf88c8 (diff) |
Name the timers to help with debugging.
-rw-r--r-- | test/common/testcommon.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/common/testcommon.cpp b/test/common/testcommon.cpp index 46d36c73..9d24a882 100644 --- a/test/common/testcommon.cpp +++ b/test/common/testcommon.cpp @@ -331,10 +331,10 @@ int test(int argc, const char *argv[]) Timers::Init(); - Timer t0(0); // should never expire - Timer t1(1); - Timer t2(2); - Timer t3(3); + Timer t0(0, "t0"); // should never expire + Timer t1(1, "t1"); + Timer t2(2, "t2"); + Timer t3(3, "t3"); TEST_THAT(!t0.HasExpired()); TEST_THAT(!t1.HasExpired()); @@ -353,8 +353,8 @@ int test(int argc, const char *argv[]) TEST_THAT(t2.HasExpired()); TEST_THAT(!t3.HasExpired()); - t1 = Timer(1); - t2 = Timer(2); + t1 = Timer(1, "t1a"); + t2 = Timer(2, "t2a"); TEST_THAT(!t0.HasExpired()); TEST_THAT(!t1.HasExpired()); TEST_THAT(!t2.HasExpired()); |