Files
chris constantinescu 7859a6cdb4 Catch2 feature introduced: test groups and group events at global, group and test group before/after levels
#preflight 636ab505450be1d9f83e90e4
#rb Jerome.Delattre

[CL 23039159 by chris constantinescu in ue5-main branch]
2022-11-08 16:02:46 -05:00

24 lines
449 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "TestCommon/CoreUtilities.h"
#include "TestCommon/CoreUObjectUtilities.h"
#include <catch2/catch_test_macros.hpp>
GROUP_BEFORE_GLOBAL(Catch::DefaultGroup)
{
InitTaskGraph();
InitThreadPool(true);
#if WITH_COREUOBJECT
InitCoreUObject();
#endif
}
GROUP_AFTER_GLOBAL(Catch::DefaultGroup)
{
#if WITH_COREUOBJECT
CleanupCoreUObject();
#endif
CleanupThreadPool();
CleanupTaskGraph();
}