CppEphem
test_CEException.h
Go to the documentation of this file.
1 /***************************************************************************
2  * test_CEException.h: CppEphem *
3  * ----------------------------------------------------------------------- *
4  * Copyright © 2019 JCardenzana *
5  * ----------------------------------------------------------------------- *
6  * *
7  * This program is free software: you can redistribute it and/or modify *
8  * it under the terms of the GNU General Public License as published by *
9  * the Free Software Foundation, either version 3 of the License, or *
10  * (at your option) any later version. *
11  * *
12  * This program is distributed in the hope that it will be useful, *
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15  * GNU General Public License for more details. *
16  * *
17  * You should have received a copy of the GNU General Public License *
18  * along with this program. If not, see <http://www.gnu.org/licenses/>. *
19  * *
20  ***************************************************************************/
21 
22 #ifndef test_CEException_h
23 #define test_CEException_h
24 
25 #include "CEException.h"
26 #include "CETestSuite.h"
27 
28 class test_CEException : public CETestSuite {
29 public:
31  virtual ~test_CEException();
32 
33  virtual bool runtests();
34 
35  /****** METHODS ******/
36  virtual bool test_construct(void);
37  virtual bool test_invalid_value(void);
38  virtual bool test_sofa_error(void);
39  virtual bool test_sofa_exception(void);
40  virtual bool test_corr_file_except(void);
41 
42 };
43 
44 #endif /* test_CEException_h */
test_CEException::test_CEException
test_CEException()
Default constructor.
Definition: test_CEException.cpp:29
test_CEException::test_sofa_exception
virtual bool test_sofa_exception(void)
Try throwing 'CEException::sofa_exception'.
Definition: test_CEException.cpp:157
CEException.h
test_CEException::~test_CEException
virtual ~test_CEException()
Destructor.
Definition: test_CEException.cpp:37
test_CEException::test_construct
virtual bool test_construct(void)
Try constructing and accesing information about a CEException.
Definition: test_CEException.cpp:65
test_CEException::test_invalid_value
virtual bool test_invalid_value(void)
Try throwing 'CEException::invalid_value'.
Definition: test_CEException.cpp:109
test_CEException::runtests
virtual bool runtests()
Run tests.
Definition: test_CEException.cpp:46
test_CEException
Definition: test_CEException.h:27
test_CEException::test_sofa_error
virtual bool test_sofa_error(void)
Try throwing 'CEException::sofa_errcode'.
Definition: test_CEException.cpp:132
test_CEException::test_corr_file_except
virtual bool test_corr_file_except(void)
Try throwing 'CEException::sofa_exception'.
Definition: test_CEException.cpp:182