?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download

  1. #ifndef UNITTEST_TESTDETAILS_H
  2. #define UNITTEST_TESTDETAILS_H
  3.  
  4. #include "HelperMacros.h"
  5.  
  6. namespace UnitTest {
  7.  
  8.    class UNITTEST_LINKAGE TestDetails
  9.    {
  10.    public:
  11.       TestDetails(char const* testName, char const* suiteName, char const* filename, int lineNumber);
  12.       TestDetails(const TestDetails& details, int lineNumber);
  13.  
  14.       char const* const suiteName;
  15.       char const* const testName;
  16.       char const* const filename;
  17.       int const lineNumber;
  18.       mutable bool timeConstraintExempt;
  19.  
  20.       TestDetails(TestDetails const&); // Why is it public? --> http://gcc.gnu.org/bugs.html#cxx_rvalbind
  21.    private:
  22.       TestDetails& operator=(TestDetails const&);
  23.    };
  24.  
  25. }
  26.  
  27. #endif
  28.