Top Method Summary
Options Name Purpose
+ LOGICAL Execute (ITestSuite) Executes the test suite described by the ITestSuite instance
Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner
# ExecuteManagementMethod (character, Object, character) Executes a test management method (setup, teardown, before, after)
Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner
# Consultingwerk.SmartUnit.TestRunner.TestResult ExecuteTest (ITestSuite, character, character, Object, character, character, character, character, integer, character, character, integer) Executes a single test
Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner
# ExecuteTestMethod (Object, character) Helper method to throw an AppError for raised STOP conditions
Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner
# IDataAccessFactory InitializeMockDataAccessFactory (character) Initializes the Mock Data Access Factory
Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner
+ LoadServices (character) Loads services from a comma-delimited list of XML files
Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner

Top Constructor Summary
Options Name Purpose
+ DebugRunner () Constructor for the DebugRunner class

Top Property Summary
Options Name Purpose
# LOGICAL DialogOutput
Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner
# LOGICAL LogMessages
Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner


Method Detail
Top

PUBLIC LOGICAL Execute (ITestSuite)

Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner
Purpose: Executes the test suite described by the ITestSuite instance
Notes:

Parameters:
poTestSuite ITestSuite
The ITestSuite to execute
Returns LOGICAL
Logical value, when set to false halt will be signalled to the caller (ANT script)
Top

PROTECTED ExecuteManagementMethod (character, Object, character)

Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner
Purpose: Executes a test management method (setup, teardown, before, after)
Notes:

Parameters:
pcLabel CHARACTER
The label for the setup method
poTestInstance Progress.Lang.Object
The reference to the Test instance
pcMethodName CHARACTER
The name of the method to execute
Top

PROTECTED Consultingwerk.SmartUnit.TestRunner.TestResult ExecuteTest (ITestSuite, character, character, Object, character, character, character, character, integer, character, character, integer)

Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner
Purpose: Executes a single test
Notes:

Parameters:
poTestSuite ITestSuite
The reference to the current test suite
pcLogFolder CHARACTER
The name of the folder to use for logfiles etc.
pcClassName CHARACTER
The name of the test class
poTestInstance Progress.Lang.Object
The reference to the Test instance
pcTestName CHARACTER
The name of the test method to execute
pcSetupMethod CHARACTER
The name of the setup method
pcTearDownMethod CHARACTER
The name of the tear down method
pcExpected CHARACTER
The class of error that is expected to be thrown by the test method
piErrNum INTEGER
The expected error number
pcServices CHARACTER
The comma delimited list of service.xml files to load for this test
pcFactories CHARACTER
The comma delimited list of factories.xml files to load for this test
piStopAfter INTEGER
The number of seconds after which the test is supposed to be stopped
Returns Consultingwerk.SmartUnit.TestRunner.TestResult
The TestResult of the executed test
Top

PROTECTED ExecuteTestMethod (Object, character)

Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner
Purpose: Helper method to throw an AppError for raised STOP conditions
Notes: Necessary if Startup-Parameter -catchStop 0 to cause an AppError
instead of a STOP condition

Parameters:
poTestInstance Progress.Lang.Object
The reference to the Test instance
pcTestName CHARACTER
The name of the test method to execute
Top

PROTECTED IDataAccessFactory InitializeMockDataAccessFactory (character)

Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner
Purpose: Initializes the Mock Data Access Factory
Notes: Based on a comma delimited list of mock data access definitions

Parameters:
pcConfiguration CHARACTER
The configuration data
Returns IDataAccessFactory
The IDataAccessFactory instance
Top

PUBLIC LoadServices (character)

Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner
Purpose: Loads services from a comma-delimited list of XML files
Notes:

Parameters:
pcServices CHARACTER
The comma delimited list of service xml files


Constructor Detail
Top

PUBLIC DebugRunner ()

Purpose: Constructor for the DebugRunner class
Notes:



Property Detail
Top

PROTECTED LOGICAL DialogOutput

Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner

Returns LOGICAL
Top

PROTECTED LOGICAL LogMessages

Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner

Returns LOGICAL


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:22:12