Changeset 26772 in vbox
- Timestamp:
- Feb 25, 2010 1:33:59 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 58029
- Location:
- trunk/src/VBox/Runtime/testcase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/Makefile.kmk
r26739 r26772 76 76 tstLdr-4 \ 77 77 tstLdrLoad \ 78 tstRTList \ 78 79 tstRTLockValidator \ 79 80 tstLog \ … … 118 119 tstTSC \ 119 120 tstUtf8 \ 120 tstRTUuid \ 121 tstRTList 121 tstRTUuid 122 122 # tstSems 123 123 PROGRAMS.win += \ … … 309 309 tstLdrLoad_SOURCES = tstLdrLoad.cpp 310 310 311 tstRTList_TEMPLATE = VBOXR3TSTEXE 312 tstRTList_SOURCES = tstRTList.cpp 313 311 314 tstRTLockValidator_TEMPLATE = VBOXR3TSTEXE 312 315 tstRTLockValidator_SOURCES = tstRTLockValidator.cpp … … 446 449 tstUtf8_SOURCES = tstUtf8.cpp 447 450 448 tstRTList_SOURCES = tstRTList.cpp449 450 451 # 451 452 # odds and ends -
trunk/src/VBox/Runtime/testcase/tstRTList.cpp
r26739 r26772 5 5 6 6 /* 7 * Copyright (C) 20 09Sun Microsystems, Inc.7 * Copyright (C) 2010 Sun Microsystems, Inc. 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 35 #include <iprt/list.h> 36 34 37 #include <iprt/err.h> 35 #include <iprt/initterm.h>36 38 #include <iprt/mem.h> 37 39 #include <iprt/string.h> 38 40 #include <iprt/test.h> 39 #include <iprt/list.h>40 41 42 43 /******************************************************************************* 44 * Structures and Typedefs * 45 *******************************************************************************/ 41 46 typedef struct LISTELEM 42 47 { … … 47 52 } LISTELEM, *PLISTELEM; 48 53 49 static void tstRTListOrder(RTTEST hTest, PRTLISTNODE pList, unsigned cElements, unsigned idxStart, unsigned idxEnd, unsigned idxStep) 54 55 static void tstRTListOrder(RTTEST hTest, PRTLISTNODE pList, unsigned cElements, 56 unsigned idxStart, unsigned idxEnd, unsigned idxStep) 50 57 { 51 58 RTTEST_CHECK(hTest, RTListIsEmpty(pList) == false);
Note:
See TracChangeset
for help on using the changeset viewer.