public function FapiExampleTest::testFunctional in Examples for Developers 8
Same name and namespace in other branches
- 3.x modules/form_api_example/tests/src/Functional/FapiExampleTest.php \Drupal\Tests\form_api_example\Functional\FapiExampleTest::testFunctional()
Aggregate all the tests.
Since this is a functional test, and we don't expect to need isolation between these form tests, we'll aggregate them here for speed's sake. That way the testing system doesn't have to rebuild a new Drupal for us for each test.
File
- form_api_example/
tests/ src/ Functional/ FapiExampleTest.php, line 45
Class
- FapiExampleTest
- Ensure that the form_api_example forms work properly.
Namespace
Drupal\Tests\form_api_example\FunctionalCode
public function testFunctional() {
// Please fail this one first.
$this
->doTestRoutes();
$this
->doTestAjaxAddMore();
$this
->doTestAjaxColorForm();
$this
->doTestBuildDemo();
$this
->doTestContainerDemoForm();
$this
->doTestInputDemoForm();
$this
->doTestModalForm();
$this
->doTestSimpleFormExample();
$this
->doTestStateDemoForm();
$this
->doTestVerticalTabsDemoForm();
}