Changeset 20606 in vbox for trunk/src/VBox/Runtime/testcase/tstUtf8.cpp
- Timestamp:
- Jun 15, 2009 11:49:07 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 48658
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstUtf8.cpp
r18847 r20606 43 43 #include <iprt/test.h> 44 44 45 #include <stdlib.h> 45 #include <stdlib.h> /** @todo use our random. */ 46 46 47 47 … … 929 929 { 930 930 /* 931 * Init the runtime and stuff.931 * Init the runtime, test and say hello. 932 932 */ 933 933 RTTEST hTest; 934 if ( RT_FAILURE(RTR3Init()) 935 || RT_FAILURE(RTTestCreate("tstUtf8", &hTest))) 936 { 937 RTPrintf("tstBitstUtf8: fatal initialization error\n"); 938 return 1; 939 } 934 int rc = RTTestInitAndCreate("tstUtf8", &hTest); 935 if (rc) 936 return rc; 940 937 RTTestBanner(hTest); 941 938 939 /* 940 * Run the test. 941 */ 942 942 InitStrings(); 943 943 test1(hTest); … … 953 953 return RTTestSummaryAndDestroy(hTest); 954 954 } 955
Note:
See TracChangeset
for help on using the changeset viewer.