Qt 4.8
Public Functions | Properties | List of all members
QTest::TestFunction Class Reference

Public Functions

char * data () const
 
int function () const
 
void set (int function, char *data)
 
 TestFunction ()
 
 ~TestFunction ()
 

Properties

char * data_
 
int function_
 

Detailed Description

Definition at line 905 of file qtestcase.cpp.

Constructors and Destructors

◆ TestFunction()

QTest::TestFunction::TestFunction ( )
inline

Definition at line 907 of file qtestcase.cpp.

907 : function_(-1), data_(0) {}

◆ ~TestFunction()

QTest::TestFunction::~TestFunction ( )
inline

Definition at line 911 of file qtestcase.cpp.

911 { delete[] data_; }

Functions

◆ data()

char* QTest::TestFunction::data ( ) const
inline

◆ function()

int QTest::TestFunction::function ( ) const
inline

Definition at line 910 of file qtestcase.cpp.

Referenced by QTest::qInvokeTestMethods().

910 { return function_; }

◆ set()

void QTest::TestFunction::set ( int  function,
char *  data 
)
inline

Definition at line 908 of file qtestcase.cpp.

Referenced by QTest::qtest_qParseArgs().

908 { function_ = function; data_ = data; }
char * data() const
Definition: qtestcase.cpp:909

Properties

◆ data_

char* QTest::TestFunction::data_
private

Definition at line 914 of file qtestcase.cpp.

Referenced by data(), set(), and ~TestFunction().

◆ function_

int QTest::TestFunction::function_
private

Definition at line 913 of file qtestcase.cpp.

Referenced by function(), and set().


The documentation for this class was generated from the following file: