Files
UnrealEngineUWP/Engine/Source/Runtime/AutomationWorker
jerome delattre 4dcbf3ce0c Introduce OnEnteringTestSectionEvent, OnLeavingTestSectionEvent
Called when entering and leaving test section.
ie:
For a test named MyTest.Log.Validation.TestTrue
These will be called through OnEnteringTestSectionEvent before any test of the corresponding section is executed:
- MyTest
- MyTest.Log
- MyTest.Log.Validation
And the corresponding one when leaving the section after execution.
One can register a callback this way:
 FAutomationTestFramework::Get().GetOnEnteringTestSection(TEXT("MyTest.Log")).AddRaw(this, &FMyModule::MySectionCallback);
As first argument the name of the section is passed.

#rb Sebastian.Lewicki

[CL 29323495 by jerome delattre in ue5-main branch]
2023-11-01 13:22:44 -04:00
..