MCPcopy Create free account
hub / github.com/URLab-Sim/UnrealRoboticsLab / RunTest

Method RunTest

Source/URLabEditor/Private/Tests/MjLevelOpsTests.cpp:48–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 "URLab.LevelOps.ImportXmlRegistered",
47 EAutomationTestFlags::EditorContext | EAutomationTestFlags::EngineFilter)
48
49bool FMjLevelOpsImportXmlRegistered::RunTest(const FString& Parameters)
50{
51 TestTrue(TEXT("import_xml is in the editor-only op set"),
52 URLabOpRegistry::IsEditorOnlyOp(TEXT("import_xml")));
53 auto Handler = URLabOpRegistry::GetHandler(TEXT("import_xml"));
54 TestTrue(TEXT("import_xml handler installed by URLabEditor module"),
55 static_cast<bool>(Handler));
56 return true;
57}
58
59// ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 15

IsEditorOnlyOpFunction · 0.85
GetHandlerFunction · 0.85
WriteScratchMjcfFunction · 0.85
ImportXmlSyncFunction · 0.85
ResolveLevelPathFunction · 0.85
CreateLevelSyncFunction · 0.85
LoadLevelSyncFunction · 0.85
SaveCurrentLevelSyncFunction · 0.85
SpawnActorSyncFunction · 0.85
DestroyActorSyncFunction · 0.85
SpawnLightSyncFunction · 0.85
SetActorTransformSyncFunction · 0.85

Tested by

no test coverage detected