MCPcopy Create free account
hub / github.com/MITK/MITK / frame005a

Function frame005a

Modules/CppMicroServices/test/usModuleTest.cpp:100–109  ·  view source on GitHub ↗

Verify information from the ModuleInfo struct

Source from the content-addressed store, hash-verified

98
99// Verify information from the ModuleInfo struct
100void frame005a(ModuleContext* mc)
101{
102 Module* m = mc->GetModule();
103
104 // check expected headers
105
106 US_TEST_CONDITION("main" == m->GetName(), "Test module name")
107 US_TEST_CONDITION(ModuleVersion(0,1,0) == m->GetVersion(), "Test test driver module version")
108 US_TEST_CONDITION(ModuleVersion(0, 0, 0) == ModuleRegistry::GetModule(1)->GetVersion(), "Test CppMicroServices version")
109}
110
111// Get context id, location and status of the module
112void frame010a(ModuleContext* mc)

Callers 1

usModuleTestFunction · 0.85

Calls 3

GetVersionMethod · 0.80
GetModuleMethod · 0.45
GetNameMethod · 0.45

Tested by

no test coverage detected