PHP Class Jarves\Tests\KernelAwareTestCase

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

Protected Properties

Свойство Type Description
$allCookies
$container

Méthodes publiques

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

Méthodes protégées

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

Method Details

call() public méthode

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

createClient() protected static méthode

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
Résultat Symfony\Bundle\FrameworkBundle\Client A Client instance

getRoot() protected méthode

protected getRoot ( )

login() public méthode

public login ( )

resetCookies() public méthode

public resetCookies ( )

restCall() public méthode

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

setUp() public méthode

public setUp ( )

Property Details

$allCookies protected_oe property

protected $allCookies

$container protected_oe property

protected $container