/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTMp-1.cpp | 54 RTTestIFailed("RTMpGetCount returned zero"); 63 RTTestIFailed("RTMpGetCoreCount returned zero"); 92 RTTestIFailed("Cpu with index %d is report as !RTIsCpuPresent while RTIsCpuOnline returns true!\n", iCpu); 96 RTTestIFailed("Cpu with index %d is returned by RTCpuSet but not RTMpIsCpuPossible!\n", iCpu); 99 RTTestIFailed("Cpu with index %d is returned by RTMpIsCpuPossible but not RTCpuSet!\n", iCpu); 101 RTTestIFailed("RTMpGetCurFrequency(%d[idx=%d]) didn't return 0 as it should\n", (int)idCpu, iCpu); 103 RTTestIFailed("RTMpGetMaxFrequency(%d[idx=%d]) didn't return 0 as it should\n", (int)idCpu, iCpu); 122 RTTestIFailed("RTMpGetOnlineCount -> %d, expected <= %d\n", (int)cCpusOnline, (int)cCpus); 128 RTTestIFailed("RTMpGetOnlineCount -> %d\n", (int)cCpusOnline); 137 RTTestIFailed("RTMpGetOnlineCoreCoun [all...] |
H A D | tstRTAvl.cpp | 267 RTTestIFailed("cSetBits=%u - but ASMBitFirstSet failed to find any", pTracker->cSetBits); 345 RTTestIFailed("linear left insert i=%d\n", i); 352 RTTestIFailed("linear left negative insert i=%d\n", i); 364 RTTestIFailed("linear left remove i=%d\n", i); 374 RTTestIFailed("linear left negative remove i=%d\n", i); 391 RTTestIFailed("linear right insert i=%d\n", i); 398 RTTestIFailed("linear right negative insert i=%d\n", i); 410 RTTestIFailed("linear right remove i=%d\n", i); 420 RTTestIFailed("linear right negative remove i=%d\n", i); 437 RTTestIFailed("linea [all...] |
H A D | tstRTFilesystem.cpp | 53 RTTestIFailed("RTFilesystemVfsFromFile -> %Rrc", rc); 66 RTTestIFailed("RTVfsFileGetSize -> %Rrc", rc); 77 RTTestIFailed("RTVfsIsRangeInUse -> %Rrc", rc); 124 RTTestIFailed("RTFileOpen -> %Rrc", rc); 131 RTTestIFailed("RTVfsFileFromRTFile -> %Rrc", rc);
|
H A D | tstRTBase64.cpp | 67 RTTestIFailed("RTBase64Decode -> %Rrc", rc); 69 RTTestIFailed("RTBase64Decode returned %zu bytes, expected %zu.", 74 RTTestIFailed("RTBase64Decode returned:\n%.*s\nexpected:\n%s\n", 77 RTTestIFailed("RTBase64Decode return mismatching output\n"); 82 RTTestIFailed("RTBase64DecodedSize returned %zu bytes, expected %zu.\n", 90 RTTestIFailed("RTBase64Encode -> %Rrc\n", rc); 92 RTTestIFailed("RTBase64Encode returned %zu bytes, expected %zu.\n", 95 RTTestIFailed("RTBase64Encode returned:\n%*s\nexpected:\n%s\n", 100 RTTestIFailed("RTBase64EncodedLength returned %zu bytes, expected %zu.\n", 187 RTTestIFailed("RTBase64EncodedLengt [all...] |
H A D | tstRTS3.cpp | 90 RTTestIFailed("RTS3GetBuckets -> %Rrc", rc); 101 RTTestIFailed("RTS3CreateBucket -> %Rrc", rc); 112 RTTestIFailed("RTS3DeleteBucket -> %Rrc", rc); 139 RTTestIFailed("RTS3GetBucketKeys -> %Rrc", rc); 150 RTTestIFailed("RTS3DeleteKey -> %Rrc", rc); 161 RTTestIFailed("RTS3GetKey -> %Rrc", rc); 172 RTTestIFailed("RTS3PutKey -> %Rrc", rc); 200 RTTestIFailed("RTS3Create -> %Rrc", rc);
|
H A D | tstRTNetIPv4.cpp | 47 RTTestIFailed("at line %d: '%s': expected %Rrc got %Rrc\n", \ 54 RTTestIFailed("at line %d: '%s': expected %Rrc got %Rrc," \ 77 RTTestIFailed("at line %d: '%s': expected %Rrc got %Rrc\n", \ 85 RTTestIFailed("at line %d: '%s': expected %Rrc got %Rrc," \
|
H A D | tstRTMemWipe.cpp | 56 RTTestIFailed("No memory for first buffer (%z bytes)\n", 67 RTTestIFailed("No memory for second buffer (%z bytes)\n", 74 RTTestIFailed("Memory blocks must differ (%z bytes, 0x%p vs. 0x%p)!\n",
|
H A D | tstRTMemSafer.cpp | 61 RTTestIFailed("Memory blocks must differ (%z bytes, 0x%p vs. 0x%p)!\n", 72 RTTestIFailed("Memory blocks must not differ (%z bytes, 0x%p vs. 0x%p)!\n", 76 RTTestIFailed("Unscrambling %z bytes failed with %Rrc!\n", cbAlloc, rc); 80 RTTestIFailed("Scrambling %z bytes failed with %Rrc!\n", cbAlloc, rc); 103 RTTestIFailed("Allocating %z bytes of secure memory failed with %Rrc\n", cbAlloc, rc);
|
H A D | tstRTSystemQueryDmi.cpp | 74 RTTestIFailed("level=%d; unterminated buffer on VERR_NOT_SUPPORTED\n", i); 78 RTTestIFailed("level=%d unexpected rc=%Rrc\n", i, rc); 106 RTTestIFailed("level=%d, rc=%Rrc, cch=%zu, off=%zu: Wrote too much!\n", i, rc, cch, off); 112 RTTestIFailed("level=%d, rc=%Rrc, cch=%zu: Buffer not terminated!\n", i, rc, cch); 118 RTTestIFailed("level=%d: rc=%Rrc when specifying exactly right buffer length (%zu)\n", i, rc, cchInfo + 1);
|
H A D | tstRTSystemQueryOsInfo.cpp | 87 RTTestIFailed("level=%d; unterminated buffer on VERR_NOT_SUPPORTED\n", i); 91 RTTestIFailed("level=%d unexpected rc=%Rrc\n", i, rc); 119 RTTestIFailed("level=%d, rc=%Rrc, cch=%zu, off=%zu: Wrote too much!\n", i, rc, cch, off); 125 RTTestIFailed("level=%d, rc=%Rrc, cch=%zu: Buffer not terminated!\n", i, rc, cch); 131 RTTestIFailed("level=%d: rc=%Rrc when specifying exactly right buffer length (%zu)\n", i, rc, cchInfo + 1);
|
H A D | tstRTDvm.cpp | 97 RTTestIFailed("RTDvmCreate -> %Rrc", rc); 106 RTTestIFailed("RTDvmOpen -> %Rrc", rc); 141 RTTestIFailed("RTDvmVolumeQueryName -> %Rrc", rc); 200 RTTestIFailed("RTFileOpen -> %Rrc", rc); 208 RTTestIFailed("RTFileGetSize -> %Rrc", rc);
|
H A D | tstRTCidr.cpp | 47 RTTestIFailed("at line %d: '%s': expected %Rrc got %Rrc\n", \ 55 RTTestIFailed("at line %d: '%s': expected %Rrc got %Rrc, expected network %RTnaipv4 got %RTnaipv4, expected netmask %RTnaipv4 got %RTnaipv4\n", \
|
H A D | tstRTR0ThreadPreemptionDriver.cpp | 169 RTTestIFailed("%s", &Req.szMsg[1]); 187 RTTestIFailed("%s", &Req.szMsg[1]); 220 RTTestIFailed("%s", &Req.szMsg[1]); 246 RTTestIFailed("%s", &Req.szMsg[1]); 268 RTTestIFailed("%s", &Req.szMsg[1]);
|
H A D | tstRTProcCreateEx.cpp | 172 RTTestIFailed("enmReason=%d iStatus=%d", ProcStatus.enmReason, ProcStatus.iStatus); 207 RTTestIFailed("enmReason=%d iStatus=%d", ProcStatus.enmReason, ProcStatus.iStatus); 272 RTTestIFailed("enmReason=%d iStatus=%d", ProcStatus.enmReason, ProcStatus.iStatus); 275 RTTestIFailed("wrong output: \"%s\" (len=%u)", szOutput, offOutput); 337 RTTestIFailed("enmReason=%d iStatus=%d", ProcStatus.enmReason, ProcStatus.iStatus); 340 RTTestIFailed("wrong output: \"%s\" (len=%u)", szOutput, offOutput); 402 RTTestIFailed("enmReason=%d iStatus=%d", ProcStatus.enmReason, ProcStatus.iStatus); 405 RTTestIFailed("wrong output: \"%s\" (len=%u)", szOutput, offOutput);
|
H A D | tstRTStrFormat.cpp | 47 RTTestIFailed("pszType=%s expected 'typeN'\n", pszType); 51 RTTestIFailed("pvValue=%p expected %p\n", pvUser, (void *)((uintptr_t)TstType + iType)); 73 RTTestIFailed("at line %d: nested format '%s'\n" 78 RTTestIFailed("at line %d: Invalid length %d returned, expected %u!\n", 87 RTTestIFailed("at line %d: nested format '%s'\n" 92 RTTestIFailed("at line %d: Invalid length %d returned, expected %u!\n", 117 RTTestIFailed("error: '%s'\n" 126 RTTestIFailed("error: '%s'\n" 137 RTTestIFailed("error: '%s'\n" 146 RTTestIFailed("erro [all...] |
H A D | tstRTPath.cpp | 132 RTTestIFailed("RTPathParsedReassemble -> %Rrc", rc); 189 RTTestIFailed("RTPathSplitReassemble -> %Rrc", rc); 213 RTTestIFailed("#if RTPATH_STYLE == RTPATH_STR_F_STYLE_DOS"); 225 RTTestIFailed("#if RTPATH_STYLE == RTPATH_STR_F_STYLE_UNIX"); 246 RTTestIFailed("RTProcGetExecutablePath -> NULL"); 340 RTTestIFailed("unexpected result code!\n" 387 RTTestIFailed("Unexpected result\n" 426 RTTestIFailed("Unexpected result\n" 486 RTTestIFailed("Unexpected result\n" 530 RTTestIFailed("Unexpecte [all...] |
H A D | tstRTR0MemUserKernelDriver.cpp | 144 RTTestIFailed("%s", &Req.szMsg[1]); 163 RTTestIFailed("%s", &Req.szMsg[1]); 182 RTTestIFailed("%s", &Req.szMsg[1]); 201 RTTestIFailed("%s", &Req.szMsg[1]);
|
H A D | tstRTTimeSpec.cpp | 63 #define CHECK_NZ(expr) do { if (!(expr)) { RTTestIFailed("at line %d: %#x\n", __LINE__, #expr); return RTTestSummaryAndDestroy(hTest); } } while (0) 70 RTTestIFailed("FAILURE - %RI64 != %RI64, line no. %d\n", \ 79 RTTestIFailed("FAILURE - %RI64 != %RI64, line no. %d\n", \ 98 RTTestIFailed(" %s ; line no %d\n" \ 152 RTTestIFailed("%RI64 != %RI64\n", RTTimeSpecGetNano(&Ts1), RTTimeSpecGetNano(&Now)); 163 RTTestIFailed("%RI64 != %RI64\n", RTTimeSpecGetNano(&Ts1), RTTimeSpecGetNano(&Now)); 205 RTTestIFailed("simple normalization failed\n");
|
H A D | tstRTNetIPv6.cpp | 53 RTTestIFailed("at line %d: '%s': expected %Rrc got %Rrc\n", \ 60 RTTestIFailed("at line %d: '%s': expected %Rrc got %Rrc," \
|
/vbox/include/iprt/ |
H A D | test.h | 1025 RTR3DECL(int) RTTestIFailed(const char *pszFormat, ...); 1077 * If the expression is false, call RTTestIFailed giving the line number and 1084 RTTestIFailed("line %u: %s", __LINE__, #expr); \ 1090 * If the expression is false, call RTTestIFailed giving the line number and 1098 RTTestIFailed("line %u: %s", __LINE__, #expr); \ 1105 * If the expression is false, call RTTestIFailed giving the line number and 1112 RTTestIFailed("line %u: %s", __LINE__, #expr); \ 1119 * If the expression is false, call RTTestIFailed giving the line number and 1126 RTTestIFailed("line %u: %s", __LINE__, #expr); \ 1134 * If the expression is false, call RTTestIFailed givin [all...] |
/vbox/src/VBox/HostServices/GuestProperties/testcase/ |
H A D | tstGuestPropSvc.cpp | 115 RTTestIFailed("Failed to validate flag string '%s'", g_aValidFlagStrings[i].pcszIn); 120 RTTestIFailed("Failed to convert flag string '%s' back to a string.", 125 RTTestIFailed("String '%s' converts back to a flag string which is too long.\n", 131 RTTestIFailed("String '%s' converts back to '%s' instead of to '%s'\n", 146 RTTestIFailed("String '%s' was incorrectly accepted as a valid flag string.\n", 159 RTTestIFailed("Flags 0x%x were incorrectly written out as '%.*s'\n", 348 RTTestIFailed("ENUM_PROPS_HOST returned %Rrc instead of VERR_BUFFER_OVERFLOW on too small buffer, pattern number %d.", rc2, i); 368 RTTestIFailed("ENUM_PROPS_HOST did not produce the expected output for pattern %d.", i); 372 RTTestIFailed("ENUM_PROPS_HOST returned %Rrc instead of VINF_SUCCESS, pattern number %d.", rc2, i); 473 RTTestIFailed("Settin [all...] |
/vbox/src/VBox/Main/testcase/ |
H A D | tstGuid.cpp | 49 RTTestIFailed("line %u: expected \"%s\" got \"%s\"", __LINE__, szExpect, (Str).c_str()); \ 54 RTTestIFailed("line %u: expected \"%zd\" got \"%zd\"", __LINE__, iExpect, iRes); \
|
/vbox/src/VBox/ValidationKit/utils/network/ |
H A D | NetPerf.cpp | 531 RTTestIFailed("RTTcpWrite/warmup: %Rrc\n", rc); 537 RTTestIFailed("RTTimerLRStart/warmup: %Rrc\n", rc); 557 RTTestIFailed("RTTcpWrite/testing: %Rrc\n", rc); 565 RTTestIFailed("RTTimerLRStart/testing: %Rrc\n", rc); 585 RTTestIFailed("RTTcpWrite/cool down: %Rrc\n", rc); 591 RTTestIFailed("RTTimerLRStart/testing: %Rrc\n", rc); 604 RTTestIFailed("RTTcpWrite/done: %Rrc\n", rc); 610 RTTestIFailed("Failed to create timer object: %Rrc\n", rc); 639 RTTestIFailed("RTTcpRead failed: %Rrc\n", rc); 646 RTTestIFailed("Invali [all...] |
/vbox/src/VBox/ValidationKit/utils/cpu/ |
H A D | exceptionsR3.cpp | 60 RTTestIFailed("%s didn't trap (line no %u)", #Trapper, __LINE__); \ 64 RTTestIFailed("%s trapped with %#x/%#x, expected %#x/%#x (line no %u)", \
|
/vbox/src/VBox/HostDrivers/Support/testcase/ |
H A D | tstNtQueryStuff.cpp | 369 RTTestIFailed("ProcessImageFileMapping: rcNt=%#x\n", rcNt); 381 RTTestIFailed("ProcessHandleCount: rcNt=%#x\n", rcNt); 393 RTTestIFailed("ProcessExecuteFlags: rcNt=%#x\n", rcNt); 420 RTTestIFailed("Error %u opening process %u (%s)\n", GetLastError(), idPid, pszPid);
|