IF_ManagedTestObject

Overview

Type:

Interface

Available as of:

V1.0.0.0

NOTE: This interface type is not intended for use in user logic.

Task

The IF_ManagedTestObject interface combines joint methods of the objects that have to be prepared and adjusted. It is used for the data inventory in the PD_ETest library.

CleanUp Method

The CleanUp method is used to reinitialize the object(s) of the test cases and test resources so that the object(s) can be re-used.

Interface

Input

Data type

Description

i_xFirstCall 

BOOL

TRUE: The method is called for the first time.

FALSE: After the first call to the method.

Can be used to initialize state machines.

i_ifErrorLogger 

IF_ErrorLogger

Interface to report detected errors.

Return value

Data type

Description

ET_TestReturn 

Refer to the ET_TestReturn enumeration.

Prepare Method

The Prepare method is used for preparation measures for the tests, such as the initialization of variables or the activation of the position control of an axis.

Interface

Input

Data type

Description

i_xFirstCall  

BOOL

TRUE: The method is called for the first time.

FALSE: After the first call to the method.

Can be used to initialize state machines.

i_rfbResources  

Reference to FB_Resource List

List of the resources used.

i_ifErrorLogger  

IF_ErrorLogger

Interface to report detected errors.

Return value

Data type

Description

ET_TestReturn  

Refer to the ET_TestReturn enumeration.