Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
TEACHING-MATERIALS/resources/05_automated_test/01_unit/cpp/runner.cpp
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
43 lines (35 sloc)
1.67 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Generated file, do not edit */ | |
#ifndef CXXTEST_RUNNING | |
#define CXXTEST_RUNNING | |
#endif | |
#define _CXXTEST_HAVE_STD | |
#include <cxxtest/TestListener.h> | |
#include <cxxtest/TestTracker.h> | |
#include <cxxtest/TestRunner.h> | |
#include <cxxtest/RealDescriptions.h> | |
#include <cxxtest/TestMain.h> | |
#include <cxxtest/ErrorPrinter.h> | |
int main( int argc, char *argv[] ) { | |
int status; | |
CxxTest::ErrorPrinter tmp; | |
CxxTest::RealWorldDescription::_worldName = "cxxtest"; | |
status = CxxTest::Main< CxxTest::ErrorPrinter >( tmp, argc, argv ); | |
return status; | |
} | |
bool suite_TestSuiteCxx_init = false; | |
#include "TestSuiteCxx.h" | |
static TestSuiteCxx suite_TestSuiteCxx; | |
static CxxTest::List Tests_TestSuiteCxx = { 0, 0 }; | |
CxxTest::StaticSuiteDescription suiteDescription_TestSuiteCxx( "TestSuiteCxx.h", 7, "TestSuiteCxx", suite_TestSuiteCxx, Tests_TestSuiteCxx ); | |
static class TestDescription_suite_TestSuiteCxx_testAddition1 : public CxxTest::RealTestDescription { | |
public: | |
TestDescription_suite_TestSuiteCxx_testAddition1() : CxxTest::RealTestDescription( Tests_TestSuiteCxx, suiteDescription_TestSuiteCxx, 10, "testAddition1" ) {} | |
void runTest() { suite_TestSuiteCxx.testAddition1(); } | |
} testDescription_suite_TestSuiteCxx_testAddition1; | |
static class TestDescription_suite_TestSuiteCxx_testAddition2 : public CxxTest::RealTestDescription { | |
public: | |
TestDescription_suite_TestSuiteCxx_testAddition2() : CxxTest::RealTestDescription( Tests_TestSuiteCxx, suiteDescription_TestSuiteCxx, 17, "testAddition2" ) {} | |
void runTest() { suite_TestSuiteCxx.testAddition2(); } | |
} testDescription_suite_TestSuiteCxx_testAddition2; | |
#include <cxxtest/Root.cpp> | |
const char* CxxTest::RealWorldDescription::_worldName = "cxxtest"; |