Added cppunit to the ./contrib dir. Build config for x64 and dll builds (some bugs remaining, but most configs are working)
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@70 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
27
contrib/cppunit-1.12.1/src/cppunit/DefaultProtector.h
Normal file
27
contrib/cppunit-1.12.1/src/cppunit/DefaultProtector.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef CPPUNIT_DEFAULTPROTECTOR_H
|
||||
#define CPPUNIT_DEFAULTPROTECTOR_H
|
||||
|
||||
#include <cppunit/Protector.h>
|
||||
|
||||
CPPUNIT_NS_BEGIN
|
||||
|
||||
/*! \brief Default protector that catch all exceptions (Implementation).
|
||||
*
|
||||
* Implementation detail.
|
||||
* \internal This protector catch and generate a failure for the following
|
||||
* exception types:
|
||||
* - Exception
|
||||
* - std::exception
|
||||
* - ...
|
||||
*/
|
||||
class DefaultProtector : public Protector
|
||||
{
|
||||
public:
|
||||
bool protect( const Functor &functor,
|
||||
const ProtectorContext &context );
|
||||
};
|
||||
|
||||
CPPUNIT_NS_END
|
||||
|
||||
#endif // CPPUNIT_DEFAULTPROTECTOR_H
|
||||
|
||||
Reference in New Issue
Block a user