Navigation
API > API/Developer > API/Developer/FunctionalTesting > API/Developer/FunctionalTesting/UAutomationBlueprintFunctionLibr-
Description
Mute the report of log error and warning matching a pattern during an automated test. Treat the pattern as regex by default.
| Name | AddExpectedLogError |
| Type | function |
| Header File | /Engine/Source/Developer/FunctionalTesting/Public/AutomationBlueprintFunctionLibrary.h |
| Include Path | #include "AutomationBlueprintFunctionLibrary.h" |
| Source | /Engine/Source/Developer/FunctionalTesting/Private/AutomationBlueprintFunctionLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Automation",
Meta=(AdvancedDisplay="Occurrences, ExactMatch, IsRegex"))
static void AddExpectedLogError
(
FString ExpectedPatternString,
int32 Occurrences,
bool ExactMatch,
bool IsRegex
)
Parameters
| Name | Remarks |
|---|---|
| ExpectedPatternString | Expects a Regex pattern. |