Runs a collection of test cases.
More...
Runs a collection of test cases.
A MQLUNIT_TestSuite is a Composite of MQLUNIT_Test.
Example usage:
suite.
addTest(
new MyFirstTestCase());
suite.
addTest(
new MySecondTestCase());
suite.
addTest(
new MyThirdTestCase());
- See also
- MQLUNIT_Test
-
MQLUNIT_TestCase
-
MQLUNIT_TestResult
◆ MQLUNIT_TestSuite() [1/2]
MQLUNIT_TestSuite::MQLUNIT_TestSuite |
( |
| ) |
|
|
inline |
Constructor : creates a test suite using a class name as a test suite name.
◆ MQLUNIT_TestSuite() [2/2]
MQLUNIT_TestSuite::MQLUNIT_TestSuite |
( |
const string |
name | ) |
|
|
inline |
Constructor : creates a test suite with a provided suite name.
- Parameters
-
◆ ~MQLUNIT_TestSuite()
virtual MQLUNIT_TestSuite::~MQLUNIT_TestSuite |
( |
| ) |
|
|
inlinevirtual |
◆ addTest()
virtual void MQLUNIT_TestSuite::addTest |
( |
MQLUNIT_Test * |
test | ) |
|
|
inlinevirtual |
Add a test to this test suite.
- Parameters
-
test | : a test to add to this test suite |
◆ run()
Runs the test suite.
- Parameters
-
result | : collects the results of executing a test suite |
inherited | : set to true to tell the test it has been inherited from and is run by a child test |
- See also
- MQLUNIT_TestResult
Implements MQLUNIT_Test.
The documentation for this class was generated from the following file: