#include <test_suite.h>


Classes | |
| struct | Config |
| Runtime configuration for TestSuites. More... | |
Public Member Functions | |
| TestSuite (TestHost &host, std::string output_dir, std::string suite_name, const Config &config) | |
| const std::string & | Name () const |
| virtual void | Initialize () |
| Called to initialize the test suite. | |
| virtual void | Deinitialize () |
| Called to tear down the test suite. | |
| virtual void | SetupTest () |
| Called before running an individual test within this suite. | |
| virtual void | TearDownTest () |
| Called after running an individual test within this suite. | |
| void | DisableTests (const std::set< std::string > &tests_to_skip) |
| std::vector< std::string > | TestNames () const |
| bool | HasEnabledTests () const |
| void | Run (const std::string &test_name) |
| void | RunAll () |
Protected Member Functions | |
| TestHost::ProfileResults | Profile (const std::string &test_name, uint32_t num_iterations, const std::function< void(void)> &body) const |
| Runs the given body function a number of times and calculates profiling information. | |
| void | SetDefaultTextureFormat () const |
Protected Attributes | |
| TestHost & | host_ |
| std::string | output_dir_ |
| std::string | suite_name_ |
| std::map< std::string, std::function< void(void)> > | tests_ {} |
Base class for all test suites.
|
inlinevirtual |
Called to tear down the test suite.
Reimplemented in HighVertexCountTests, and VertexBufferAllocationTests.
|
virtual |
Called to initialize the test suite.
Reimplemented in HighVertexCountTests, and VertexBufferAllocationTests.