NRE_InternalTest.hpp
Go to the documentation of this file.
1 
10  #pragma once
11 
12  #include <string>
13 
18  namespace NRE {
23  namespace Tester {
28  class InternalTest {
29  private : // Fields
30  std::string testCase;
31  std::string testName;
33  public : // Methods
34  //## Constructor ##//
40  InternalTest(std::string const& c, std::string const& n);
41 
42  //## Getter ##//
46  std::string const& getTestCase() const;
50  std::string const& getTestName() const;
54  std::string getDetails() const;
55 
56  //## Methods ##//
60  virtual void internalTestBody() const = 0;
61  };
62  }
63  }
Tester&#39;s API.
std::string const & getTestCase() const
Definition: NRE_InternalTest.cpp:20
Describe an internal test used to register a user test inside the suite.
Definition: NRE_InternalTest.hpp:28
virtual void internalTestBody() const =0
std::string const & getTestName() const
Definition: NRE_InternalTest.cpp:24
std::string getDetails() const
Definition: NRE_InternalTest.cpp:28
The NearlyRealEngine&#39;s global namespace.
Definition: NRE_InternalTest.cpp:13
InternalTest(std::string const &c, std::string const &n)
Definition: NRE_InternalTest.cpp:16