Navigation
API > API/Runtime > API/Runtime/Core
| Name | FAutomationExpectedMessage |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/AutomationTest.h |
| Include Path | #include "Misc/AutomationTest.h" |
Syntax
struct FAutomationExpectedMessage
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAutomationExpectedMessage
(
FString& InMessagePattern, |
Misc/AutomationTest.h | ||
FAutomationExpectedMessage
(
FString& InMessagePattern, |
Constructor | Misc/AutomationTest.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActualNumberOfOccurrences | int32 | Misc/AutomationTest.h | ||
| CompareType | EAutomationExpectedMessageFlags::MatchType | Type of comparison to perform on error log using MessagePattern. | Misc/AutomationTest.h | |
| ExpectedNumberOfOccurrences | int32 | Number of occurrences expected for message. | Misc/AutomationTest.h | |
| MessagePatternRegex | TOptional< FRegexPattern > | Regular expression pattern from MessagePatternString if regex option was true(default), otherwise it is not set. | Misc/AutomationTest.h | |
| MessagePatternString | FString | Original string pattern matching expected log message. | Misc/AutomationTest.h | |
| Verbosity | ELogVerbosity::Type | Log message Verbosity. | Misc/AutomationTest.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsExactCompareType() |
Misc/AutomationTest.h | ||
bool IsRegex() |
Misc/AutomationTest.h | ||
bool Matches
(
const FString& Message |
Look if Message matches the expected message and increment internal counter if true. | Misc/AutomationTest.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FAutomationExpectedMessage& Other |
Misc/AutomationTest.h |