14 lines
624 B
C
14 lines
624 B
C
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#define TEST_EQ(Left, Right) TestRunner->TestEqual(TEXT(#Left "==" #Right), Left, Right)
|
|
#define TEST_TRUE(Condition) TestRunner->TestTrue(TEXT(#Condition), Condition)
|
|
#define ADD_ERROR(Error) TestRunner->AddError(Error)
|
|
#define TEST_ERROR(Error) TestRunner->AddExpectedError(Error)
|
|
|
|
#define DO(Cmd) TestCommandBuilder.Do([&]() { Cmd })
|
|
#define START_WHEN(Query) TestCommandBuilder.StartWhen([&]() { Query })
|
|
#define WAIT_DELAY(Duration) TestCommandBuilder.WaitDelay(Duration)
|
|
#define THEN(Cmd) Then([&]() { Cmd })
|
|
#define UNTIL(Query) Until([&]() { Query }) |