Changeset 102457 in vbox for trunk/src/libs/xpcom18a4/xpcom/tests
- Timestamp:
- Dec 4, 2023 5:24:33 PM (15 months ago)
- Location:
- trunk/src/libs/xpcom18a4/xpcom/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/xpcom/tests/TestCRT.cpp
r1 r102457 35 35 * 36 36 * ***** END LICENSE BLOCK ***** */ 37 #include <iprt/string.h> 37 38 38 39 #include "nsCRT.h" … … 60 61 static void Check(const char* s1, const char* s2, PRIntn n) 61 62 { 62 PRIntn clib = PL_strcmp(s1, s2);63 PRIntn clib_n = PL_strncmp(s1, s2, n);63 PRIntn clib = RTStrCmp(s1, s2); 64 PRIntn clib_n = RTStrNCmp(s1, s2, n); 64 65 PRIntn clib_case = PL_strcasecmp(s1, s2); 65 66 PRIntn clib_case_n = PL_strncasecmp(s1, s2, n); -
trunk/src/libs/xpcom18a4/xpcom/tests/TestID.cpp
r86425 r102457 35 35 * 36 36 * ***** END LICENSE BLOCK ***** */ 37 #include <iprt/string.h> 38 37 39 #include <stdio.h> 38 #include "plstr.h"39 40 #include "nsID.h" 40 41 #include "prmem.h" … … 67 68 return -1; 68 69 } 69 if (0 != PL_strcmp(cp, ids[4*(i/4) + 3])) {70 if (0 != RTStrCmp(cp, ids[4*(i/4) + 3])) { 70 71 fprintf(stderr, "TestID: compare of ToString failed on test #%d\n", i); 71 72 return -1;
Note:
See TracChangeset
for help on using the changeset viewer.