public class ExpectedRow extends Object implements Comparable<ExpectedRow>
Modifier and Type | Class and Description |
---|---|
static class |
ExpectedRow.KeyNotFound |
Constructor and Description |
---|
ExpectedRow(int rowNumber)
Represents a row of the actual table that was specified in the test.
|
Modifier and Type | Method and Description |
---|---|
void |
addExpectedColumn(ExpectedColumn column) |
int |
compareTo(ExpectedRow o) |
boolean |
equals(Object object)
Compares an instance of this type with a given object.
|
ExpectedColumn |
getColumn(String key)
Retrieves the expected cell for this row for a given name.
|
SortedSet<ExpectedColumn> |
getExpectedColumns() |
int |
getRowNumber() |
int |
hashCode() |
public ExpectedRow(int rowNumber)
rowNumber
- - the position of the row in the tablepublic int getRowNumber()
public SortedSet<ExpectedColumn> getExpectedColumns()
public void addExpectedColumn(ExpectedColumn column)
public ExpectedColumn getColumn(String key)
key
- - the name of the columnExpectedRow.KeyNotFound
- exception if the key is not presentpublic int compareTo(ExpectedRow o)
compareTo
in interface Comparable<ExpectedRow>
public boolean equals(Object object)
Copyright © 2020. All rights reserved.