FunctionalJavascriptTestSuite.php

Same filename in other branches
  1. 8.9.x core/tests/TestSuites/FunctionalJavascriptTestSuite.php
  2. 10 core/tests/TestSuites/FunctionalJavascriptTestSuite.php
  3. 11.x core/tests/TestSuites/FunctionalJavascriptTestSuite.php

Namespace

Drupal\Tests\TestSuites

File

core/tests/TestSuites/FunctionalJavascriptTestSuite.php

View source
<?php

namespace Drupal\Tests\TestSuites;

require_once __DIR__ . '/TestSuiteBase.php';

/**
 * Discovers tests for the functional-javascript test suite.
 */
class FunctionalJavascriptTestSuite extends TestSuiteBase {
    
    /**
     * Factory method which loads up a suite with all functional javascript tests.
     *
     * @return static
     *   The test suite.
     */
    public static function suite() {
        $root = dirname(__DIR__, 3);
        $suite = new static('functional-javascript');
        $suite->addTestsBySuiteNamespace($root, 'FunctionalJavascript');
        return $suite;
    }

}

Classes

Title Deprecated Summary
FunctionalJavascriptTestSuite Discovers tests for the functional-javascript test suite.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.