testi.cpp revision c7814cf6e1240a519cbec0441e033d0e2470ed00
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync * IPRT - Testcase Framework, the implicit test handle API variation.
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync * Copyright (C) 2009-2010 Oracle Corporation
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync * available from http://www.virtualbox.org. This file is free software;
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync * you can redistribute it and/or modify it under the terms of the GNU
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync * General Public License (GPL) as published by the Free Software
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync * The contents of this file may alternatively be used under the terms
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync * of the Common Development and Distribution License Version 1.0
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync * VirtualBox OSE distribution, in which case the provisions of the
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync * CDDL are applicable instead of those of the GPL.
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync * You may elect to license modified versions of this file under the
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync * terms and conditions of either the GPL or the CDDL or both.
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync/*******************************************************************************
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync* Header Files *
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync*******************************************************************************/
350402824659064a238a227b79ef12d7d4abacf8vboxsyncRTR3DECL(int) RTTestIPrintfV(RTTESTLVL enmLevel, const char *pszFormat, va_list va)
350402824659064a238a227b79ef12d7d4abacf8vboxsync return RTTestPrintfV(NIL_RTTEST, enmLevel, pszFormat, va);
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsyncRTR3DECL(int) RTTestIPrintf(RTTESTLVL enmLevel, const char *pszFormat, ...)
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync int cch = RTTestPrintfV(NIL_RTTEST, enmLevel, pszFormat, va);
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsyncRTR3DECL(int) RTTestISubF(const char *pszSubTestFmt, ...)
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync int cch = RTTestSubV(NIL_RTTEST, pszSubTestFmt, va);
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsyncRTR3DECL(int) RTTestISubV(const char *pszSubTestFmt, va_list va)
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsyncRTR3DECL(int) RTTestIPassedV(const char *pszFormat, va_list va)
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsyncRTR3DECL(int) RTTestIPassed(const char *pszFormat, ...)
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync int cch = RTTestPassedV(NIL_RTTEST, pszFormat, va);
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsyncRTR3DECL(int) RTTestIValue(const char *pszName, uint64_t u64Value, RTTESTUNIT enmUnit)
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync return RTTestValue(NIL_RTTEST, pszName, u64Value, enmUnit);
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsyncRTR3DECL(int) RTTestIValueF(uint64_t u64Value, RTTESTUNIT enmUnit, const char *pszNameFmt, ...)
4db428018b0a098eec7231fc88b688d70b814933vboxsync int rc = RTTestValueV(NIL_RTTEST, u64Value, enmUnit, pszNameFmt, va);
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsyncRTR3DECL(int) RTTestIValueV(uint64_t u64Value, RTTESTUNIT enmUnit, const char *pszNameFmt, va_list va)
4db428018b0a098eec7231fc88b688d70b814933vboxsync return RTTestValueV(NIL_RTTEST, u64Value, enmUnit, pszNameFmt, va);
4db428018b0a098eec7231fc88b688d70b814933vboxsyncRTR3DECL(int) RTTestIFailedV(const char *pszFormat, va_list va)
4db428018b0a098eec7231fc88b688d70b814933vboxsyncRTR3DECL(int) RTTestIFailed(const char *pszFormat, ...)
4db428018b0a098eec7231fc88b688d70b814933vboxsync int cch = RTTestFailedV(NIL_RTTEST, pszFormat, va);
4db428018b0a098eec7231fc88b688d70b814933vboxsyncRTR3DECL(int) RTTestIFailedRcV(int rcRet, const char *pszFormat, va_list va)
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsyncRTR3DECL(int) RTTestIFailedRc(int rcRet, const char *pszFormat, ...)
350402824659064a238a227b79ef12d7d4abacf8vboxsyncRTR3DECL(int) RTTestIFailureDetailsV(const char *pszFormat, va_list va)
293919f1c3b99b501ba3c1f121d4f037f49045b5vboxsync return RTTestFailureDetails(NIL_RTTEST, pszFormat, va);
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsyncRTR3DECL(int) RTTestIFailureDetails(const char *pszFormat, ...)