IAutomationReport::EnsureReportExists

Add a child test to the hierarchy, creating internal tree nodes as needed.

Unreal Engine C++ API Reference > Developer > AutomationController > IAutomationReport

References

   
Module AutomationController
Header /Engine/Source/Developer/AutomationController/Public/IAutomationReport.h
Include #include "IAutomationReport.h"
[TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [IAutomationReport](API\Developer\AutomationController\IAutomationReport) > EnsureReportExists
(
    [FAutomationTestInfo](API\Runtime\Core\Misc\FAutomationTestInfo) & TestInfo,
    const int32 ClusterIndex,
    const int32 NumPasses
)

Remarks

Add a child test to the hierarchy, creating internal tree nodes as needed. If NewTestName is Editor.Maps.Loadall.TestName, this will create nodes for Editor, Maps, Loadall, and then a leaf node for the test name with the associated command line The automation report.

Parameters

Name Description
TestInfo Structure containing all the test info.
ClusterIndex Index of the platform reporting the results of this test. See AutomationDeviceClusterManager.
NumPasses The number of passes we are going to perform. Used to make sure we have enough results..

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library