ScummVM API documentation
Testbed::FSTestSuite Class Reference
Inheritance diagram for Testbed::FSTestSuite:
Testbed::Testsuite

Public Member Functions

 FSTestSuite ()
 
const char * getName () const override
 
const char * getDescription () const override
 
void enable (bool flag) override
 
- Public Member Functions inherited from Testbed::Testsuite
int getNumTests () const
 
int getNumTestsPassed () const
 
int getNumTestsSkipped () const
 
int getNumTestsFailed () const
 
void genReport () const
 
bool isEnabled () const
 
bool enableTest (const Common::String &testName, bool enable)
 
void reset ()
 
void addTest (const Common::String &name, InvokingFunction f, bool isInteractive=true)
 
virtual void prepare ()
 
virtual void execute ()
 
const Common::Array< Test * > & getTestList ()
 
int getNumTestsEnabled ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Testbed::Testsuite
static bool handleInteractiveInput (const Common::String &textToDisplay, const char *opt1="Yes", const char *opt2="No", OptionSelected result=kOptionLeft)
 
static void displayMessage (const Common::String &textToDisplay, const char *defaultButton="OK")
 
static Common::Rect writeOnScreen (const Common::String &textToDisplay, const Common::Point &pt, bool flag=false)
 
static void clearScreen (const Common::Rect &rect)
 
static void clearEntireScreen ()
 
static void clearScreen ()
 
static void clearScreen (bool flag)
 
static uint parseEvents ()
 
static void logPrintf (MSVC_PRINTF const char *s,...) GCC_PRINTF(1
 
static void static void logDetailedPrintf (MSVC_PRINTF const char *s,...) GCC_PRINTF(1
 
static void static void static Common::Point getDisplayRegionCoordinates ()
 
static uint getLineSeparation ()
 
static void updateStats (const char *prefix, const char *info, uint numTests, uint testNum, Common::Point pt)
 
- Protected Attributes inherited from Testbed::Testsuite
Common::Array< Test * > _testsToExecute
 List of tests to be executed.
 
int _numTestsPassed
 Number of tests passed.
 
int _numTestsExecuted
 Number of tests executed.
 
int _numTestsSkipped
 
bool _isTsEnabled
 

Constructor & Destructor Documentation

◆ FSTestSuite()

Testbed::FSTestSuite::FSTestSuite ( )

The constructor for the FSTestSuite 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 also
addTest()

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