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

File:ArrayAssert
Purpose:Assertion methods for ABL Arrays
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Sep 04 12:35:59 CEST 2016
/* Mike Fechner, Consultingwerk Ltd. 13.09.2017
Preprocessor variables for SmartComponentLibrary, WinKit and SmartFramework
based on Consultingwerk/packages.i now



Top Method Summary
Options Name Purpose
+ NotNullOrEmptyEntriesOnly (character[], character) Validates that the character array does not have ? or empty entries
+ ValidEntriesOnly (character[], character) Validates that the array does have valid entries only (not ?)
+ ValidEntriesOnly (datetime-tz[], character) Validates that the array does have valid entries only (not ?)
+ ValidEntriesOnly (datetime[], character) Validates that the array does have valid entries only (not ?)
+ ValidEntriesOnly (date[], character) Validates that the array does have valid entries only (not ?)
+ ValidEntriesOnly (decimal[], character) Validates that the array does have valid entries only (not ?)
+ ValidEntriesOnly (handle[], character) Validates that the array does have valid entries only
+ ValidEntriesOnly (integer[], character) Validates that the array does have valid entries only (not ?)
+ ValidEntriesOnly (logical[], character) Validates that the array does have valid entries only (not ?)
+ ValidEntriesOnly (Object[], character) Validates that the array does have valid entries only

Top Constructor Summary
Options Name Purpose
# ArrayAssert () Protected default constructor for the ArrayAssert class


Method Detail
Top

PUBLIC NotNullOrEmptyEntriesOnly (character[], character)

Purpose: Validates that the character array does not have ? or empty entries
Notes:

Parameters:
pcValue CHARACTER
The array to verify
pcDescription CHARACTER
The description of the array
Top

PUBLIC ValidEntriesOnly (character[], character)

Purpose: Validates that the array does have valid entries only (not ?)
Notes:

Parameters:
pcValue CHARACTER
The array to verify
pcDescription CHARACTER
The description of the array
Top

PUBLIC ValidEntriesOnly (datetime-tz[], character)

Purpose: Validates that the array does have valid entries only (not ?)
Notes:

Parameters:
pdtValue DATETIME-TZ
The array to verify
pcDescription CHARACTER
The description of the array
Top

PUBLIC ValidEntriesOnly (datetime[], character)

Purpose: Validates that the array does have valid entries only (not ?)
Notes:

Parameters:
pdtValue DATETIME
The array to verify
pcDescription CHARACTER
The description of the array
Top

PUBLIC ValidEntriesOnly (date[], character)

Purpose: Validates that the array does have valid entries only (not ?)
Notes:

Parameters:
pdtValue DATE
The array to verify
pcDescription CHARACTER
The description of the array
Top

PUBLIC ValidEntriesOnly (decimal[], character)

Purpose: Validates that the array does have valid entries only (not ?)
Notes:

Parameters:
pdeValue DECIMAL
The array to verify
pcDescription CHARACTER
The description of the array
Top

PUBLIC ValidEntriesOnly (handle[], character)

Purpose: Validates that the array does have valid entries only
Notes:

Parameters:
phHandle HANDLE
The array of Handle references to verify
pcDescription CHARACTER
The description of the array
Top

PUBLIC ValidEntriesOnly (integer[], character)

Purpose: Validates that the array does have valid entries only (not ?)
Notes:

Parameters:
piValue INTEGER
The array to verify
pcDescription CHARACTER
The description of the array
Top

PUBLIC ValidEntriesOnly (logical[], character)

Purpose: Validates that the array does have valid entries only (not ?)
Notes:

Parameters:
plValue LOGICAL
The array to verify
pcDescription CHARACTER
The description of the array
Top

PUBLIC ValidEntriesOnly (Object[], character)

Purpose: Validates that the array does have valid entries only
Notes:

Parameters:
poObject Progress.Lang.Object
The array of Progress.Lang.Object references to verify
pcDescription CHARACTER
The description of the array


Constructor Detail
Top

PROTECTED ArrayAssert ()

Purpose: Protected default constructor for the ArrayAssert class
Notes: Disallow instance creation



©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:20:41