Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FScopedTestEnvironment
Description
Returns a shared pointer to current instance of the scoped test environment. Will create an instance if current instance is invalid.
| Name | Get |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Tests/AutomationCommon.h |
| Include Path | #include "Tests/AutomationCommon.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Tests/AutomationCommon.cpp |
static TSharedPtr < FScopedTestEnvironment > Get()
the shared pointer to the instance