mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
37 lines
682 B
C
37 lines
682 B
C
|
#ifndef TEMPLATE_H
|
||
|
#define TEMPLATE_H
|
||
|
|
||
|
#include "testbed/testsuite.h"
|
||
|
|
||
|
// This file can be used as template for header files of other newer testsuites.
|
||
|
|
||
|
namespace Testbed {
|
||
|
|
||
|
namespace XXXtests {
|
||
|
|
||
|
// Helper functions for XXX tests
|
||
|
|
||
|
// will contain function declarations for XXX tests
|
||
|
// add more here
|
||
|
}
|
||
|
|
||
|
class XXXTestSuite : public Testsuite {
|
||
|
public:
|
||
|
/**
|
||
|
* The constructor for the XXXTestSuite
|
||
|
* For every test to be executed one must:
|
||
|
* 1) Create a function that would invoke the test
|
||
|
* 2) Add that test to list by executing addTest()
|
||
|
*
|
||
|
* @see addTest()
|
||
|
*/
|
||
|
XXXTestSuite();
|
||
|
~XXXTestSuite(){}
|
||
|
const char *getName() const;
|
||
|
|
||
|
};
|
||
|
|
||
|
} // End of namespace Testbed
|
||
|
|
||
|
#endif
|