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

Purpose: Disallow instance creation
Notes:



Top Method Summary
Options Name Purpose
+ HasBuffer (handle, character) Verifies that the passed in ProDataset handle has a buffer with the given name
+ HasNoQuestion (ITableModel, character, int64) Verifies that the record represented by the TableModel instance has at no question with the given Message
+ HasNoQuestion (ITableModel, character, Enum) Verifies that the record represented by the TableModel instance has no question with the given Message
+ HasNoQuestions (ITableModel) Verifies that the record represented by the TableModel instance has no questions
+ HasNoValidationMessages (handle) Verifies that the ProDataset or ProDataset Buffer has any validation messages (BUFFER ERROR-STRING)
+ HasNoValidationMessages (handle, character) Verifies that the ProDataset or ProDataset Buffer has no validation messages (BUFFER ERROR-STRING) for the given field name
+ HasNoValidationMessages (handle, character, character) Verifies that the ProDataset or ProDataset Buffer has no validation messages (BUFFER ERROR-STRING) with the given message text
+ HasNoValidationMessages (handle, character, character, integer) Verifies that the ProDataset or ProDataset Buffer has any validation messages (BUFFER ERROR-STRING) for the given field name and the given message group and number
+ HasNoValidationMessages (handle, character, character, integer, character, character, character, character, character, character, character, character, character) Verifies that the ProDataset or ProDataset Buffer has any validation messages (BUFFER ERROR-STRING) for the given field name and the given message group and number
+ HasNoValidationMessages (handle, character, integer) Verifies that the ProDataset or ProDataset Buffer has any validation messages (BUFFER ERROR-STRING) of the given message group and number
+ HasNoValidationMessages (handle, character, integer, character, character, character, character, character, character, character, character, character) Verifies that the ProDataset or ProDataset Buffer has any validation messages (BUFFER ERROR-STRING) of the given message group and number with the provided substitution values
+ HasNoValidationMessages (ITableModel) Verifies that the TableModel representing a Buffer has any validation messages (BUFFER ERROR-STRING)
+ HasNoValidationMessages (ITableModel, character) Verifies that the TableModel representing a Buffer has any validation messages (BUFFER ERROR-STRING)
+ HasNoValidationMessages (ITableModel, character, character) Verifies that the record represented by the ITableModel has any validation messages (BUFFER ERROR-STRING)
+ HasNoValidationMessages (ITableModel, character, character, integer) Verifies that the record represented by the ITableModel has any validation messages (BUFFER ERROR-STRING)
+ HasNoValidationMessages (ITableModel, character, integer) Verifies that the record represented by the ITableModel has any validation messages (BUFFER ERROR-STRING)
+ HasNoValidationMessagesWithText (ITableModel, character) Verifies that the record represented by the ITableModel does not have a validation message matching the provided message text (BUFFER ERROR-STRING)
+ HasQuestion (ITableModel, character, int64) Verifies that the record represented by the TableModel instance has at least a single question with the given Message
+ HasQuestion (ITableModel, character, Enum) Verifies that the record represented by the TableModel instance has at least a single question with the given Message
+ HasQuestions (ITableModel) Verifies that the record represented by the TableModel instance has at least a single question
+ HasValidationMessages (handle) Verifies that the ProDataset or ProDataset Buffer has any validation messages (BUFFER ERROR-STRING)
+ HasValidationMessages (handle, character) Verifies that the ProDataset or ProDataset Buffer has any validation messages (BUFFER ERROR-STRING) for the given field name
+ HasValidationMessages (handle, character, character) Verifies that the ProDataset or ProDataset Buffer has any validation messages (BUFFER ERROR-STRING) with the given message text
+ HasValidationMessages (handle, character, character, integer) Verifies that the ProDataset or ProDataset Buffer has any validation messages (BUFFER ERROR-STRING) for the given field name and the given message group and number
+ HasValidationMessages (handle, character, character, integer, character, character, character, character, character, character, character, character, character) Verifies that the ProDataset or ProDataset Buffer has any validation messages (BUFFER ERROR-STRING) for the given field name and the given message group and number
+ HasValidationMessages (handle, character, integer) Verifies that the ProDataset or ProDataset Buffer has any validation messages (BUFFER ERROR-STRING) of the given message group and number
+ HasValidationMessages (handle, character, integer, character, character, character, character, character, character, character, character, character) Verifies that the ProDataset or ProDataset Buffer has any validation messages (BUFFER ERROR-STRING) of the given message group and number with the provided substitution values
+ HasValidationMessages (ITableModel) Verifies that the record represented by the ITableModel has any validation messages (BUFFER ERROR-STRING)
+ HasValidationMessages (ITableModel, character) Verifies that the record represented by the ITableModel has any validation messages (BUFFER ERROR-STRING)
+ HasValidationMessages (ITableModel, character, character) Verifies that the record represented by the ITableModel has any validation messages (BUFFER ERROR-STRING)
+ HasValidationMessages (ITableModel, character, character, integer) Verifies that the record represented by the ITableModel has any validation messages (BUFFER ERROR-STRING)
+ HasValidationMessages (ITableModel, character, integer) Verifies that the record represented by the ITableModel has any validation messages (BUFFER ERROR-STRING)
+ HasValidationMessagesWithText (ITableModel, character) Verifies that the record represented by the ITableModel does have a validation message matching the provided message text (BUFFER ERROR-STRING)

Top Constructor Summary
Options Name Purpose
- DatasetAssert () Disallow instance creation


Method Detail
Top

PUBLIC HasBuffer (handle, character)

Purpose: Verifies that the passed in ProDataset handle has a buffer with the
given name
Notes:
Throws: Consultingwerk.Assertion.AssertException

Parameters:
phDataset HANDLE
The handle of the ProDataset
pcBufferName CHARACTER
The name of the Buffer that should exist
Top

PUBLIC HasNoQuestion (ITableModel, character, int64)

Purpose: Verifies that the record represented by the TableModel instance
has at no question with the given Message
Notes:

Parameters:
poTableModel Consultingwerk.OERA.ITableModel
The reference to the TableModel
pcMessageGroup CHARACTER
The MessageGroup to locate
piMessageNumber INT64
The MessageNumber to locate
Top

PUBLIC HasNoQuestion (ITableModel, character, Enum)

Purpose: Verifies that the record represented by the TableModel instance
has no question with the given Message
Notes:

Parameters:
poTableModel Consultingwerk.OERA.ITableModel
The reference to the TableModel
pcMessageGroup CHARACTER
The MessageGroup to locate
poMessageNumber Progress.Lang.Enum
The MessageNumber to locate
Top

PUBLIC HasNoQuestions (ITableModel)

Purpose: Verifies that the record represented by the TableModel instance
has no questions
Notes:

Parameters:
poTableModel Consultingwerk.OERA.ITableModel
The reference to the TableModel
Top

PUBLIC HasNoValidationMessages (handle)

Purpose: Verifies that the ProDataset or ProDataset Buffer has
any validation messages (BUFFER ERROR-STRING)
Notes:

Parameters:
phDataHandle HANDLE
The handle of the ProDataset
Top

PUBLIC HasNoValidationMessages (handle, character)

Purpose: Verifies that the ProDataset or ProDataset Buffer has
no validation messages (BUFFER ERROR-STRING) for the
given field name
Notes:

Parameters:
phDataHandle HANDLE
The handle of the ProDataset
pcFieldName CHARACTER
The name of the field to verify
Top

PUBLIC HasNoValidationMessages (handle, character, character)

Purpose: Verifies that the ProDataset or ProDataset Buffer has
no validation messages (BUFFER ERROR-STRING) with the
given message text
Notes:

Parameters:
phDataHandle HANDLE
The handle of the ProDataset
pcFieldName CHARACTER
The name of the field to verify
pcMessageText CHARACTER
The text of the validation message
Top

PUBLIC HasNoValidationMessages (handle, character, character, integer)

Purpose: Verifies that the ProDataset or ProDataset Buffer has
any validation messages (BUFFER ERROR-STRING) for the
given field name and the given message group and number
Notes:

Parameters:
phDataHandle HANDLE
The handle of the ProDataset
pcFieldName CHARACTER
The name of the field to verify
pcMessageGroup CHARACTER
The message group
piMessageNumber INTEGER
The message number
Top

PUBLIC HasNoValidationMessages (handle, character, character, integer, character, character, character, character, character, character, character, character, character)

Purpose: Verifies that the ProDataset or ProDataset Buffer has
any validation messages (BUFFER ERROR-STRING) for the
given field name and the given message group and number
Notes: Only substitution values <> ? will be verified

Parameters:
phDataHandle HANDLE
The handle of the ProDataset
pcFieldName CHARACTER
The name of the field to verify
pcMessageGroup CHARACTER
The message group
piMessageNumber INTEGER
The message number
pcSubstitutionValue1 CHARACTER
The first message substitute value (&1)
pcSubstitutionValue2 CHARACTER
The second message substitute value (&2)
pcSubstitutionValue3 CHARACTER
The third message substitute value (&3)
pcSubstitutionValue4 CHARACTER
The fourth message substitute value (&4)
pcSubstitutionValue5 CHARACTER
The fifth message substitute value (&5)
pcSubstitutionValue6 CHARACTER
The sixth message substitute value (&6)
pcSubstitutionValue7 CHARACTER
The seventh message substitute value (&7)
pcSubstitutionValue8 CHARACTER
The eighth message substitute value (&8)
pcSubstitutionValue9 CHARACTER
The ninth message substitute value (&9)
Top

PUBLIC HasNoValidationMessages (handle, character, integer)

Purpose: Verifies that the ProDataset or ProDataset Buffer has
any validation messages (BUFFER ERROR-STRING) of the given
message group and number
Notes:

Parameters:
phDataHandle HANDLE
The handle of the ProDataset
pcMessageGroup CHARACTER
The message group
piMessageNumber INTEGER
The message number
Top

PUBLIC HasNoValidationMessages (handle, character, integer, character, character, character, character, character, character, character, character, character)

Purpose: Verifies that the ProDataset or ProDataset Buffer has
any validation messages (BUFFER ERROR-STRING) of the given
message group and number with the provided substitution values
Notes: Only substitution values <> ? will be verified

Parameters:
phDataHandle HANDLE
The handle of the ProDataset
pcMessageGroup CHARACTER
The message group
piMessageNumber INTEGER
The message number
pcSubstitutionValue1 CHARACTER
The first message substitute value (&1)
pcSubstitutionValue2 CHARACTER
The second message substitute value (&2)
pcSubstitutionValue3 CHARACTER
The third message substitute value (&3)
pcSubstitutionValue4 CHARACTER
The fourth message substitute value (&4)
pcSubstitutionValue5 CHARACTER
The fifth message substitute value (&5)
pcSubstitutionValue6 CHARACTER
The sixth message substitute value (&6)
pcSubstitutionValue7 CHARACTER
The seventh message substitute value (&7)
pcSubstitutionValue8 CHARACTER
The eighth message substitute value (&8)
pcSubstitutionValue9 CHARACTER
The ninth message substitute value (&9)
Top

PUBLIC HasNoValidationMessages (ITableModel)

Purpose: Verifies that the TableModel representing a Buffer has
any validation messages (BUFFER ERROR-STRING)
Notes:

Parameters:
poTableModel Consultingwerk.OERA.ITableModel
The ITableModel
Top

PUBLIC HasNoValidationMessages (ITableModel, character)

Purpose: Verifies that the TableModel representing a Buffer has
any validation messages (BUFFER ERROR-STRING)
Notes:

Parameters:
poTableModel Consultingwerk.OERA.ITableModel
The ITableModel
pcFieldName CHARACTER
The name of the field to verify
Top

PUBLIC HasNoValidationMessages (ITableModel, character, character)

Purpose: Verifies that the record represented by the ITableModel has
any validation messages (BUFFER ERROR-STRING)
Notes:

Parameters:
poTableModel Consultingwerk.OERA.ITableModel
The ITableModel
pcFieldName CHARACTER
The name of the field to verify
pcMessageText CHARACTER
The text of the validation message
Top

PUBLIC HasNoValidationMessages (ITableModel, character, character, integer)

Purpose: Verifies that the record represented by the ITableModel has
any validation messages (BUFFER ERROR-STRING)
Notes:

Parameters:
poTableModel Consultingwerk.OERA.ITableModel
The ITableModel
pcFieldName CHARACTER
The name of the field to verify
pcMessageGroup CHARACTER
The message group
piMessageNumber INTEGER
The message number
Top

PUBLIC HasNoValidationMessages (ITableModel, character, integer)

Purpose: Verifies that the record represented by the ITableModel has
any validation messages (BUFFER ERROR-STRING)
Notes:

Parameters:
poTableModel Consultingwerk.OERA.ITableModel
The ITableModel
pcMessageGroup CHARACTER
The message group
piMessageNumber INTEGER
The message number
Top

PUBLIC HasNoValidationMessagesWithText (ITableModel, character)

Purpose: Verifies that the record represented by the ITableModel
does not have a validation message matching the provided
message text (BUFFER ERROR-STRING)
Notes:

Parameters:
poTableModel Consultingwerk.OERA.ITableModel
The ITableModel
pcMessageText CHARACTER
The text of the validation message
Top

PUBLIC HasQuestion (ITableModel, character, int64)

Purpose: Verifies that the record represented by the TableModel instance
has at least a single question with the given Message
Notes:

Parameters:
poTableModel Consultingwerk.OERA.ITableModel
The reference to the TableModel
pcMessageGroup CHARACTER
The MessageGroup to locate
piMessageNumber INT64
The MessageNumber to locate
Top

PUBLIC HasQuestion (ITableModel, character, Enum)

Purpose: Verifies that the record represented by the TableModel instance
has at least a single question with the given Message
Notes:

Parameters:
poTableModel Consultingwerk.OERA.ITableModel
The reference to the TableModel
pcMessageGroup CHARACTER
The MessageGroup to locate
poMessageNumber Progress.Lang.Enum
The MessageNumber to locate
Top

PUBLIC HasQuestions (ITableModel)

Purpose: Verifies that the record represented by the TableModel instance
has at least a single question
Notes:

Parameters:
poTableModel Consultingwerk.OERA.ITableModel
The reference to the TableModel
Top

PUBLIC HasValidationMessages (handle)

Purpose: Verifies that the ProDataset or ProDataset Buffer has
any validation messages (BUFFER ERROR-STRING)
Notes:

Parameters:
phDataHandle HANDLE
The handle of the ProDataset
Top

PUBLIC HasValidationMessages (handle, character)

Purpose: Verifies that the ProDataset or ProDataset Buffer has
any validation messages (BUFFER ERROR-STRING) for the
given field name
Notes:

Parameters:
phDataHandle HANDLE
The handle of the ProDataset
pcFieldName CHARACTER
The name of the field to verify
Top

PUBLIC HasValidationMessages (handle, character, character)

Purpose: Verifies that the ProDataset or ProDataset Buffer has
any validation messages (BUFFER ERROR-STRING) with the
given message text
Notes:

Parameters:
phDataHandle HANDLE
The handle of the ProDataset
pcFieldName CHARACTER
The name of the field to verify
pcMessageText CHARACTER
The text of the validation message
Top

PUBLIC HasValidationMessages (handle, character, character, integer)

Purpose: Verifies that the ProDataset or ProDataset Buffer has
any validation messages (BUFFER ERROR-STRING) for the
given field name and the given message group and number
Notes:

Parameters:
phDataHandle HANDLE
The handle of the ProDataset
pcFieldName CHARACTER
The name of the field to verify
pcMessageGroup CHARACTER
The message group
piMessageNumber INTEGER
The message number
Top

PUBLIC HasValidationMessages (handle, character, character, integer, character, character, character, character, character, character, character, character, character)

Purpose: Verifies that the ProDataset or ProDataset Buffer has
any validation messages (BUFFER ERROR-STRING) for the
given field name and the given message group and number
Notes: Only substitution values <> ? will be verified

Parameters:
phDataHandle HANDLE
The handle of the ProDataset
pcFieldName CHARACTER
The name of the field to verify
pcMessageGroup CHARACTER
The message group
piMessageNumber INTEGER
The message number
pcSubstitutionValue1 CHARACTER
The first message substitute value (&1)
pcSubstitutionValue2 CHARACTER
The second message substitute value (&2)
pcSubstitutionValue3 CHARACTER
The third message substitute value (&3)
pcSubstitutionValue4 CHARACTER
The fourth message substitute value (&4)
pcSubstitutionValue5 CHARACTER
The fifth message substitute value (&5)
pcSubstitutionValue6 CHARACTER
The sixth message substitute value (&6)
pcSubstitutionValue7 CHARACTER
The seventh message substitute value (&7)
pcSubstitutionValue8 CHARACTER
The eighth message substitute value (&8)
pcSubstitutionValue9 CHARACTER
The ninth message substitute value (&9)
Top

PUBLIC HasValidationMessages (handle, character, integer)

Purpose: Verifies that the ProDataset or ProDataset Buffer has
any validation messages (BUFFER ERROR-STRING) of the given
message group and number
Notes:

Parameters:
phDataHandle HANDLE
The handle of the ProDataset
pcMessageGroup CHARACTER
The message group
piMessageNumber INTEGER
The message number
Top

PUBLIC HasValidationMessages (handle, character, integer, character, character, character, character, character, character, character, character, character)

Purpose: Verifies that the ProDataset or ProDataset Buffer has
any validation messages (BUFFER ERROR-STRING) of the given
message group and number with the provided substitution values
Notes: Only substitution values <> ? will be verified

Parameters:
phDataHandle HANDLE
The handle of the ProDataset
pcMessageGroup CHARACTER
The message group
piMessageNumber INTEGER
The message number
pcSubstitutionValue1 CHARACTER
The first message substitute value (&1)
pcSubstitutionValue2 CHARACTER
The second message substitute value (&2)
pcSubstitutionValue3 CHARACTER
The third message substitute value (&3)
pcSubstitutionValue4 CHARACTER
The fourth message substitute value (&4)
pcSubstitutionValue5 CHARACTER
The fifth message substitute value (&5)
pcSubstitutionValue6 CHARACTER
The sixth message substitute value (&6)
pcSubstitutionValue7 CHARACTER
The seventh message substitute value (&7)
pcSubstitutionValue8 CHARACTER
The eighth message substitute value (&8)
pcSubstitutionValue9 CHARACTER
The ninth message substitute value (&9)
Top

PUBLIC HasValidationMessages (ITableModel)

Purpose: Verifies that the record represented by the ITableModel has
any validation messages (BUFFER ERROR-STRING)
Notes:

Parameters:
poTableModel Consultingwerk.OERA.ITableModel
The ITableModel
Top

PUBLIC HasValidationMessages (ITableModel, character)

Purpose: Verifies that the record represented by the ITableModel has
any validation messages (BUFFER ERROR-STRING)
Notes:

Parameters:
poTableModel Consultingwerk.OERA.ITableModel
The ITableModel
pcFieldName CHARACTER
The name of the field to verify
Top

PUBLIC HasValidationMessages (ITableModel, character, character)

Purpose: Verifies that the record represented by the ITableModel has
any validation messages (BUFFER ERROR-STRING)
Notes:

Parameters:
poTableModel Consultingwerk.OERA.ITableModel
The ITableModel
pcFieldName CHARACTER
The name of the field to verify
pcMessageText CHARACTER
The text of the validation message
Top

PUBLIC HasValidationMessages (ITableModel, character, character, integer)

Purpose: Verifies that the record represented by the ITableModel has
any validation messages (BUFFER ERROR-STRING)
Notes:

Parameters:
poTableModel Consultingwerk.OERA.ITableModel
The ITableModel
pcFieldName CHARACTER
The name of the field to verify
pcMessageGroup CHARACTER
The message group
piMessageNumber INTEGER
The message number
Top

PUBLIC HasValidationMessages (ITableModel, character, integer)

Purpose: Verifies that the record represented by the ITableModel has
any validation messages (BUFFER ERROR-STRING)
Notes:

Parameters:
poTableModel Consultingwerk.OERA.ITableModel
The ITableModel
pcMessageGroup CHARACTER
The message group
piMessageNumber INTEGER
The message number
Top

PUBLIC HasValidationMessagesWithText (ITableModel, character)

Purpose: Verifies that the record represented by the ITableModel
does have a validation message matching the provided
message text (BUFFER ERROR-STRING)
Notes:

Parameters:
poTableModel Consultingwerk.OERA.ITableModel
The ITableModel
pcMessageText CHARACTER
The text of the validation message


Constructor Detail
Top

PRIVATE DatasetAssert ()

Purpose: Disallow instance creation
Notes:



©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.11.2024 18:34:21