Namespace: OpenEdge.ABLUnit.Results
Class
TestResultList
Parent classes:
Inherits: OpenEdge.Core.Collections.List

/* *************************************************************************************************************************
Copyright (c) 2020 by Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
File:TestResultList
Purpose:A list of TestTestResults, for cases where there are multiple failures in running a test,
such as when one or more of the BeforeEach, test or AfterEach methods fails
Author(s):pjudge
Created:2020-01-07




Method Summary
Options Name Purpose
LOGICAL Add (integer, TestTestResult) /* Inserts the specified element at the specified position in this list (optional operation).*/
LOGICAL Add (TestTestResult) /* Appends the specified element to the end of this list (optional operation). */
LOGICAL AddArray (integer, TestTestResult[])
LOGICAL AddArray (TestTestResult[]) /** Appends all the elements in the array this list, optionally at the specified position. */
LOGICAL Contains (TestTestResult) /* Returns true if this list contains the specified element. */
OpenEdge.ABLUnit.Results.TestTestResult GetTestTestResult (integer) /* Returns the element at the specified position in this list. */
INTEGER IndexOf (TestTestResult) /* Returns the index in this list of the first occurrence of the specified element, or 0 if this list does not contain this element. */
INTEGER LastIndexOf (TestTestResult) /* Returns the index in this list of the last occurrence of the specified element, or 0 if this list does not contain this element. */
LOGICAL Remove (TestTestResult) /* Removes the first occurrence in this list of the specified element (optional operation). */
OpenEdge.ABLUnit.Results.TestTestResult RemoveTestTestResult (integer) /* Removes the element at the specified position in this list (optional operation). */
OpenEdge.ABLUnit.Results.TestTestResult Set (integer, TestTestResult) /* Replaces the element at the specified position in this list with the specified element (optional operation). */
OpenEdge.Core.Collections.IList SubListTestTestResult (integer, integer) /* Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive. */
OpenEdge.ABLUnit.Results.TestTestResult ToTestTestResultArray () /* returns the contents of the list as an array */

Constructor Summary
Options Name Purpose
TestResultList ()
TestResultList (IList)


Method Detail
Top

LOGICAL Add (integer, TestTestResult)

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

LOGICAL Add (TestTestResult)

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

LOGICAL AddArray (integer, TestTestResult[])

Parameters:
i INTEGER
c OpenEdge.ABLUnit.Results.TestTestResult
Returns LOGICAL
Top

LOGICAL AddArray (TestTestResult[])

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

LOGICAL Contains (TestTestResult)

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

OpenEdge.ABLUnit.Results.TestTestResult GetTestTestResult (integer)

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

INTEGER IndexOf (TestTestResult)

/* 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.Results.TestTestResult
Returns INTEGER
Top

INTEGER LastIndexOf (TestTestResult)

/* 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.Results.TestTestResult
Returns INTEGER
Top

LOGICAL Remove (TestTestResult)

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

OpenEdge.ABLUnit.Results.TestTestResult RemoveTestTestResult (integer)

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

OpenEdge.ABLUnit.Results.TestTestResult Set (integer, TestTestResult)

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

OpenEdge.Core.Collections.IList SubListTestTestResult (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.Core.Collections.IList
Top

OpenEdge.ABLUnit.Results.TestTestResult ToTestTestResultArray ()

/* returns the contents of the list as an array
Returns OpenEdge.ABLUnit.Results.TestTestResult


Constructor Detail
Top

TestResultList ()

Top

TestResultList (IList)

Parameters:
list OpenEdge.Core.Collections.IList


Copyright © 2021 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 12.4.0