VirtualBox

Changeset 44554 in vbox for trunk/src/VBox/Runtime/testcase


Ignore:
Timestamp:
Feb 5, 2013 11:37:46 PM (12 years ago)
Author:
vboxsync
Message:

RTTestPassed/RTTestIPassed does not accept NULL as a parameter. Use RTTestDone/RTTestIDone if you don't want to say anything beyond that the test is complete. (You don't need to say that at all as it is implicit when RTTest[I]Sub or RTTestSummaryAndDestroy is called.)

File:
1 edited

Legend:

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

    r44529 r44554  
    171171    if (ProcStatus.enmReason != RTPROCEXITREASON_NORMAL || ProcStatus.iStatus != 0)
    172172        RTTestIFailed("enmReason=%d iStatus=%d", ProcStatus.enmReason, ProcStatus.iStatus);
    173     else
    174         RTTestIPassed(NULL);
    175173}
    176174
     
    208206    if (ProcStatus.enmReason != RTPROCEXITREASON_NORMAL || ProcStatus.iStatus != 0)
    209207        RTTestIFailed("enmReason=%d iStatus=%d", ProcStatus.enmReason, ProcStatus.iStatus);
    210     else
    211         RTTestIPassed(NULL);
    212208}
    213209
     
    278274             || strcmp(szOutput, "works"))
    279275        RTTestIFailed("wrong output: \"%s\" (len=%u)", szOutput, offOutput);
    280     else
    281         RTTestIPassed(NULL);
    282276}
    283277
     
    345339             || strcmp(szOutput, "howdy"))
    346340        RTTestIFailed("wrong output: \"%s\" (len=%u)", szOutput, offOutput);
    347     else
    348         RTTestIPassed(NULL);
    349341}
    350342
     
    412404             || strcmp(szOutput, "it works"))
    413405        RTTestIFailed("wrong output: \"%s\" (len=%u)", szOutput, offOutput);
    414     else
    415         RTTestIPassed(NULL);
    416406}
    417407
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