VirtualBox

Ignore:
Timestamp:
Oct 28, 2008 3:33:44 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38553
Message:

tstGuestPropSvc: prefix output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/GuestProperties/testcase/tstGuestPropSvc.cpp

    r13574 r13627  
    5252{
    5353    int rc = VINF_SUCCESS;
    54     RTPrintf("Testing conversion of valid flags strings.\n");
     54    RTPrintf("tstGuestPropSvc: Testing conversion of valid flags strings.\n");
    5555    for (unsigned i = 0; i < RT_ELEMENTS(validFlagStrings) && RT_SUCCESS(rc); ++i)
    5656    {
     
    5959        rc = validateFlags(validFlagStrings[i].pcszIn, &fFlags);
    6060        if (RT_FAILURE(rc))
    61             RTPrintf("Failed to validate flag string %s.\n", validFlagStrings[i].pcszIn);
     61            RTPrintf("tstGuestPropSvc: FAILURE - Failed to validate flag string %s.\n", validFlagStrings[i].pcszIn);
    6262        if (RT_SUCCESS(rc))
    6363        {
    6464            rc = writeFlags(fFlags, szFlagBuffer);
    6565            if (RT_FAILURE(rc))
    66                 RTPrintf("Failed to convert flag string %s back to a string.\n",
     66                RTPrintf("tstGuestPropSvc: FAILURE - Failed to convert flag string %s back to a string.\n",
    6767                            validFlagStrings[i].pcszIn);
    6868        }
    6969        if (RT_SUCCESS(rc) && (strlen(szFlagBuffer) > MAX_FLAGS_LEN - 1))
    7070        {
    71             RTPrintf("String %s converts back to a flag string which is too long.\n",
     71            RTPrintf("tstGuestPropSvc: FAILURE - String %s converts back to a flag string which is too long.\n",
    7272                        validFlagStrings[i].pcszIn);
    7373            rc = VERR_TOO_MUCH_DATA;
     
    7575        if (RT_SUCCESS(rc) && (strcmp(szFlagBuffer, validFlagStrings[i].pcszOut) != 0))
    7676        {
    77             RTPrintf("String %s converts back to %s instead of to %s\n",
     77            RTPrintf("tstGuestPropSvc: FAILURE - String %s converts back to %s instead of to %s\n",
    7878                        validFlagStrings[i].pcszIn, szFlagBuffer,
    7979                        validFlagStrings[i].pcszOut);
     
    8989    if (RT_FAILURE(testConvertFlags()))
    9090        return 1;
    91     RTPrintf("SUCCEEDED.\n");
     91    RTPrintf("tstGuestPropSvc: SUCCEEDED.\n");
    9292    return 0;
    9393}
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