PHP Class Jarves\Tests\KernelAwareTestCase

Inheritance: extends Symfony\Bundle\FrameworkBundle\Test\WebTestCase, use trait ContainerHelperTrait
Mostra file Open project: jarves/jarves Class Usage Examples

Protected Properties

Property Type Description
$allCookies
$container

Public Methods

Method Description
call ( $path = '/', $method = 'GET', $parameters = [] )
login ( )
resetCookies ( )
restCall ( $path = '/', $method = 'GET', $postData = null, $failOnError = true )
setUp ( )

Protected Methods

Method Description
createClient ( array $options = [], array $server = [] ) : Client Creates a Client.
getRoot ( )

Method Details

call() public method

public call ( $path = '/', $method = 'GET', $parameters = [] )

createClient() protected static method

Creates a Client.
protected static createClient ( array $options = [], array $server = [] ) : Client
$options array An array of options to pass to the createKernel class
$server array An array of server parameters
return Symfony\Bundle\FrameworkBundle\Client A Client instance

getRoot() protected method

protected getRoot ( )

login() public method

public login ( )

resetCookies() public method

public resetCookies ( )

restCall() public method

public restCall ( $path = '/', $method = 'GET', $postData = null, $failOnError = true )

setUp() public method

public setUp ( )

Property Details

$allCookies protected_oe property

protected $allCookies

$container protected_oe property

protected $container