PHP Class Sanpi\Behatch\Context\BaseContext

Inheritance: extends Behat\MinkExtension\Context\RawMinkContext, implements Behat\Behat\Context\TranslatableContext
Afficher le fichier Open project: behatch/contexts

Méthodes publiques

Méthode Description
castToInt ( $count )
getTranslationResources ( )

Méthodes protégées

Méthode Description
assert ( $test, $message )
assertArrayHasKey ( $key, $array, $message = null )
assertArrayNotHasKey ( $key, $array, $message = null )
assertContains ( $expected, $actual, $message = null )
assertCount ( $expected, array $elements, $message = null )
assertEquals ( $expected, $actual, $message = null )
assertFalse ( $value, $message = 'The value is true' )
assertNotContains ( $expected, $actual, $message = null )
assertSame ( $expected, $actual, $message = null )
assertTrue ( $value, $message = 'The value is false' )
countElements ( $element, $index, $parent )
findElement ( $selector, $locator, $index )
getMinkContext ( )
not ( callable $callbable, $errorMessage )

Method Details

assert() protected méthode

protected assert ( $test, $message )

assertArrayHasKey() protected méthode

protected assertArrayHasKey ( $key, $array, $message = null )

assertArrayNotHasKey() protected méthode

protected assertArrayNotHasKey ( $key, $array, $message = null )

assertContains() protected méthode

protected assertContains ( $expected, $actual, $message = null )

assertCount() protected méthode

protected assertCount ( $expected, array $elements, $message = null )
$elements array

assertEquals() protected méthode

protected assertEquals ( $expected, $actual, $message = null )

assertFalse() protected méthode

protected assertFalse ( $value, $message = 'The value is true' )

assertNotContains() protected méthode

protected assertNotContains ( $expected, $actual, $message = null )

assertSame() protected méthode

protected assertSame ( $expected, $actual, $message = null )

assertTrue() protected méthode

protected assertTrue ( $value, $message = 'The value is false' )

castToInt() public méthode

public castToInt ( $count )

countElements() protected méthode

protected countElements ( $element, $index, $parent )

findElement() protected méthode

protected findElement ( $selector, $locator, $index )

getMinkContext() protected méthode

protected getMinkContext ( )

getTranslationResources() public static méthode

public static getTranslationResources ( )

not() protected méthode

protected not ( callable $callbable, $errorMessage )
$callbable callable