Navigation
API > API/Plugins > API/Plugins/InterchangeTests
References
| Module | InterchangeTests |
| Header | /Engine/Plugins/Tests/InterchangeTests/Source/InterchangeTests/Public/InterchangeTestFunction.h |
| Include | #include "InterchangeTestFunction.h" |
Syntax
USTRUCT ()
struct FInterchangeTestFunction
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSubclassOf< UObject > | AssetClass | Type of the asset being tested | |
| TObjectPtr< UFunction > | CheckFunction | A function to be called to determine whether the result is correct | |
| FString | OptionalAssetName | Optional name of the asset to test, if there are various contenders | |
| TMap< FName, FString > | Parameters | Parameters and their bound values as text |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Export parameter data from binary to text | ||
| TArray< UClass * > | Return a list of the supported asset classes | ||
| TArray< UFunction * > | GetAvailableFunctions
(
const UClass* Class |
Return a list of available functions which can act upon an asset of the given class | |
| UClass * | Return the class type expected as the first parameter to the function | ||
| int32 | Returns the number of parameters which must be bound to this function call | ||
| FParameters | Return a proxy object which is used to iterate through function parameters of interest | ||
| void | ImportParameter
(
FStructOnScope& ParamData, |
Import a single parameter from text to an existing binary buffer | |
| TSharedPtr< FStructOnScope > | Import all parameter data from text to a new binary buffer | ||
| FInterchangeTestFunctionResult | Call the test function bound with the held parameter values | ||
| bool | Return whether the given function is valid or not | ||
| bool | Return whether the function takes an array of assets |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FParameters | Provide a readable user-facing way of iterating the function parameters of interest. |