trait RemoteCookieTestTrait in Bakery Single Sign-On System 8.2
Hierarchy
- trait \Drupal\Tests\bakery\Traits\RemoteCookieTestTrait uses CookieTestTrait
2 files declare their use of RemoteCookieTestTrait
- GingerbreadTest.php in tests/
src/ Unit/ Cookies/ GingerbreadTest.php - StroopwafelTest.php in tests/
src/ Unit/ Cookies/ StroopwafelTest.php
File
- tests/
src/ Traits/ RemoteCookieTestTrait.php, line 5
Namespace
Drupal\Tests\bakery\TraitsView source
trait RemoteCookieTestTrait {
use CookieTestTrait;
/**
* @var string
*/
protected $remotePath;
/**
* @covers ::getPath
* @dataProvider provideTestData
*/
public function testGetPath($data) {
$this
->assertEquals($this->remotePath, $this->cookie::fromData($data)
->getPath());
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CookieTestTrait:: |
protected | property | ||
CookieTestTrait:: |
protected | property | ||
CookieTestTrait:: |
protected | property | ||
CookieTestTrait:: |
protected | property | ||
CookieTestTrait:: |
protected | property | ||
CookieTestTrait:: |
abstract public | function | 5 | |
CookieTestTrait:: |
protected | function | ||
CookieTestTrait:: |
public | function | @covers ::__construct @covers ::toData @covers ::fromData @dataProvider provideTestData | |
CookieTestTrait:: |
public | function | @covers ::getName | |
RemoteCookieTestTrait:: |
protected | property | ||
RemoteCookieTestTrait:: |
public | function | @covers ::getPath @dataProvider provideTestData |