PHP Class Sanpi\Behatch\Context\TableContext

Inheritance: extends BaseContext
ファイルを表示 Open project: behatch/contexts

Public Methods

Method Description
iShouldSeeColumnsInTheTable ( $count, $table ) Checks that the specified table contains the given number of columns
iShouldSeeRowsInTheNthTable ( $count, $index, $table ) Checks that the specified table contains the specified number of rows in its body
iShouldSeeRowsInTheTable ( $count, $table ) Checks that the specified table contains the specified number of rows in its body
theColumnsSchemaShouldMatch ( $table, Behat\Gherkin\Node\TableNode $text ) Checks that the specified table's columns match the given schema
theDataOfTheRowShouldMatch ( $index, $table, Behat\Gherkin\Node\TableNode $text ) Checks that the data of the specified row matches the given schema
theStColumnOfTheStRowInTheTableShouldContain ( $colIndex, $rowIndex, $table, $text ) Checks that the specified cell (column/row) of the table's body contains the specified text

Method Details

iShouldSeeColumnsInTheTable() public method

Checks that the specified table contains the given number of columns
public iShouldSeeColumnsInTheTable ( $count, $table )

iShouldSeeRowsInTheNthTable() public method

Checks that the specified table contains the specified number of rows in its body
public iShouldSeeRowsInTheNthTable ( $count, $index, $table )

iShouldSeeRowsInTheTable() public method

Checks that the specified table contains the specified number of rows in its body
public iShouldSeeRowsInTheTable ( $count, $table )

theColumnsSchemaShouldMatch() public method

Checks that the specified table's columns match the given schema
public theColumnsSchemaShouldMatch ( $table, Behat\Gherkin\Node\TableNode $text )
$text Behat\Gherkin\Node\TableNode

theDataOfTheRowShouldMatch() public method

Checks that the data of the specified row matches the given schema
public theDataOfTheRowShouldMatch ( $index, $table, Behat\Gherkin\Node\TableNode $text )
$text Behat\Gherkin\Node\TableNode

theStColumnOfTheStRowInTheTableShouldContain() public method

Checks that the specified cell (column/row) of the table's body contains the specified text
public theStColumnOfTheStRowInTheTableShouldContain ( $colIndex, $rowIndex, $table, $text )