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

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

@group advagg

Hierarchy

  • class \Drupal\Tests\advagg\functional\AdvaggFunctionalTestBase extends \Drupal\Tests\BrowserTestBase uses \Drupal\Core\StringTranslation\StringTranslationTrait
    • class \Drupal\Tests\advagg\Functional\AdminPagesTest extends \Drupal\Tests\advagg\Functional\AdvaggFunctionalTestBase
      • class \Drupal\Tests\advagg_css_minify\Functional\CssMinifyPagesTest extends \Drupal\Tests\advagg\Functional\AdminPagesTest

Expanded class hierarchy of CssMinifyPagesTest

Related topics

File

advagg_css_minify/tests/src/Functional/CssMinifyPagesTest.php, line 14

Namespace

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

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
AdminPagesTest::testLoad public function Tests that the main admin path returns correct contents.
AdvaggFunctionalTestBase::$defaultTheme protected property
AdvaggFunctionalTestBase::$user protected property A user with permission to administer site configuration.
AdvaggFunctionalTestBase::setUp protected function
CssMinifyPagesTest::$modules protected static property Modules to enable. Overrides AdvaggFunctionalTestBase::$modules
CssMinifyPagesTest::$routes public property Routes to test. Overrides AdminPagesTest::$routes