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

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

@group advagg

Hierarchy

  • class \Drupal\advagg\Tests\AdvaggTestBase extends \Drupal\simpletest\WebTestBase
    • class \Drupal\advagg\Tests\AdminPagesTest extends \Drupal\advagg\Tests\AdvaggTestBase
      • class \Drupal\advagg_js_minify\Tests\JsMinifyPagesTest extends \Drupal\advagg\Tests\AdminPagesTest

Expanded class hierarchy of JsMinifyPagesTest

Sujets associés

Fichier

advagg_js_minify/src/Tests/JsMinifyPagesTest.php, line 14

Namespace

Drupal\advagg_js_minify\Tests
View source
class JsMinifyPagesTest extends AdminPagesTest {
    
    /**
     * Modules to enable.
     *
     * @var array
     */
    public static $modules = [
        'advagg_js_minify',
    ];
    
    /**
     * Routes to test.
     *
     * @var array
     */
    public $routes = [
        'advagg_js_minify.settings',
    ];

}

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.
AdvaggTestBase::$config protected property Editable Advagg configuration.
AdvaggTestBase::$systemConfig protected property Editable system configuration.
AdvaggTestBase::$user protected property A user with permission to administer site configuration.
AdvaggTestBase::setUp protected function
JsMinifyPagesTest::$modules public static property Modules to enable. Overrides AdvaggTestBase::$modules
JsMinifyPagesTest::$routes public property Routes to test. Overrides AdminPagesTest::$routes