Skip to content

Commit

Permalink
Add: Functional Test
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Dec 10, 2023
1 parent 2b04b6f commit 16d2981
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ bool FFuntionalTestSyncVersion::RunTest(const FString& Parameters)
// Generate RST documents.
bool bSuccess;
FString ErrorMessage;
UBlueprintToRSTDocBPLibrary::GenerateRSTDoc(OutputDirectory, {"ChaosNiagara", "Engine", "DatasmithContent", "Niagara"}, bSuccess, ErrorMessage);
UBlueprintToRSTDocBPLibrary::GenerateRSTDoc(
OutputDirectory, {"ChaosNiagara", "Engine", "DatasmithContent", "Niagara"}, bSuccess, ErrorMessage);
if (!bSuccess)
{
UE_LOG(LogTemp, Error, TEXT("%s"), *ErrorMessage);
Expand All @@ -49,7 +50,8 @@ bool FFuntionalTestSyncVersion::RunTest(const FString& Parameters)

if (ExpectedFiles.Num() != ActualFiles.Num())
{
UE_LOG(LogTemp, Error, TEXT("Number of Files is not matched: %d (Expected) vs %d (Actual)"), ExpectedFiles.Num(), ActualFiles.Num());
UE_LOG(LogTemp, Error, TEXT("Number of Files is not matched: %d (Expected) vs %d (Actual)"), ExpectedFiles.Num(),
ActualFiles.Num());
return 1;
}

Expand Down

0 comments on commit 16d2981

Please sign in to comment.