// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "Misc/AutomationTest.h" bool DoesEventExist(FAutomationTestBase& TestRunner, const FAutomationEvent& Event); // When testing the framework, occasionally we need the error to live on the test framework // for short-circuiting logic. We use this method to manually clear the error // (Normally from AFTER_EACH) to cause the test to pass void ClearExpectedErrors(FAutomationTestBase& TestRunner, const TArray& ExpectedErrors); void ClearExpectedError(FAutomationTestBase& TestRunner, const FString& ExpectedError); void ClearExpectedWarnings(FAutomationTestBase& TestRunner, const TArray& ExpectedWarnings); void ClearExpectedWarning(FAutomationTestBase& TestRunner, const FString& ExpectedWarning);