Same name in other branches
  1. 5.0.x advagg_validator/tests/src/Functional/ValidatorPagesTest.php \Drupal\Tests\advagg_validator\Functional\ValidatorPagesTest
  2. 6.0.x advagg_validator/tests/src/Functional/ValidatorPagesTest.php \Drupal\Tests\advagg_validator\Functional\ValidatorPagesTest
  3. 8.x-2.x advagg_validator/src/Tests/ValidatorPagesTest.php \Drupal\advagg_validator\Tests\ValidatorPagesTest
  4. 8.x-4.x advagg_validator/tests/src/Functional/ValidatorPagesTest.php \Drupal\Tests\advagg_validator\Functional\ValidatorPagesTest

Tests that all the AdvAgg validator path(s) return valid content.

@group advagg

Hierarchy

  • class \Drupal\Tests\advagg\functional\AdvaggFunctionalTestBase extends \Drupal\Tests\BrowserTestBase
    • class \Drupal\Tests\advagg\Functional\AdminPagesTest extends \Drupal\Tests\advagg\Functional\AdvaggFunctionalTestBase
      • class \Drupal\Tests\advagg_validator\Functional\ValidatorPagesTest extends \Drupal\Tests\advagg\Functional\AdminPagesTest

Expanded class hierarchy of ValidatorPagesTest

Sujets associés

Fichier

advagg_validator/tests/src/Functional/ValidatorPagesTest.php, line 14

Namespace

Drupal\Tests\advagg_validator\Functional
View source
class ValidatorPagesTest extends AdminPagesTest {
    
    /**
     * Modules to enable.
     *
     * @var array
     */
    public static $modules = [
        'advagg_validator',
    ];
    
    /**
     * Routes to test.
     *
     * @var array
     */
    public $routes = [];
    // Should be ['advagg_validator.jshint',
    // 'advagg_validator.csslint',
    // 'advagg_validator.cssw3']
    // Disabling temporarily due to memory issues while testing.
    // memory usage on validation pages should be fixed.

}

Members

Titre Trier par ordre décroissant Modifiers Object type Résumé Overriden Title
AdminPagesTest::testLoad public function Tests that the main admin path returns correct contents.
AdvaggFunctionalTestBase::$user protected property A user with permission to administer site configuration.
AdvaggFunctionalTestBase::setUp protected function
ValidatorPagesTest::$modules public static property Modules to enable. Overrides AdvaggFunctionalTestBase::$modules
ValidatorPagesTest::$routes public property Routes to test. Overrides AdminPagesTest::$routes