Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitk::mitkModelTestFixture Class Reference

#include <mitkModelTestFixture.h>

Inheritance diagram for mitk::mitkModelTestFixture:
Collaboration diagram for mitk::mitkModelTestFixture:

Static Public Member Functions

static json ParseJSONFile (const std::string path)
 
static ModelBase::ParametersType ParseTestParameters (const json modelValues_json_obj)
 
static ModelBase::StaticParameterMapType ParseStaticParameters (const json profile_json_obj, const json modelValues_json_obj)
 
static void SetStaticParametersForTest (mitk::ModelBase::Pointer testmodel, const json profile_json_obj, const json modelValues_json_obj)
 
static void CompareModelAndReferenceProfile (const mitk::ModelBase::Pointer testmodel, const json profile_json_obj)
 
static void CompareModelAndReferenceSignal (mitk::ModelBase::Pointer testmodel, const json modelValues_json_obj, const json profile_json_obj)
 
static void CompareModelAndReferenceDerivedParameters (const mitk::ModelBase::Pointer testmodel, json modelValues_json_obj)
 

Additional Inherited Members

- Protected Member Functions inherited from mitk::TestFixture
std::vector< std::string > GetTestParameter () const
 Get parameters for this test fixture. More...
 
- Static Protected Member Functions inherited from mitk::TestFixture
static std::string GetTestDataFilePath (const std::string &testData)
 Get the absolute path for test data. More...
 

Detailed Description

Definition at line 33 of file mitkModelTestFixture.h.

Member Function Documentation

◆ CompareModelAndReferenceDerivedParameters()

static void mitk::mitkModelTestFixture::CompareModelAndReferenceDerivedParameters ( const mitk::ModelBase::Pointer  testmodel,
json  modelValues_json_obj 
)
inlinestatic

Definition at line 163 of file mitkModelTestFixture.h.

References mitk::Equal(), and ParseTestParameters().

◆ CompareModelAndReferenceProfile()

static void mitk::mitkModelTestFixture::CompareModelAndReferenceProfile ( const mitk::ModelBase::Pointer  testmodel,
const json  profile_json_obj 
)
inlinestatic

Definition at line 91 of file mitkModelTestFixture.h.

◆ CompareModelAndReferenceSignal()

static void mitk::mitkModelTestFixture::CompareModelAndReferenceSignal ( mitk::ModelBase::Pointer  testmodel,
const json  modelValues_json_obj,
const json  profile_json_obj 
)
inlinestatic

◆ ParseJSONFile()

static json mitk::mitkModelTestFixture::ParseJSONFile ( const std::string  path)
inlinestatic

Definition at line 36 of file mitkModelTestFixture.h.

References mitk::TestFixture::GetTestDataFilePath(), and MITK_ERROR.

◆ ParseStaticParameters()

static ModelBase::StaticParameterMapType mitk::mitkModelTestFixture::ParseStaticParameters ( const json  profile_json_obj,
const json  modelValues_json_obj 
)
inlinestatic

Definition at line 67 of file mitkModelTestFixture.h.

Referenced by SetStaticParametersForTest().

◆ ParseTestParameters()

static ModelBase::ParametersType mitk::mitkModelTestFixture::ParseTestParameters ( const json  modelValues_json_obj)
inlinestatic

◆ SetStaticParametersForTest()

static void mitk::mitkModelTestFixture::SetStaticParametersForTest ( mitk::ModelBase::Pointer  testmodel,
const json  profile_json_obj,
const json  modelValues_json_obj 
)
inlinestatic

Definition at line 84 of file mitkModelTestFixture.h.

References ParseStaticParameters().

Referenced by CompareModelAndReferenceSignal().


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