Class AndCell

All Implemented Interfaces:
SimpleCell

public class AndCell extends AbstractSimpleCell
A composite SimpleCell that AND's all the simple cells together.
Since:
v3.12
  • Constructor Details

  • Method Details

    • getCellAsText

      public String getCellAsText(com.meterware.httpunit.WebTable table, int row, int col)
      Need to find which SimpleCell to get the cell as text from, since there could be a mix of different SimpleCell types which want to display different information about the WebTable cell.
      Specified by:
      getCellAsText in interface SimpleCell
      Overrides:
      getCellAsText in class AbstractSimpleCell
      Parameters:
      table - table to lookup
      row - row index of table
      col - col index of table
      Returns:
      interesting information about the cell for the cell that is not equal to this cell.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(com.meterware.httpunit.WebTable table, int row, int col)
      AND's all the simple cells together for the specified table cell
      Parameters:
      table - table to compare
      row - row index of table
      col - col index of table
      Returns:
      true if ALL the simpleCells evaluate true for the given table cell