#include <DataEngineTestCreation.h>
Helper for writing DataEngine tests. More...
Helper for writing DataEngine tests.
Public Attributes | |
Engine::SPtr | m_engine |
the real tested engine More... | |
DataEngineType::SPtr | m_engineInput |
an other identical engine, where only inputs are used (not the engine itself). It is an easy way to create all inputs of the right type, to be able to link with them. More... | |
Public Attributes inherited from sofa::testing::BaseTest | |
sofa::testing::MessageAsTestFailure | m_fatal |
sofa::testing::MessageAsTestFailure | m_error |
Public Member Functions | |
DataEngine_test () | |
virtual void | init () |
void | run_basic_test () |
Public Member Functions inherited from sofa::testing::BaseTest | |
BaseTest () | |
Initialize Sofa and the random number generator. More... | |
~BaseTest () override | |
virtual void | onSetUp () |
virtual void | onTearDown () |
Additional Inherited Members | |
Static Public Attributes inherited from sofa::testing::BaseTest | |
static int | seed = (unsigned int)time(nullptr) |
Seed value. More... | |
Engine::SPtr sofa::DataEngine_test< DataEngineType >::m_engine |
the real tested engine
DataEngineType::SPtr sofa::DataEngine_test< DataEngineType >::m_engineInput |
an other identical engine, where only inputs are used (not the engine itself). It is an easy way to create all inputs of the right type, to be able to link with them.
|
inline |
|
inlinevirtual |
|
inline |
Testing the number of call to the DataEngine::update() function