function FapiExampleTest::testFunctional

Same name in other branches
  1. 3.x modules/form_api_example/tests/src/Functional/FapiExampleTest.php \Drupal\Tests\form_api_example\Functional\FapiExampleTest::testFunctional()
  2. 8.x-1.x 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

modules/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\Functional

Code

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();
}