From 2a31073734be6e44e477079699578820282b7345 Mon Sep 17 00:00:00 2001 From: Baptiste Lepilleur Date: Tue, 16 Jul 2002 21:59:22 +0000 Subject: Include/cppunit/Protector. include/cppunit/Protector.h: * src/cppunit/Protector.cpp: added. Base class for protectors. * src/cppunit/DefaultProtector.h: * src/cppunit/DefaultProtector.cpp: added. Implementation of the default protector used to catch std::exception and any other exception. * src/cppunit/ProtectorChain.h: * src/cppunit/ProtectorChain.cpp: added. Implementation of a chain of protector, allowing catching custom exception and implementation of expected exception. * src/cppunit/TestCase.cpp: * src/cppunit/TestResult.cpp: updated to use protector. --- src/cppunit/cppunit.dsp | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'src/cppunit/cppunit.dsp') diff --git a/src/cppunit/cppunit.dsp b/src/cppunit/cppunit.dsp index e0bd8c6..f44e1bf 100644 --- a/src/cppunit/cppunit.dsp +++ b/src/cppunit/cppunit.dsp @@ -599,6 +599,38 @@ SOURCE=.\XmlElement.cpp SOURCE=..\..\include\cppunit\tools\XmlElement.h # End Source File # End Group +# Begin Group "protector" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\DefaultProtector.cpp +# End Source File +# Begin Source File + +SOURCE=.\DefaultProtector.h +# End Source File +# Begin Source File + +SOURCE=.\Protector.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\include\cppunit\Protector.h +# End Source File +# Begin Source File + +SOURCE=.\ProtectorChain.cpp +# End Source File +# Begin Source File + +SOURCE=.\ProtectorChain.h +# End Source File +# Begin Source File + +SOURCE=.\ProtectorContext.h +# End Source File +# End Group # Begin Source File SOURCE=..\..\configure.in -- cgit v1.2.1