tstVBoxDbg.cpp revision d2b90125e86633783a62cdf31cb6fd9b01b3d35e
/** @file
*
* VBox Debugger GUI, dummy testcase.
*/
/*
* Copyright (C) 2006-2007 Oracle Corporation
*
* Oracle Corporation confidential
* All rights reserved
*/
/*******************************************************************************
* Header Files *
*******************************************************************************/
#include <qapplication.h>
#include <iprt/initterm.h>
#include <iprt/initterm.h>
#include <iprt/semaphore.h>
#define TESTCASE "tstVBoxDbg"
{
int cErrors = 0; /* error count. */
/*
* Create empty VM.
*/
if (RT_SUCCESS(rc))
{
/*
* Instantiate the debugger GUI bits and run them.
*/
if (RT_SUCCESS(rc))
{
{
if (RT_FAILURE(rc))
{
cErrors++;
}
}
{
if (RT_FAILURE(rc))
{
cErrors++;
}
}
}
else
{
cErrors++;
}
/*
* Cleanup.
*/
if (!RT_SUCCESS(rc))
{
cErrors++;
}
}
else
{
cErrors++;
}
/*
* Summay and exit.
*/
if (!cErrors)
else
return !!cErrors;
}