class VarnishBundledPurgerFormTest in Varnish purger 8.2
Same name and namespace in other branches
- 8 src/Tests/VarnishBundledPurgerFormTest.php \Drupal\varnish_purger\Tests\VarnishBundledPurgerFormTest
Tests \Drupal\varnish_purger\Form\VarnishBundledPurgerForm.
@group varnish_purger
Hierarchy
- class \Drupal\varnish_purger\Tests\VarnishPurgerFormTestBase extends \Drupal\purge_ui\Tests\PurgerConfigFormTestBase
- class \Drupal\varnish_purger\Tests\VarnishBundledPurgerFormTest
Expanded class hierarchy of VarnishBundledPurgerFormTest
File
- src/
Tests/ VarnishBundledPurgerFormTest.php, line 10
Namespace
Drupal\varnish_purger\TestsView source
class VarnishBundledPurgerFormTest extends VarnishPurgerFormTestBase {
/**
* The full class of the form being tested.
*
* @var string
*/
protected $formClass = 'Drupal\\varnish_purger\\Form\\VarnishBundledPurgerForm';
/**
* The plugin ID for which the form tested is rendered for.
*
* @var string
*/
protected $plugin = 'varnishbundled';
/**
* The token group names the form is supposed to display.
*
* @see purge_tokens_token_info()
*
* @var string[]
*/
protected $tokenGroups = [
'invalidations',
];
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
VarnishBundledPurgerFormTest:: |
protected | property | The full class of the form being tested. | |
VarnishBundledPurgerFormTest:: |
protected | property | The plugin ID for which the form tested is rendered for. | |
VarnishBundledPurgerFormTest:: |
protected | property | The token group names the form is supposed to display. | |
VarnishPurgerFormTestBase:: |
public static | property | Modules to enable. | |
VarnishPurgerFormTestBase:: |
public | function | Verify that the form contains all fields we require. | |
VarnishPurgerFormTestBase:: |
public | function | Test posting data to the HTTP Purger settings form. | |
VarnishPurgerFormTestBase:: |
public | function | Test validating the data. | |
VarnishPurgerFormTestBase:: |
public | function | Tests \Drupal\varnish_purger\Form\VarnishPurgerFormBase::buildFormTokensHelp(). |