function GenerateThemeTest::runCommand

Same name in other branches
  1. 10 core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php \Drupal\BuildTests\Command\GenerateThemeTest::runCommand()
7 calls to GenerateThemeTest::runCommand()
GenerateThemeTest::testDeleteDirectory in core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php
GenerateThemeTest::testIncludeDotFiles in core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php
GenerateThemeTest::testInfoOverrides in core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php
GenerateThemeTest::testNoEdit in core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php
GenerateThemeTest::testNoEditMissingFilesWarning in core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php

... See full list

File

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

Class

GenerateThemeTest
Tests the generate-theme commands.

Namespace

Drupal\BuildTests\Command

Code

private function runCommand(array $input) : CommandTester {
    $tester = new CommandTester(new GenerateTheme(NULL, $this->getWorkspaceDirectory()));
    $tester->execute($input, [
        'capture_stderr_separately' => TRUE,
    ]);
    return $tester;
}

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