function GenerateThemeTest::testGenerateTheme

Same name and namespace in other branches
  1. main core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php \Drupal\BuildTests\Command\GenerateThemeTest::testGenerateTheme()

Tests the generate-theme command.

File

core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php, line 224

Class

GenerateThemeTest
Tests the generate-theme commands.

Namespace

Drupal\BuildTests\Command

Code

public function testGenerateTheme() : void {
  $this->doTestGenerateTheme();
  $this->deleteGeneratedTheme('test_custom_theme');
  $this->doTestGeneratingFromAnotherTheme();
  $this->deleteGeneratedTheme('test_custom_theme');
  $this->doTestDevSnapshot();
  $this->deleteGeneratedTheme('test_custom_theme');
  $this->doTestContribStarterkit();
  $this->deleteGeneratedTheme('test_custom_theme');
}

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