Namespace: OpenEdge.ABLUnit.Reflection
Class
TestInfoList
Parent classes:
Inherits: OpenEdge.Core.Collections.List
Implements: OpenEdge.ABLUnit.Reflection.ITestInfoList

/* *************************************************************************************************************************
Copyright (c) 2019 by Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
File:TestInfoList
Author(s):pjudge
Created:2019-12-05




Method Summary
Options Name Purpose
LOGICAL Add (integer, Object)
Inherited from OpenEdge.Core.Collections.List
LOGICAL Add (integer, TestInfo) /* Inserts the specified element at the specified position in this list (optional operation).*/
LOGICAL Add (Object)
Overrides OpenEdge.Core.Collections.List:Add (Object)
LOGICAL Add (TestInfo) /* Appends the specified element to the end of this list (optional operation). */
LOGICAL AddAll (ICollection)
Overrides OpenEdge.Core.Collections.List:AddAll (ICollection)
LOGICAL AddAll (integer, ICollection) /** Adds all of the input collection to the current list, starting at the index given (ie the index passed is the first item) @param integer The index from which to add. Must be non-zero and positive @param ICollection The collection to add @return logical TRUE if items were added (ie the input collection has at least one item) */
Inherited from OpenEdge.Core.Collections.List
LOGICAL AddAll (integer, ITestInfoList) /* Inserts all of the elements in the specified collection into this list at the specified position (optional operation). */
LOGICAL AddAll (ITestInfoList) /* Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's iterator (optional operation). */
LOGICAL AddArray (integer, Object[])
Inherited from OpenEdge.Core.Collections.List
LOGICAL AddArray (integer, TestInfo[])
LOGICAL AddArray (Object[])
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
LOGICAL AddArray (TestInfo[]) /** Appends all the elements in the array this list, optionally at the specified position. */
Clear ()
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Object Clone () /* Deep clone. or rather deep enough since we don't know what the elements' Clone() operations do, so this may end up being a memberwise clone */
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
CloneElements (ICollection)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
LOGICAL Contains (Object)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
LOGICAL Contains (TestInfo) /* Returns true if this list contains the specified element. */
LOGICAL ContainsAll (ICollection)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
LOGICAL ContainsAll (ITestInfoList) /* Returns true if this list contains all of the elements of the specified collection. */
LOGICAL Equals (Object) /* Two Lists are defined to be equal if they are the same size and all of the elements in this collection are in the to-compare List and in the same sequence. @param P.L.Object @return logical TRUE if the Lists are equal. FALSE otherwise */
Inherited from OpenEdge.Core.Collections.List
FindBufferUseObject (Object) /* override this in subclass - used by remove(obj) and others */
Overrides OpenEdge.Core.Collections.List:FindBufferUseObject (Object)
FindBufferUseObject (Object, buffer) /* Find the FIRST reference of the search object; the search order is by the List's Sequence. This means that if there are 2 instances of this object, a dev will need to iterate over the collection to determine which ones match. The input buffer is RELEASED (so that we don't leak scope). @param Progress.Lang.Object The search object @param buffer ttList The buffer to search */
Inherited from OpenEdge.Core.Collections.List
Object Get (integer) /* Returns the object represented by the index @param integer The sequence to find. Must be positive and <= the Size. @return Object The object represented by the sequence. May be ? */
Inherited from OpenEdge.Core.Collections.List
OpenEdge.ABLUnit.Reflection.TestInfo GetTestInfo (integer) /* Returns the element at the specified position in this list. */
INTEGER IndexOf (Object)
Inherited from OpenEdge.Core.Collections.List
INTEGER IndexOf (TestInfo) /* Returns the index in this list of the first occurrence of the specified element, or 0 if this list does not contain this element. */
LOGICAL IsEmpty ()
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
IIterator Iterator () /* Returns a new IIterator over the collection. */
Overrides OpenEdge.Core.Collections.List:Iterator ()
INTEGER LastIndexOf (Object)
Inherited from OpenEdge.Core.Collections.List
INTEGER LastIndexOf (TestInfo) /* Returns the index in this list of the last occurrence of the specified element, or 0 if this list does not contain this element. */
IListIterator ListIterator () /* Returns a new IListIterator over the collection. */
Inherited from OpenEdge.Core.Collections.List
IListIterator ListIterator (integer) /* Returns a new IListIterator over the collection.*/
Inherited from OpenEdge.Core.Collections.List
Object Remove (integer) /** Removes an item at the given index @param integer The index to remove. Must be between 1 and the size of the List @return Progress.Lang.Object The item that was removed. */
Inherited from OpenEdge.Core.Collections.List
LOGICAL Remove (Object)
Overrides OpenEdge.Core.Collections.List:Remove (Object)
LOGICAL Remove (TestInfo) /* Removes the first occurrence in this list of the specified element (optional operation). */
LOGICAL RemoveAll (ICollection)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
LOGICAL RemoveAll (ITestInfoList) /* Removes from this list all the elements that are contained in the specified collection (optional operation). */
OpenEdge.ABLUnit.Reflection.TestInfo RemoveTestInfo (integer) /* Removes the element at the specified position in this list (optional operation). */
Resize () /** Recalculates the Size of this collections. Used particularly by Lists since there are operations like Remove() that are index-based and not item-based. */
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
LOGICAL RetainAll (ICollection)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
LOGICAL RetainAll (ITestInfoList) /* Retains only the elements in this list that are contained in the specified collection (optional operation).*/
Object Set (integer, Object)
Inherited from OpenEdge.Core.Collections.List
OpenEdge.ABLUnit.Reflection.TestInfo Set (integer, TestInfo) /* Replaces the element at the specified position in this list with the specified element (optional operation). */
OpenEdge.Core.Collections.IList SubList (integer, integer) /* Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive. The fromIndex value must be positive and <= this list's Size The toIndex value must be positive and <= this list's Size The fromIndex value must be <= toIndex value If fromIndex and toIndex are equal, the returned list has 1 entry. @param integer fromIndex Low endpoint (INCLUSIVE) of the subList @param integer toIndex High endpoint (INCLUSIVE) of the subList @return IList a List containing the items. Has at least 1 entry. */
Inherited from OpenEdge.Core.Collections.List
OpenEdge.ABLUnit.Reflection.ITestInfoList SubListTestInfo (integer, integer) /* Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive. */
Object ToArray () /* ToArray should not be used with large collections If there is too much data the ABL will throw: Attempt to update data exceeding 32000. (12371) */
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
ToTable (table-handle)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
OpenEdge.ABLUnit.Reflection.TestInfo ToTestInfoArray () /* returns the contents of the list as an array */

Constructor Summary
Options Name Purpose
TestInfoList ()
TestInfoList (ITestInfoList)

Property Summary
Options Name Purpose
INTEGER Size
Inherited from OpenEdge.Core.Collections.AbstractTTCollection


Method Detail
Top

PUBLIC LOGICAL Add (integer, Object)

Inherited from OpenEdge.Core.Collections.List
Parameters:
seq INTEGER
obj Object
Returns LOGICAL
Top

PUBLIC LOGICAL Add (integer, TestInfo)

/* Inserts the specified element at the specified position in this list
(optional operation).
Parameters:
i INTEGER
o OpenEdge.ABLUnit.Reflection.TestInfo
Returns LOGICAL
Top

PUBLIC LOGICAL Add (Object)

Overrides OpenEdge.Core.Collections.List:Add (Object)
Parameters:
newObject Object
Returns LOGICAL
Top

PUBLIC LOGICAL Add (TestInfo)

/* Appends the specified element to the end of this list
(optional operation).
Parameters:
o OpenEdge.ABLUnit.Reflection.TestInfo
Returns LOGICAL
Top

PUBLIC LOGICAL AddAll (ICollection)

Overrides OpenEdge.Core.Collections.List:AddAll (ICollection)
Parameters:
newCollection ICollection
Returns LOGICAL
Top

PUBLIC LOGICAL AddAll (integer, ICollection)

Inherited from OpenEdge.Core.Collections.List
Purpose: Adds all of the input collection to the current list, starting at the
index given (ie the index passed is the first item)
Parameters:
seq INTEGER
c ICollection
Returns LOGICAL
logical TRUE if items were added (ie the input collection has at least one item)
Top

PUBLIC LOGICAL AddAll (integer, ITestInfoList)

/* Inserts all of the elements in the specified collection into this list
at the specified position (optional operation).
Parameters:
i INTEGER
c OpenEdge.ABLUnit.Reflection.ITestInfoList
Returns LOGICAL
Top

PUBLIC LOGICAL AddAll (ITestInfoList)

/* Appends all of the elements in the specified collection to the end
of this list, in the order that they are returned by the specified
collection's iterator (optional operation).
Parameters:
c OpenEdge.ABLUnit.Reflection.ITestInfoList
Returns LOGICAL
Top

PUBLIC LOGICAL AddArray (integer, Object[])

Inherited from OpenEdge.Core.Collections.List
Parameters:
seq INTEGER
obj Object
Returns LOGICAL
Top

PUBLIC LOGICAL AddArray (integer, TestInfo[])

Parameters:
i INTEGER
c OpenEdge.ABLUnit.Reflection.TestInfo
Returns LOGICAL
Top

PUBLIC LOGICAL AddArray (Object[])

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
objectArray Object
Returns LOGICAL
Top

PUBLIC LOGICAL AddArray (TestInfo[])

Purpose: Appends all the elements in the array this list, optionally
at the specified position.
Parameters:
c OpenEdge.ABLUnit.Reflection.TestInfo
Returns LOGICAL
Top

PUBLIC Clear ()

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Top

PUBLIC Object Clone ()

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
/* Deep clone. or rather deep enough since we don't know what the elements' Clone()
operations do, so this may end up being a memberwise clone
Returns Object
Top

PROTECTED CloneElements (ICollection)

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
poClone ICollection
Top

PUBLIC LOGICAL Contains (Object)

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
checkObject Object
Returns LOGICAL
Top

PUBLIC LOGICAL Contains (TestInfo)

/* Returns true if this list contains the specified element.
Parameters:
o OpenEdge.ABLUnit.Reflection.TestInfo
Returns LOGICAL
Top

PUBLIC LOGICAL ContainsAll (ICollection)

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
poCollection ICollection
Returns LOGICAL
Top

PUBLIC LOGICAL ContainsAll (ITestInfoList)

/* Returns true if this list contains all of the elements of the
specified collection.
Parameters:
c OpenEdge.ABLUnit.Reflection.ITestInfoList
Returns LOGICAL
Top

PUBLIC LOGICAL Equals (Object)

Inherited from OpenEdge.Core.Collections.List
/* Two Lists are defined to be equal if they are the same size and
all of the elements in this collection are in the to-compare List and
in the same sequence.
Parameters:
o Object
Returns LOGICAL
logical TRUE if the Lists are equal. FALSE otherwise
Top

PROTECTED FindBufferUseObject (Object)

Overrides OpenEdge.Core.Collections.List:FindBufferUseObject (Object)
/* override this in subclass - used by remove(obj) and others
Parameters:
obj Object
Top

PROTECTED FindBufferUseObject (Object, buffer)

Inherited from OpenEdge.Core.Collections.List
/* Find the FIRST reference of the search object; the search order
is by the List's Sequence. This means that if there are 2 instances
of this object, a dev will need to iterate over the collection to
determine which ones match.
The input buffer is RELEASED (so that we don't leak scope).
Parameters:
findObject Object
pbList buffer
Top

PUBLIC Object Get (integer)

Inherited from OpenEdge.Core.Collections.List
/* Returns the object represented by the index
Parameters:
i INTEGER
Returns Object
Object The object represented by the sequence. May be ?
Top

PUBLIC OpenEdge.ABLUnit.Reflection.TestInfo GetTestInfo (integer)

/* Returns the element at the specified position in this list.
Parameters:
i INTEGER
Returns OpenEdge.ABLUnit.Reflection.TestInfo
Top

PUBLIC INTEGER IndexOf (Object)

Inherited from OpenEdge.Core.Collections.List
Parameters:
obj Object
Returns INTEGER
Top

PUBLIC INTEGER IndexOf (TestInfo)

/* Returns the index in this list of the first occurrence of the specified
element, or 0 if this list does not contain this element.
Parameters:
o OpenEdge.ABLUnit.Reflection.TestInfo
Returns INTEGER
Top

PUBLIC LOGICAL IsEmpty ()

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Returns LOGICAL
Top

PUBLIC IIterator Iterator ()

Overrides OpenEdge.Core.Collections.List:Iterator ()
/* Returns a new IIterator over the collection.
Returns IIterator
Top

PUBLIC INTEGER LastIndexOf (Object)

Inherited from OpenEdge.Core.Collections.List
Parameters:
obj Object
Returns INTEGER
Top

PUBLIC INTEGER LastIndexOf (TestInfo)

/* Returns the index in this list of the last occurrence of the
specified element, or 0 if this list does not contain this element.
Parameters:
o OpenEdge.ABLUnit.Reflection.TestInfo
Returns INTEGER
Top

PUBLIC IListIterator ListIterator ()

Inherited from OpenEdge.Core.Collections.List
/* Returns a new IListIterator over the collection.
Returns IListIterator
Top

PUBLIC IListIterator ListIterator (integer)

Inherited from OpenEdge.Core.Collections.List
/* Returns a new IListIterator over the collection.
Parameters:
i INTEGER
Returns IListIterator
Top

PUBLIC Object Remove (integer)

Inherited from OpenEdge.Core.Collections.List
Purpose: Removes an item at the given index
Parameters:
i INTEGER
Returns Object
Progress.Lang.Object The item that was removed.
Top

PUBLIC LOGICAL Remove (Object)

Overrides OpenEdge.Core.Collections.List:Remove (Object)
Parameters:
oldObject Object
Returns LOGICAL
Top

PUBLIC LOGICAL Remove (TestInfo)

/* Removes the first occurrence in this list of the specified element
(optional operation).
Parameters:
o OpenEdge.ABLUnit.Reflection.TestInfo
Returns LOGICAL
Top

PUBLIC LOGICAL RemoveAll (ICollection)

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
collection ICollection
Returns LOGICAL
Top

PUBLIC LOGICAL RemoveAll (ITestInfoList)

/* Removes from this list all the elements that are contained in the
specified collection (optional operation).
Parameters:
c OpenEdge.ABLUnit.Reflection.ITestInfoList
Returns LOGICAL
Top

PUBLIC OpenEdge.ABLUnit.Reflection.TestInfo RemoveTestInfo (integer)

/* Removes the element at the specified position in this list
(optional operation).
Parameters:
i INTEGER
Returns OpenEdge.ABLUnit.Reflection.TestInfo
Top

PROTECTED Resize ()

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Purpose: Recalculates the Size of this collections.
Used particularly by Lists since there are operations
like Remove() that are index-based and not item-based.
Top

PUBLIC LOGICAL RetainAll (ICollection)

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
oCol ICollection
Returns LOGICAL
Top

PUBLIC LOGICAL RetainAll (ITestInfoList)

/* Retains only the elements in this list that are contained in the
specified collection (optional operation).
Parameters:
c OpenEdge.ABLUnit.Reflection.ITestInfoList
Returns LOGICAL
Top

PUBLIC Object Set (integer, Object)

Inherited from OpenEdge.Core.Collections.List
Parameters:
i INTEGER
poReplacement Object
Returns Object
Top

PUBLIC OpenEdge.ABLUnit.Reflection.TestInfo Set (integer, TestInfo)

/* Replaces the element at the specified position in this list with the
specified element (optional operation).
Parameters:
i INTEGER
o OpenEdge.ABLUnit.Reflection.TestInfo
Returns OpenEdge.ABLUnit.Reflection.TestInfo
Top

PUBLIC OpenEdge.Core.Collections.IList SubList (integer, integer)

Inherited from OpenEdge.Core.Collections.List
/* Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.
The fromIndex value must be positive and <= this list's Size
The toIndex value must be positive and <= this list's Size
The fromIndex value must be <= toIndex value
If fromIndex and toIndex are equal, the returned list has 1 entry.
Parameters:
fromIndex INTEGER
toIndex INTEGER
Returns OpenEdge.Core.Collections.IList
IList a List containing the items. Has at least 1 entry.
Top

PUBLIC OpenEdge.ABLUnit.Reflection.ITestInfoList SubListTestInfo (integer, integer)

/* Returns a view of the portion of this list between the specified
fromIndex, inclusive, and toIndex, exclusive.
Parameters:
fromIndex INTEGER
toIndex INTEGER
Returns OpenEdge.ABLUnit.Reflection.ITestInfoList
Top

PUBLIC Object ToArray ()

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
/* ToArray should not be used with large collections
If there is too much data the ABL will throw:
Attempt to update data exceeding 32000. (12371)
Returns Object
Top

PUBLIC ToTable (table-handle)

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
tt TABLE-HANDLE
Top

PUBLIC OpenEdge.ABLUnit.Reflection.TestInfo ToTestInfoArray ()

/* returns the contents of the list as an array
Returns OpenEdge.ABLUnit.Reflection.TestInfo


Constructor Detail
Top

PUBLIC TestInfoList ()

Top

PUBLIC TestInfoList (ITestInfoList)

Parameters:
list OpenEdge.ABLUnit.Reflection.ITestInfoList


Property Detail
Top

PUBLIC INTEGER Size

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Returns INTEGER


Copyright © 2020 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 12.2.0