Lines Matching defs:GlobTest

2703     VDTESTGLOB GlobTest;   /**< Global test data. */
2705 memset(&GlobTest, 0, sizeof(VDTESTGLOB));
2706 RTListInit(&GlobTest.ListFiles);
2707 RTListInit(&GlobTest.ListDisks);
2708 RTListInit(&GlobTest.ListPatterns);
2709 GlobTest.pszIoBackend = RTStrDup("memory");
2710 if (!GlobTest.pszIoBackend)
2717 GlobTest.VDIfError.pfnError = tstVDError;
2718 GlobTest.VDIfError.pfnMessage = tstVDMessage;
2720 rc = VDInterfaceAdd(&GlobTest.VDIfError.Core, "tstVDIo_VDIError", VDINTERFACETYPE_ERROR,
2721 NULL, sizeof(VDINTERFACEERROR), &GlobTest.pInterfacesDisk);
2724 GlobTest.VDIfIo.pfnOpen = tstVDIoFileOpen;
2725 GlobTest.VDIfIo.pfnClose = tstVDIoFileClose;
2726 GlobTest.VDIfIo.pfnDelete = tstVDIoFileDelete;
2727 GlobTest.VDIfIo.pfnMove = tstVDIoFileMove;
2728 GlobTest.VDIfIo.pfnGetFreeSpace = tstVDIoFileGetFreeSpace;
2729 GlobTest.VDIfIo.pfnGetModificationTime = tstVDIoFileGetModificationTime;
2730 GlobTest.VDIfIo.pfnGetSize = tstVDIoFileGetSize;
2731 GlobTest.VDIfIo.pfnSetSize = tstVDIoFileSetSize;
2732 GlobTest.VDIfIo.pfnWriteSync = tstVDIoFileWriteSync;
2733 GlobTest.VDIfIo.pfnReadSync = tstVDIoFileReadSync;
2734 GlobTest.VDIfIo.pfnFlushSync = tstVDIoFileFlushSync;
2735 GlobTest.VDIfIo.pfnReadAsync = tstVDIoFileReadAsync;
2736 GlobTest.VDIfIo.pfnWriteAsync = tstVDIoFileWriteAsync;
2737 GlobTest.VDIfIo.pfnFlushAsync = tstVDIoFileFlushAsync;
2739 rc = VDInterfaceAdd(&GlobTest.VDIfIo.Core, "tstVDIo_VDIIo", VDINTERFACETYPE_IO,
2740 &GlobTest, sizeof(VDINTERFACEIO), &GlobTest.pInterfacesImages);
2743 rc = RTTestCreate(pszName, &GlobTest.hTest);
2747 rc = VDIoBackendCreate(&GlobTest.pIoBackend);
2754 RTTEST_CHECK_RC_OK(GlobTest.hTest,
2755 VDScriptCtxCallbacksRegister(hScriptCtx, g_aScriptActions, g_cScriptActions, &GlobTest));
2757 RTTestBanner(GlobTest.hTest);
2767 VDIoBackendDestroy(GlobTest.pIoBackend);
2772 RTTestSummaryAndDestroy(GlobTest.hTest);
2777 RTStrFree(GlobTest.pszIoBackend);