From 2f189e4a3b9aaa275fa210a292aebd08ef5ff3fc Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Sat, 1 Sep 2001 02:57:07 +0000 Subject: [PATCH] ICU-770 More data cleanup X-SVN-Rev: 5682 --- icu4c/source/test/intltest/intltest.cpp | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/icu4c/source/test/intltest/intltest.cpp b/icu4c/source/test/intltest/intltest.cpp index 16a13c42c2..3506478eb4 100644 --- a/icu4c/source/test/intltest/intltest.cpp +++ b/icu4c/source/test/intltest/intltest.cpp @@ -1049,6 +1049,16 @@ main(int argc, char* argv[]) } } } + + /* Call it twice to make sure that the defaults were reset */ + u_cleanup(); + u_cleanup(); + + /* delete these just to see how delete reacts to u_cleanup(). + This is done in the wrong order on purpose. + Normally this should happen first */ + CalendarTimeZoneTest::cleanup(); + fprintf(stdout, "\n--------------------------------------\n"); if (major.getErrors() == 0) { fprintf(stdout, "OK: All tests passed without error.\n"); @@ -1062,15 +1072,6 @@ main(int argc, char* argv[]) if (execCount <= 0) { fprintf(stdout, "***** Not all called tests actually exist! *****\n"); } - /* Call it twice to make sure that the defaults were reset */ - u_cleanup(); - u_cleanup(); - - /* delete these just to see how delete reacts to u_cleanup(). - This is done in the wrong order on purpose. - Normally this should happen first */ - CalendarTimeZoneTest::cleanup(); - return major.getErrors(); }