PHP 클래스 Sanpi\Behatch\Context\TableContext

상속: extends BaseContext
파일 보기 프로젝트 열기: behatch/contexts

공개 메소드들

메소드 설명
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 )