-
Notifications
You must be signed in to change notification settings - Fork 0
06_PRG_TestLib
Patrick Dressel edited this page Mar 22, 2024
·
1 revision
[[TOC]]
returns : -
Dieser Baustein führt alle Testsuites aus.
Das Programm muss im Testprojekt einen Task zugeordnet werden
| Name | Type | Comment |
|---|---|---|
| i_bStart | BOOL | start testrun |
| Name | Type | Comment |
|---|---|---|
| o_eState | EState_t | state of testrun |
| o_eResult | EResult_t | overall result |
| o_sStatistic | SStatistic_t | statistics |
returns : BOOL
add testreport
| Name | Type | Comment |
|---|---|---|
| i_pTestReport | TestReportHandle_t | handle for external report |
returns : BOOL
register testsuite
| Name | Type | Comment |
|---|---|---|
| i_iTestSuite | ITestSuite_t | new testsuite to register |
returns : ERetCode_t
create report
define unittest or external report
| Name | Type | Comment |
|---|---|---|
| i_eReporttype | EReportType_t | define which report |
returns : ITestSuite_t
returns the first testsuite
returns : ITestSuite_t
returns the the next testsuite
returns : TimeStruct
returns the actual Systemstime
returns : BOOL
wrapper for error logging
| Name | Type | Comment |
|---|---|---|
| i_strMessage | StrMessage_t | message for output |
returns : BOOL
wrapper for information logging
| Name | Type | Comment |
|---|---|---|
| i_strMessage | StrMessage_t | message for output |