Predefined File Templates for Unreal Engine
This topic lists all predefined file templates for Unreal Engine in JetBrains Rider 2023.2. For more information about file templates, refer to Create files from templates.
Template | Details |
---|---|
| Complex Test Scope Unreal projects Body #include "Misc/AutomationTest.h"
IMPLEMENT_COMPLEX_AUTOMATION_TEST($CLASS_NAME$, "$NAMESPACE$.$SELSTART$$CLASS_NAME$$SELEND$", EAutomationTestFlags::EditorContext | EAutomationTestFlags::EngineFilter)
void $CLASS_NAME$::GetTests(TArray<FString>& OutBeautifiedNames, TArray <FString>& OutTestCommands) const
{
$END$
}
bool $CLASS_NAME$::RunTest(const FString& Parameters)
{
return true;
} Parameters
|
| Simple Test Scope Unreal projects Body #include "Misc/AutomationTest.h"
IMPLEMENT_SIMPLE_AUTOMATION_TEST($CLASS_NAME$, "$NAMESPACE$.$SELSTART$$CLASS_NAME$$SELEND$", EAutomationTestFlags::EditorContext | EAutomationTestFlags::EngineFilter)
bool $CLASS_NAME$::RunTest(const FString& Parameters)
{
// Make the test pass by returning true, or fail by returning false.
return true;
} Parameters
|