Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
Gray::cUnitTest Class Referenceabstract

#include <cUnitTest.h>

Inheritance diagram for Gray::cUnitTest:
Gray::cUnitTestCur

Public Member Functions

 cUnitTest ()
 
virtual ~cUnitTest () noexcept(false)
 
const FILECHAR_tget_TestInpDir () const
 
virtual void RunUnitTest ()=0
 Run the test. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Gray::cUnitTestCur
static bool __stdcall TestTypes ()
 
- Static Public Attributes inherited from Gray::cUnitTestCur
static int sm_nCreatedUnitTests = 0
 Count the cUnitTest objects I have created. NOT just m_aUnitTests. More...
 
static const FILECHAR_tk_TestFiles = _FN("TestFiles")
 
static const StrLen_t k_TEXTBLOB_LEN = 566
 StrT::Len(k_sTextBlob) = 0x236. More...
 
static const cStrConst k_sTextBlob
 a single allocated k_TEXTBLOB_LEN+1 More...
 
static const StrLen_t k_TEXTLINES_QTY = 18
 STRMAX= _countof(k_asTextLines)-1. More...
 
static const cStrConst k_asTextLines [k_TEXTLINES_QTY+1]
 nullptr terminated array of lines of text. More...
 

Detailed Description

a unit test for a specific type of thing. attached to a cOSModImpl Similar to something like: JUnit/CppUnit, Boost.Test or CxxTest. Similar to "::Microsoft::VisualStudio::CppUnitTestFramework::TestClass<className>"

Note
All unit tests should be allowed to run in something like release mode! or be compiled out.

Constructor & Destructor Documentation

◆ cUnitTest()

Gray::cUnitTest::cUnitTest ( )

◆ ~cUnitTest()

Gray::cUnitTest::~cUnitTest ( )
virtualnoexcept

Member Function Documentation

◆ get_TestInpDir()

const FILECHAR_t * Gray::cUnitTest::get_TestInpDir ( ) const

◆ RunUnitTest()

virtual void Gray::cUnitTest::RunUnitTest ( )
pure virtual

Run the test.


The documentation for this class was generated from the following files: