Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
43
vendor/drupal/console/Test/Generator/CommandGeneratorTest.php
vendored
Normal file
43
vendor/drupal/console/Test/Generator/CommandGeneratorTest.php
vendored
Normal file
|
@ -0,0 +1,43 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\Console\Test\Generator\CommandGeneratorTest.
|
||||
*/
|
||||
|
||||
namespace Drupal\Console\Test\Generator;
|
||||
|
||||
use Drupal\Console\Generator\CommandGenerator;
|
||||
use Drupal\Console\Test\DataProvider\CommandDataProviderTrait;
|
||||
|
||||
class CommandGeneratorTest extends GeneratorTest
|
||||
{
|
||||
use CommandDataProviderTrait;
|
||||
|
||||
/**
|
||||
* @param $module
|
||||
* @param $name
|
||||
* @param $class
|
||||
* @param $containerAware
|
||||
*
|
||||
* @dataProvider commandData
|
||||
*/
|
||||
public function testGenerateCommand(
|
||||
$module,
|
||||
$name,
|
||||
$class,
|
||||
$containerAware
|
||||
) {
|
||||
$generator = new CommandGenerator();
|
||||
$this->getRenderHelper()->setSkeletonDirs($this->getSkeletonDirs());
|
||||
$this->getRenderHelper()->setTranslator($this->getTranslatorHelper());
|
||||
$generator->setHelperSet($this->getHelperSet());
|
||||
|
||||
$generator->generate(
|
||||
$module,
|
||||
$name,
|
||||
$class,
|
||||
$containerAware
|
||||
);
|
||||
}
|
||||
}
|
Reference in a new issue