TestTabularData (class)
public abstract TestTabularData
Import from: CURL.GUI.STANDARD. Defined in package CURL.GUI.CONTROL-BASE.
Direct Known Subclasses: RecordGrid

An interface for use with the visual testing infrastructure for getting data from a table.


Methods
get-test-tabular-attributes:Return table row information for visual testing purposes.
public abstract {TestTabularData.get-test-tabular-attributes
}:(full-size:int, min-visible-row:int, max-visible-row:int)
get-test-tabular-data:Return table data for visual testing purposes.
public abstract {TestTabularData.get-test-tabular-data
    min-row:int,
    max-row:int
}:(column-titles:StringVec, data:FastArray)
Methods inherited from Object: object-describe, object-describe-for-debugging, object-serialize

Method Details
get-test-tabular-attributes (method)
public abstract {TestTabularData.get-test-tabular-attributes
}:(full-size:int, min-visible-row:int, max-visible-row:int)

Return table row information for visual testing purposes.

Returns

The total number of rows and the range of visible rows in the table.


get-test-tabular-data (method)
public abstract {TestTabularData.get-test-tabular-data
    min-row:int,
    max-row:int
}:(column-titles:StringVec, data:FastArray)

Return table data for visual testing purposes.

min-row: The index of the first row for which data should be obtained.
max-row: The index of the last row for which data should be obtained.

Returns

A StringVec of the column headers followed by a FastArray containing the table data. The size of column-titles indicates the number of columns. The size of data should be column-titles.size * (max-row - min-row).