TestToolsInterface Class Reference

#include <testtools.h>

Detailed Description

An interface with various functions.

Static Public Member Functions

static MAXON_METHOD Result< void > BuildSDK (const Url &sdkFile, const Url &projectTool, const Url &compiler)
 
static MAXON_METHOD Result< void > CopyToBranch (const Url &c4dFolder, const Url &projectTool, const Url &compiler)
 
static MAXON_METHOD Result< void > CopyCppDocsSources (const Url &sdkFolder)
 
static MAXON_METHOD Result< void > CopyInternNodesResources (const Url &sdkFile, const Url &projectTool, const Url &compiler)
 

Private Member Functions

 MAXON_INTERFACE_NONVIRTUAL (TestToolsInterface, MAXON_REFERENCE_NONE, "net.maxonexample.interface.testtools")
 

Member Function Documentation

◆ MAXON_INTERFACE_NONVIRTUAL()

MAXON_INTERFACE_NONVIRTUAL ( TestToolsInterface  ,
MAXON_REFERENCE_NONE  ,
"net.maxonexample.interface.testtools"   
)
private

◆ BuildSDK()

static MAXON_METHOD Result<void> BuildSDK ( const Url sdkFile,
const Url projectTool,
const Url compiler 
)
static

Extracts the given sdk.zip file and builds the project files.

Parameters
[in]sdkFileThe absolute path to the sdk.zip file.
[in]projectToolThe absolute path to the project tool executable.
[in]compilerThe absolute path to the IDE executable.
Returns
OK on success.

◆ CopyToBranch()

static MAXON_METHOD Result<void> CopyToBranch ( const Url c4dFolder,
const Url projectTool,
const Url compiler 
)
static

Copies the test-data to the given C4D folder.

Parameters
[in]c4dFolderThe absolute path to C4D including the "frameworks" and "plugins" folder.
[in]projectToolThe absolute path to the project tool executable.
[in]compilerThe absolute path to the IDE executable.
Returns
OK on success.

◆ CopyCppDocsSources()

static MAXON_METHOD Result<void> CopyCppDocsSources ( const Url sdkFolder)
static

◆ CopyInternNodesResources()

static MAXON_METHOD Result<void> CopyInternNodesResources ( const Url sdkFile,
const Url projectTool,
const Url compiler 
)
static

Copies all intern nodes resources to the given C4D folder. Unizps the given sdk.zip file

Parameters
[in]sdkFileThe sdk.zip file of a given C4D installation.
[in]projectToolThe absolute path to the project tool executable.
[in]compilerThe absolute path to the IDE executable.
Returns
OK on success.