12#include "CoreMinimal.h"
13#include "WSSettings.h"
14#include "WSEditorTestClass.generated.h"
16DECLARE_LOG_CATEGORY_EXTERN(LogWS_Editor_TESTS, All, All);
21UCLASS(Blueprintable, BlueprintType)
40 UFUNCTION(BlueprintCallable, Category =
"Test Editor")
41 void PerformAllTests();
46 void LogTestResult(FString TestName,
bool bDidTestPass,
bool bPlaceNewlineAfter);
53 bool TestVerifyWidgetStudioInCookDirs();
59 bool TestRemoveWidgetStudioFromCookDirs();
66 bool TestUpdateTheme();
73 bool TestUpdateIconSet();
80 bool TestUpdateTypography();
87 bool TestUpdateBorderRadius();
94 bool TestUpdateControlDimensions();
101 bool TestThemePreservedWhenNewCreated();
113 bool SaveAsset(UPackage* AssetPackage, UObject* CreatedAsset, FString AssetName, UClass* Class);
118 TSoftObjectPtr<UWidgetStudioTheme> NordDarkTheme;
119 TSoftObjectPtr<UWidgetStudioTheme> NordLightTheme;
120 TSoftObjectPtr<UWidgetStudioIconSet> DefaultIconSet;
121 TSoftObjectPtr<UWidgetStudioIconSet> TestIconSet;
122 TSoftObjectPtr<UWidgetStudioTypography> OpenSansTypography;
123 TSoftObjectPtr<UWidgetStudioTypography> TestTypography;