excTest.hh

Go to the documentation of this file.
1 
6 #ifndef testExc_hh
7 #define testExc_hh
8 
9 #include "basics/testcase.hh"
10 
11 namespace test {
12 
16  class ExceptionTest : public TestCase {
17  public:
18  virtual ~ExceptionTest() {}
19  virtual void run();
20 
22 
23  void testAssert();
26  void testBase();
30  };
31 
32 } // namespace test
33 
34 #endif // testExc_hh
Base class for tests.
Definition: testcase.hh:92
Testing some exceptions.
Definition: excTest.hh:16
void testBase()
Tests concepts::ExceptionBase.
Unit tests.
Definition: testcase.hh:66
void testAssert()
Tests concepts::Assertion and conceptsAssert.
void testMissingFeature()
Tests concepts::MissingFeature.
virtual void run()
Runs the tests. Must be overwritten by the specialization.
virtual ~ExceptionTest()
Definition: excTest.hh:18
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich