Searched refs:aTests (Results 1 - 8 of 8) sorted by relevance

/vbox/src/VBox/Runtime/testcase/
H A DtstRTStrVersion.cpp50 } const aTests[] = local
115 for (unsigned iTest = 0; iTest < RT_ELEMENTS(aTests); iTest++)
117 int iResult = RTStrVersionCompare(aTests[iTest].pszVer1, aTests[iTest].pszVer2);
118 if (iResult != aTests[iTest].iResult)
120 iTest, aTests[iTest].pszVer1, aTests[iTest].pszVer2, iResult, aTests[iTest].iResult);
122 iResult = -RTStrVersionCompare(aTests[iTest].pszVer2, aTests[iTes
[all...]
H A DtstTimerLR.cpp120 } aTests[] = local
128 for (i = 0; i < RT_ELEMENTS(aTests); i++)
130 //aTests[i].cLower = (aTests[i].uMilliesWait - aTests[i].uMilliesWait / 10) / aTests[i].uMilliesInterval;
131 //aTests[i].cUpper = (aTests[i].uMilliesWait + aTests[i].uMilliesWait / 10) / aTests[
[all...]
H A DtstTimer.cpp128 } aTests[] = local
142 for (i = 0; i < RT_ELEMENTS(aTests); i++)
144 aTests[i].cLower = (aTests[i].uMilliesWait*1000 - aTests[i].uMilliesWait*100) / aTests[i].uMicroInterval;
145 aTests[i].cUpper = (aTests[i].uMilliesWait*1000 + aTests[i].uMilliesWait*100) / aTests[
[all...]
H A DtstRTFileModeStringToFlags.cpp50 } const aTests[] = local
98 for (unsigned iTest = 0; iTest < RT_ELEMENTS(aTests); iTest++)
101 int iResult = RTFileModeToFlags(aTests[iTest].pszMode, &uMode);
102 if (iResult != aTests[iTest].iResult)
105 iTest, aTests[iTest].pszMode, iResult, aTests[iTest].iResult);
114 && uMode != aTests[iTest].uMode)
117 iTest, aTests[iTest].pszMode, uMode, aTests[iTest].uMode);
H A DtstStrToNum.cpp83 #define RUN_TESTS(aTests, Type, Fmt, Fun) \
86 for (unsigned iTest = 0; iTest < RT_ELEMENTS(aTests); iTest++) \
88 TEST(aTests[iTest], Type, Fmt, Fun, iTest); \
H A DtstUtf8.cpp816 } aTests[] = local
827 for (size_t i = 0; i < RT_ELEMENTS(aTests); i++)
829 size_t cErrors = RTStrPurgeEncoding((char *)aTests[i].szIn);
830 if (cErrors != aTests[i].cErrors)
831 RTTestFailed(hTest, "#%u: cErrors=%u expected %u\n", i, cErrors, aTests[i].cErrors);
832 else if (strcmp((char *)aTests[i].szIn, aTests[i].pszExpect))
833 RTTestFailed(hTest, "#%u: %.5Rhxs expected %.5Rhxs (%s)\n", i, aTests[i].szIn, aTests[i].pszExpect, aTests[
858 aTests[] = local
907 aTests[] = local
[all...]
/vbox/src/VBox/VMM/testcase/
H A DtstCompressionBenchmark.cpp393 } aTests[] = local
406 for (uint32_t j = 0; j < RT_ELEMENTS(aTests); j++)
408 if (RT_FAILURE(aTests[j].rc))
420 if (aTests[j].fBlock)
427 AssertBreakStmt(cbLeft > PAGE_SIZE * 4, aTests[j].rc = rc = VERR_BUFFER_OVERFLOW);
433 rc = RTZipBlockCompress(aTests[j].enmType, aTests[j].enmLevel, 0 /*fFlags*/,
438 Error("RTZipBlockCompress failed for '%s' (#%u): %Rrc\n", aTests[j].pszName, j, rc);
439 aTests[j].rc = rc;
454 rc = RTZipCompCreate(&pZipComp, NULL, ComprOutCallback, aTests[
[all...]
/vbox/src/VBox/Frontends/VBoxManage/
H A DVBoxManageGuestCtrl.cpp1655 } aTests[] = local
1673 for (iTest; iTest < RT_ELEMENTS(aTests); iTest++)
1677 aTests[iTest].pszSourceRoot, aTests[iTest].pszSource, aTests[iTest].pszDest);
1680 int iResult = ctrlCopyTranslatePath(aTests[iTest].pszSourceRoot, aTests[iTest].pszSource,
1681 aTests[iTest].pszDest, &pszTranslated);
1682 if (iResult != aTests[iTest].iResult)
1685 iResult, aTests[iTes
[all...]

Completed in 80 milliseconds