VirtualBox

Changeset 26772 in vbox


Ignore:
Timestamp:
Feb 25, 2010 1:33:59 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
58029
Message:

iprt/testcase: nit picking on tstRTList.

Location:
trunk/src/VBox/Runtime/testcase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/Makefile.kmk

    r26739 r26772  
    7676        tstLdr-4 \
    7777        tstLdrLoad \
     78        tstRTList \
    7879        tstRTLockValidator \
    7980        tstLog \
     
    118119        tstTSC \
    119120        tstUtf8 \
    120         tstRTUuid \
    121         tstRTList
     121        tstRTUuid
    122122# tstSems
    123123PROGRAMS.win += \
     
    309309tstLdrLoad_SOURCES = tstLdrLoad.cpp
    310310
     311tstRTList_TEMPLATE = VBOXR3TSTEXE
     312tstRTList_SOURCES = tstRTList.cpp
     313
    311314tstRTLockValidator_TEMPLATE = VBOXR3TSTEXE
    312315tstRTLockValidator_SOURCES = tstRTLockValidator.cpp
     
    446449tstUtf8_SOURCES = tstUtf8.cpp
    447450
    448 tstRTList_SOURCES = tstRTList.cpp
    449 
    450451#
    451452# odds and  ends
  • trunk/src/VBox/Runtime/testcase/tstRTList.cpp

    r26739 r26772  
    55
    66/*
    7  * Copyright (C) 2009 Sun Microsystems, Inc.
     7 * Copyright (C) 2010 Sun Microsystems, Inc.
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    2929 */
    3030
     31
    3132/*******************************************************************************
    3233*   Header Files                                                               *
    3334*******************************************************************************/
     35#include <iprt/list.h>
     36
    3437#include <iprt/err.h>
    35 #include <iprt/initterm.h>
    3638#include <iprt/mem.h>
    3739#include <iprt/string.h>
    3840#include <iprt/test.h>
    39 #include <iprt/list.h>
    4041
     42
     43/*******************************************************************************
     44*   Structures and Typedefs                                                    *
     45*******************************************************************************/
    4146typedef struct LISTELEM
    4247{
     
    4752} LISTELEM, *PLISTELEM;
    4853
    49 static void tstRTListOrder(RTTEST hTest, PRTLISTNODE pList, unsigned cElements, unsigned idxStart, unsigned idxEnd, unsigned idxStep)
     54
     55static void tstRTListOrder(RTTEST hTest, PRTLISTNODE pList, unsigned cElements,
     56                           unsigned idxStart, unsigned idxEnd, unsigned idxStep)
    5057{
    5158    RTTEST_CHECK(hTest, RTListIsEmpty(pList) == false);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette