UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TestHarnessAdapter.h File Reference

Go to the source code of this file.

Macros

#define CHECK_AND_SET_ERROR_ON_FAIL(What, Value, Error)
 

Macro Definition Documentation

◆ CHECK_AND_SET_ERROR_ON_FAIL

#define CHECK_AND_SET_ERROR_ON_FAIL (   What,
  Value,
  Error 
)
Value:
do { \
Error = Error || (!(Value)); \
} while (false)
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127

Common test harness include file. Use this with tests that can be run as both low level tests or functional tests. The two types of frameworks are as follows:

  • Low level tests using Catch2, generates a monolithic test application, built separate
  • UE legacy test automation framework, tests are built into the target executable