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