add Chapter 15 - runtime observer implementation
This commit is contained in:
27
Chapter15/observer/libs/etl/test/UnitTest++/TestDetails.h
Normal file
27
Chapter15/observer/libs/etl/test/UnitTest++/TestDetails.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef UNITTEST_TESTDETAILS_H
|
||||
#define UNITTEST_TESTDETAILS_H
|
||||
|
||||
#include "HelperMacros.h"
|
||||
|
||||
namespace UnitTest {
|
||||
|
||||
class UNITTEST_LINKAGE TestDetails
|
||||
{
|
||||
public:
|
||||
TestDetails(char const* testName, char const* suiteName, char const* filename, int lineNumber);
|
||||
TestDetails(const TestDetails& details, int lineNumber);
|
||||
|
||||
char const* const suiteName;
|
||||
char const* const testName;
|
||||
char const* const filename;
|
||||
int const lineNumber;
|
||||
mutable bool timeConstraintExempt;
|
||||
|
||||
TestDetails(TestDetails const&); // Why is it public? --> http://gcc.gnu.org/bugs.html#cxx_rvalbind
|
||||
private:
|
||||
TestDetails& operator=(TestDetails const&);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user