// //////////////////////////////////////////////////////////////////////////
// Header file TestFailureInfo.h for class TestFailureInfo
// (c)Copyright 2000, Baptiste Lepilleur.
// Created: 2001/09/20
// //////////////////////////////////////////////////////////////////////////
#ifndef TESTFAILUREINFO_H
#define TESTFAILUREINFO_H
#include <cppunit/TestFailure.h>
/*! \class TestFailureInfo
* \brief This class represents a test failure.
*/
class TestFailureInfo : public CPPUNIT_NS::TestFailure
{
public:
/*! Constructs a TestFailureInfo object.
*/
TestFailureInfo( CPPUNIT_NS::Test *failedTest,
CPPUNIT_NS::Exception *thrownException,
bool isError );
/*! Destructor.
*/
virtual ~TestFailureInfo();
private:
/// Prevents the use of the copy constructor.
TestFailureInfo( const TestFailureInfo © );
/// Prevents the use of the copy operator.
void operator =( const TestFailureInfo © );
};
// Inlines methods for TestFailureInfo:
// ------------------------------------
#endif // TESTFAILUREINFO_H
syntax highlighted by Code2HTML, v. 0.9.1