diff options
author | Steve Huston <shuston@riverace.com> | 2008-06-04 16:07:07 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2008-06-04 16:07:07 +0000 |
commit | c43c69fc29e7a975c40a60fbf0a5733c64942c99 (patch) | |
tree | ed901aacb19ca7a4056323a22ed0055eb556f079 /ACE/tests/Time_Value_Test.cpp | |
parent | ec6c162bdc5c9bfc7b0acdb9fc5e8ff7f425b96c (diff) | |
download | ATCD-c43c69fc29e7a975c40a60fbf0a5733c64942c99.tar.gz |
ChangeLogTag:Wed Jun 4 16:05:54 UTC 2008 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ACE/tests/Time_Value_Test.cpp')
-rw-r--r-- | ACE/tests/Time_Value_Test.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ACE/tests/Time_Value_Test.cpp b/ACE/tests/Time_Value_Test.cpp index b40cb7c4295..e8fdf8bda24 100644 --- a/ACE/tests/Time_Value_Test.cpp +++ b/ACE/tests/Time_Value_Test.cpp @@ -118,6 +118,16 @@ run_main (int, ACE_TCHAR *[]) tv1 *= -10.0; ACE_ASSERT (tv1 == tv2); + // Test correct msec() convert; also checks for compile error reported in + // Bugzilla 3336. + ACE_Time_Value msec_test (42, 555); + ACE_UINT64 ms = 0; + msec_test.msec (ms); + if (ms != 42555) + ACE_ERROR ((LM_ERROR, + ACE_TEXT ("msec test failed: %Q should be 42555\n"), + ms)); + ACE_END_TEST; return ret; |