Namespace: Consultingwerk.Assertion
Class 
ClassAssert Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

Purpose: Constructor
Notes: Disallow instance creation



Top Method Summary
Options Name Purpose
+ TypeOf (Class, character) Validates an object reference for validity and the passed in typename and raises error when the tests fail
+ TypeOf (Class, character, character) Validates an object reference for validity and the passed in typename and raises error when the tests fail

Top Constructor Summary
Options Name Purpose
# ClassAssert () Constructor


Method Detail
Top

PUBLIC TypeOf (Class, character)

Purpose: Validates an object reference for validity and the passed in typename
and raises error when the tests fail
Notes: Use this method to test for ABL types only
Throws: Consultingwerk.Exceptions.InvalidTypeException

Parameters:
poClass Progress.Lang.Class
The class object reference to validate
pcClassName CHARACTER
The object type (ABL class) to test against
Top

PUBLIC TypeOf (Class, character, character)

Purpose: Validates an object reference for validity and the passed in typename
and raises error when the tests fail
Notes: Use this method to test for ABL types only
Throws: Consultingwerk.Exceptions.InvalidTypeException

Parameters:
poClass Progress.Lang.Class
The class object reference to validate
pcClassName CHARACTER
The object type (ABL class) to test against
pcObjectDesc CHARACTER
The optional description of the object reference used in the Error


Constructor Detail
Top

PROTECTED ClassAssert ()

Purpose: Constructor
Notes: Disallow instance creation



©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 05:48:48