diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-12-17 02:12:29 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-12-17 02:12:29 +0000 |
commit | 6332e26c88fe2c705ba5590e25805f53bc1c0e57 (patch) | |
tree | c906405388b173b4625390f6b43a9b640d8fa7b2 /tests/Time_Value_Test.cpp | |
parent | 7b8092939a1a9f53f4d4928860cb9c5567f252c8 (diff) | |
download | ATCD-6332e26c88fe2c705ba5590e25805f53bc1c0e57.tar.gz |
*** empty log message ***
Diffstat (limited to 'tests/Time_Value_Test.cpp')
-rw-r--r-- | tests/Time_Value_Test.cpp | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/tests/Time_Value_Test.cpp b/tests/Time_Value_Test.cpp index de17458e3c5..701f871c33f 100644 --- a/tests/Time_Value_Test.cpp +++ b/tests/Time_Value_Test.cpp @@ -59,21 +59,18 @@ check_ace_u_longlong (const char *const name, const u_long lo) { if (ull.hi () == hi && ull.lo () == lo) - { - return 0; - } + return 0; else - { - ACE_ERROR ((LM_ERROR, "%s; hi: %x, should be %x; " - "lo: %x, should be %x.\n", - name, ull.hi (), hi, ull.lo (), lo)); - return 1; - } + ACE_ERROR_RETURN ((LM_ERROR, + "%s; hi: %x, should be %x; " + "lo: %x, should be %x.\n", + name, ull.hi (), hi, ull.lo (), lo), + 1); } static u_long -test_ace_u_longlong () +test_ace_u_longlong (void) { u_long errors = 0; @@ -110,7 +107,6 @@ test_ace_u_longlong () } #endif /* ! ACE_WIN32 && ACE_SIZEOF_LONG == 4 */ - int main (int, char *[]) { @@ -139,7 +135,8 @@ main (int, char *[]) ACE_ASSERT (tv5 == tv7); #if !defined (ACE_WIN32) && (ACE_SIZEOF_LONG == 4) - if (test_ace_u_longlong () != 0) ++ret; + if (test_ace_u_longlong () != 0) + ++ret; #endif /* ! ACE_WIN32 && ACE_SIZEOF_LONG == 4 */ ACE_END_TEST; |