SDOM - Simple SDL Document Object Model
A lightweight, extensible Document Object Model for SDL-based applications.
|
Interface for unit testing objects in SDOM. More...
#include <SDOM_IUnitTest.hpp>
Public Member Functions | |
virtual bool | onUnitTest ()=0 |
Runs unit tests for this object. | |
Interface for unit testing objects in SDOM.
Provides a standardized method for running unit tests on objects that implement this interface. Classes implementing this interface should define the onUnitTest method to perform their specific tests.
Example usage:
|
pure virtual |
Runs unit tests for this object.
Implemented in SDOM::IDisplayObject, SDOM::AssetHandle, SDOM::Core, SDOM::DisplayHandle, SDOM::Factory, SDOM::IAssetObject, SDOM::IDataObject, SDOM::Label, SDOM::SpriteSheet, SDOM::Stage, SDOM::Texture, SDOM::TristateButton, and SDOM::TTFAsset.