Class TestCase
Created by PhpStorm. User: manus Date: 16/03/16 Time: 9:59
- PHPUnit_Framework_TestCase
-
GLFramework\Tests\TestCase
public
|
|
protected
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
|
protected
|
|
public
|
|
public
|
#
dontSeeLink( string $text, string|null $url = null )
Assert that a given link is not seen on the page. |
public
|
#
seeInField( string $selector, string $expected )
Assert that an input field contains the given value. |
public
|
#
dontSeeInField( string $selector, string $value )
Assert that an input field does not contain the given value. |
public
|
|
public
|
|
public
|
|
public
|
|
protected
string
|
|
protected
string|null
|
|
protected
string|null
|
#
getSelectedValueFromSelect( Symfony\Component\DomCrawler\Crawler $field )
Get the selected value from a select field. |
protected
string|null
|
#
getCheckedValueFromRadioGroup( Symfony\Component\DomCrawler\Crawler $radioGroup )
Get the checked value from a radio group. |
protected
boolean
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
#
submitForm( string $buttonText, array $inputs = [], array $uploads = [] )
Submit a form on the page with the given input. |
protected
Symfony\Component\DomCrawler\Form
|
|
protected
Symfony\Component\DomCrawler\Form
|
|
protected
|
|
protected
|
|
protected
Symfony\Component\DomCrawler\Crawler
|
#
filterByNameOrId( string $name, array|string $elements = '*' )
Filter elements according to the given name or ID attribute. |
protected
Symfony\Component\DomCrawler\Crawler
|
$crawler
|
|
protected
|
$response
|
|
protected
array
|
$inputs
|
#
array()
|
protected
array
|
$uploads
|
#
array()
|