From 1cdd3d613b7ba0864fa861c4206c5d0a96c5dc9c Mon Sep 17 00:00:00 2001 From: Ramon Janousch Date: Fri, 29 May 2020 07:24:56 +0200 Subject: [PATCH] Fetched original version. --- .../DaedalicTestAutomationPlugin.uplugin | 2 +- .../DaeTestAssertBlueprintFunctionLibrary.cpp | 294 ++++++++++++++++++ 2 files changed, 295 insertions(+), 1 deletion(-) diff --git a/DaedalicTestAutomationPlugin/DaedalicTestAutomationPlugin.uplugin b/DaedalicTestAutomationPlugin/DaedalicTestAutomationPlugin.uplugin index ed98702..51747e4 100644 --- a/DaedalicTestAutomationPlugin/DaedalicTestAutomationPlugin.uplugin +++ b/DaedalicTestAutomationPlugin/DaedalicTestAutomationPlugin.uplugin @@ -8,7 +8,7 @@ "CreatedBy": "Daedalic Entertainment GmbH", "CreatedByURL": "https://www.daedalic.com/", "DocsURL": "https://github.com/DaedalicEntertainment/ue4-test-automation", - "EngineVersion": "4.23.0", + "EngineVersion": "4.25.0", "MarketplaceURL": "", "SupportURL": "https://github.com/DaedalicEntertainment/ue4-test-automation/issues", "EnabledByDefault": false, diff --git a/DaedalicTestAutomationPlugin/Source/DaedalicTestAutomationPlugin/Private/DaeTestAssertBlueprintFunctionLibrary.cpp b/DaedalicTestAutomationPlugin/Source/DaedalicTestAutomationPlugin/Private/DaeTestAssertBlueprintFunctionLibrary.cpp index d741b97..3c453ae 100644 --- a/DaedalicTestAutomationPlugin/Source/DaedalicTestAutomationPlugin/Private/DaeTestAssertBlueprintFunctionLibrary.cpp +++ b/DaedalicTestAutomationPlugin/Source/DaedalicTestAutomationPlugin/Private/DaeTestAssertBlueprintFunctionLibrary.cpp @@ -124,6 +124,258 @@ void UDaeTestAssertBlueprintFunctionLibrary::AssertWasNotTriggered( } } +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualByte(uint8 Actual, uint8 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualByte(uint8 Actual, uint8 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualByte(uint8 Actual, uint8 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualByte(uint8 Actual, uint8 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualByte(uint8 Actual, uint8 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualByte(uint8 Actual, uint8 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualByte(uint8 Actual, uint8 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualByte(uint8 Actual, uint8 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualByte(uint8 Actual, uint8 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualByte(uint8 Actual, uint8 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualByte(uint8 Actual, uint8 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualByte(uint8 Actual, uint8 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualByte(uint8 Actual, uint8 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualByte(uint8 Actual, uint8 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualByte(uint8 Actual, uint8 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualByte(uint8 Actual, uint8 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualByte(uint8 Actual, uint8 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualByte(uint8 Actual, uint8 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualByte(uint8 Actual, uint8 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualByte(uint8 Actual, uint8 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualByte(uint8 Actual, uint8 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualByte(uint8 Actual, uint8 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualByte(uint8 Actual, uint8 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualByte(uint8 Actual, uint8 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualByte(uint8 Actual, uint8 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualByte(uint8 Actual, uint8 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualByte(uint8 Actual, uint8 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualByte(uint8 Actual, uint8 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualByte(uint8 Actual, uint8 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualByte(uint8 Actual, uint8 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualByte(uint8 Actual, uint8 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualByte(uint8 Actual, uint8 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualByte(uint8 Actual, uint8 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualByte(uint8 Actual, uint8 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualByte(uint8 Actual, uint8 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualByte(uint8 Actual, uint8 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + void UDaeTestAssertBlueprintFunctionLibrary::AssertCompareByte(uint8 First, EDaeTestComparisonMethod ShouldBe, uint8 Second, const FString& What, @@ -132,6 +384,48 @@ void UDaeTestAssertBlueprintFunctionLibrary::AssertCompareByte(uint8 First, AssertCompare(Context, What, First, ShouldBe, Second); } +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualInt32(int32 Actual, int32 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualInt32(int32 Actual, int32 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualInt32(int32 Actual, int32 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualInt32(int32 Actual, int32 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertEqualInt32(int32 Actual, int32 Expected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertEqual(Context, What, Actual, Expected); +} + +void UDaeTestAssertBlueprintFunctionLibrary::AssertNotEqualInt32(int32 Actual, int32 Unexpected, + const FString& What, + UObject* Context /*= nullptr*/) +{ + AssertNotEqual(Context, What, Actual, Unexpected); +} + void UDaeTestAssertBlueprintFunctionLibrary::AssertCompareInt32(int32 First, EDaeTestComparisonMethod ShouldBe, int32 Second, const FString& What,