ElmerFoamFSI  2.0
ElmerFoamFSI is fluid-solid interaction simulation application built up from OpenFOAM CFD and Elmer CSM coupled through the IMPACT multiphysics software integration infrastructure.
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros Groups Pages
virtual void RunTest ( const std::string &  name,
ResultsType &  result 
)
inlinevirtual

Runs a test specified by name.

Parameters
nameString name of the test to run.
resultElmerModuleDriver::TestResults object to store test results.

Definition at line 1119 of file ElmerModuleDriverTest.H.

References TestingObject< ResultsType >::Epilogue(), TestingObject< ResultsType >::Prologue(), TestingObject< ResultsType >::Test__ElasticBeam3D_LoadFunction(), TestingObject< ResultsType >::Test__ElmerUnitTests(), TestingObject< ResultsType >::Test__ExampleFunction(), TestingObject< ResultsType >::Test__MidPointQuadrature(), and TestingObject< ResultsType >::Test__TrapezoidQuadrature().

Referenced by TestingObject< ResultsType >::ProcessTests(), and ElmerModuleDriver::Test().

1120  {
1121  Prologue();
1122  if(name == "ExampleFunction")
1123  Test__ExampleFunction(result);
1124  else if(name == "TrapezoidQuadrature")
1125  Test__TrapezoidQuadrature(result);
1126  else if(name == "MidPointQuadrature")
1127  Test__MidPointQuadrature(result);
1128  else if(name == "ElmerUnitTests")
1129  Test__ElmerUnitTests(result);
1130  else if(name == "ElasticBeam3D_LoadFunction")
1132  Epilogue();
1133  }
virtual void Test__ExampleFunction(ResultsType &result)
Test for ElmerModuleDriver::ExampleFunction.
virtual void Test__ElasticBeam3D_LoadFunction(ResultsType &result)
virtual void Epilogue()
Tears down the testing fixtures if needed.
virtual void Test__MidPointQuadrature(ResultsType &result)
Test for ElmerModuleDriver::MidPointQuadrature.
virtual void Test__ElmerUnitTests(ResultsType &result)
virtual void Test__TrapezoidQuadrature(ResultsType &result)
Test for ElmerModuleDriver::TrapezoidQuadrature.
virtual void Prologue()
Sets up the data fixtures for the tests.

Here is the call graph for this function:

Here is the caller graph for this function: