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 EAutomationTestFlags::EditorContext | EAutomationTestFlags::EngineFilter)
47
48bool FMjLevelOpsImportXmlRegistered::RunTest(const FString& Parameters)
49{
50 TestTrue(TEXT("import_xml is in the editor-only op set"),
51 URLabOpRegistry::IsEditorOnlyOp(TEXT("import_xml")));
52 auto Handler = URLabOpRegistry::GetHandler(TEXT("import_xml"));
53 TestTrue(TEXT("import_xml handler installed by URLabEditor module"),
54 static_cast<bool>(Handler));
55 return true;
56}
57
58// ---------------------------------------------------------------------------
59// 2. ImportXmlSync: end-to-end import of a minimal MJCF returns a

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