summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-02-11 12:14:00 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-02-11 12:14:00 (GMT)
commit0efa7c32aaf21a29b42b5926cc116007056843be (patch)
tree882f663a5dd0e65694bf6077b71086dd77fd7ff8 /3rdParty/CppUnit/cppunit/TestFailure.h
parent1d20eabbc32274b491b4c2bedf73d19933d97bfd (diff)
downloadswift-0efa7c32aaf21a29b42b5926cc116007056843be.zip
swift-0efa7c32aaf21a29b42b5926cc116007056843be.tar.bz2
Moved some modules into separate git modules.
Diffstat (limited to '3rdParty/CppUnit/cppunit/TestFailure.h')
m---------3rdParty/CppUnit0
-rw-r--r--3rdParty/CppUnit/cppunit/TestFailure.h58
2 files changed, 0 insertions, 58 deletions
diff --git a/3rdParty/CppUnit b/3rdParty/CppUnit
new file mode 160000
+Subproject b4c34eb947c6497c6387c55c7581ec875f4e7d4
diff --git a/3rdParty/CppUnit/cppunit/TestFailure.h b/3rdParty/CppUnit/cppunit/TestFailure.h
deleted file mode 100644
index 6419979..0000000
--- a/3rdParty/CppUnit/cppunit/TestFailure.h
+++ /dev/null
@@ -1,58 +0,0 @@
-#ifndef CPPUNIT_TESTFAILURE_H // -*- C++ -*-
-#define CPPUNIT_TESTFAILURE_H
-
-#include <cppunit/Portability.h>
-#include <string>
-
-CPPUNIT_NS_BEGIN
-
-
-class Exception;
-class SourceLine;
-class Test;
-
-
-/*! \brief Record of a failed Test execution.
- * \ingroup BrowsingCollectedTestResult
- *
- * A TestFailure collects a failed test together with
- * the caught exception.
- *
- * TestFailure assumes lifetime control for any exception
- * passed to it.
- */
-class CPPUNIT_API TestFailure
-{
-public:
- TestFailure( Test *failedTest,
- Exception *thrownException,
- bool isError );
-
- virtual ~TestFailure ();
-
- virtual Test *failedTest() const;
-
- virtual Exception *thrownException() const;
-
- virtual SourceLine sourceLine() const;
-
- virtual bool isError() const;
-
- virtual std::string failedTestName() const;
-
- virtual TestFailure *clone() const;
-
-protected:
- Test *m_failedTest;
- Exception *m_thrownException;
- bool m_isError;
-
-private:
- TestFailure( const TestFailure &other );
- TestFailure &operator =( const TestFailure& other );
-};
-
-
-CPPUNIT_NS_END
-
-#endif // CPPUNIT_TESTFAILURE_H