VirtualBox

Changeset 32446 in vbox


Ignore:
Timestamp:
Sep 13, 2010 12:24:59 PM (14 years ago)
Author:
vboxsync
Message:

tstRTList.cpp: Check one more thing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTList.cpp

    r32445 r32446  
    107107{
    108108    RTTestISubF("Creating and moving - %u elements", cElements);
     109    Assert(cElements > 0);
    109110
    110111    RTLISTNODE ListHead;
     
    152153        RTListAppend(&ListHead, &pNode->Node);
    153154    }
     155    RTTESTI_CHECK(RTListIsEmpty(&ListHeadNew) == true);
    154156    tstRTListOrder(hTest, &ListHead, cElements, 0, cElements-1, 1);
    155157
     
    160162        RTListPrepend(&ListHeadNew, &pNode->Node);
    161163    }
     164    RTTESTI_CHECK(RTListIsEmpty(&ListHead) == true);
    162165    tstRTListOrder(hTest, &ListHeadNew, cElements, 0, cElements-1, 1);
    163166
Note: See TracChangeset for help on using the changeset viewer.

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