OTest2
A C++ testing framework
suite.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018 Ondrej Starek
3  *
4  * This file is part of OTest2.
5  *
6  * OTest2 is free software: you can redistribute it and/or modify it under
7  * the terms of the GNU Lesser General Public License as published by
8  * the Free Software Foundation, either version 3 of the License,
9  * or (at your option) any later version.
10  *
11  * OTest2 is distributed in the hope that it will be useful, but WITHOUT
12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
14  * License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public License
17  * along with OTest2. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef OTest2INCLUDE_SUITE_H_
21 #define OTest2INCLUDE_SUITE_H_
22 
23 #include <otest2/objectscenario.h>
24 
25 namespace OTest2 {
26 
27 class Context;
28 
32 class Suite : public ObjectScenario {
33  public:
37  Suite();
38 
42  virtual ~Suite();
43 
44  /* -- avoid copying */
45  Suite(
46  const Suite&) = delete;
48  const Suite&) = delete;
49 };
50 
51 } /* -- namespace OTest2 */
52 
53 #endif /* -- OTest2INCLUDE_SUITE_H_ */
objectscenario.h
OTest2::ObjectScenario
Inteface of a testing object scheduled by the scenario (test, suite and test case)
Definition: objectscenario.h:37
OTest2
Definition: assertbean.h:25
OTest2::Suite
Suite interface.
Definition: suite.h:32
OTest2::Suite::~Suite
virtual ~Suite()
Dtor.
Definition: suite.cpp:27
OTest2::Suite::Suite
Suite()
Ctor.
Definition: suite.cpp:23
OTest2::Suite::operator=
Suite & operator=(const Suite &)=delete