PHP Класс Sanpi\Behatch\Context\TableContext

Наследование: extends BaseContext
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

iShouldSeeColumnsInTheTable() публичный Метод

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

iShouldSeeRowsInTheNthTable() публичный Метод

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

iShouldSeeRowsInTheTable() публичный Метод

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

theColumnsSchemaShouldMatch() публичный Метод

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() публичный Метод

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() публичный Метод

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