Home
last modified time | relevance | path

Searched refs:commandTester (Results 1 – 25 of 31) sorted by relevance

12

/dports/mail/phplist/phplist-3.6.6/public_html/lists/base/vendor/symfony/symfony/src/Symfony/Component/Console/Tests/Command/
H A DHelpCommandTest.php26 $commandTester = new CommandTester($command);
27 $commandTester->execute(['command_name' => 'li'], ['decorated' => false]);
36 $commandTester = new CommandTester($command);
38 $commandTester->execute([], ['decorated' => false]);
41 …$this->assertStringContainsString('raw', $commandTester->getDisplay(), '->execute() returns a text…
47 $commandTester = new CommandTester($command);
49 $commandTester->execute(['--format' => 'xml']);
56 $commandTester = new CommandTester($application->get('help'));
57 $commandTester->execute(['command_name' => 'list']);
66 $commandTester = new CommandTester($application->get('help'));
[all …]
H A DListCommandTest.php23 $commandTester = new CommandTester($command = $application->get('list'));
32 $commandTester = new CommandTester($command = $application->get('list'));
40 $commandTester = new CommandTester($command = $application->get('list'));
41 $commandTester->execute(['command' => $command->getName(), '--raw' => true]);
48 $this->assertEquals($output, $commandTester->getDisplay(true));
56 $commandTester = new CommandTester($command = $application->get('list'));
63 $this->assertEquals($output, $commandTester->getDisplay(true));
71 $commandTester = new CommandTester($command = $application->get('list'));
95 $this->assertEquals($output, trim($commandTester->getDisplay(true)));
103 $commandTester = new CommandTester($command = $application->get('list'));
[all …]
/dports/www/elgg/elgg-3.3.23/vendor/symfony/console/Tests/Command/
H A DHelpCommandTest.php26 $commandTester = new CommandTester($command);
27 $commandTester->execute(['command_name' => 'li'], ['decorated' => false]);
36 $commandTester = new CommandTester($command);
38 $commandTester->execute([], ['decorated' => false]);
41 …$this->assertStringContainsString('raw', $commandTester->getDisplay(), '->execute() returns a text…
47 $commandTester = new CommandTester($command);
49 $commandTester->execute(['--format' => 'xml']);
56 $commandTester = new CommandTester($application->get('help'));
57 $commandTester->execute(['command_name' => 'list']);
66 $commandTester = new CommandTester($application->get('help'));
[all …]
H A DListCommandTest.php23 $commandTester = new CommandTester($command = $application->get('list'));
32 $commandTester = new CommandTester($command = $application->get('list'));
40 $commandTester = new CommandTester($command = $application->get('list'));
41 $commandTester->execute(['command' => $command->getName(), '--raw' => true]);
48 $this->assertEquals($output, $commandTester->getDisplay(true));
56 $commandTester = new CommandTester($command = $application->get('list'));
63 $this->assertEquals($output, $commandTester->getDisplay(true));
71 $commandTester = new CommandTester($command = $application->get('list'));
95 $this->assertEquals($output, trim($commandTester->getDisplay(true)));
103 $commandTester = new CommandTester($command = $application->get('list'));
[all …]
/dports/www/kanboard/kanboard-1.2.21/vendor/symfony/console/Tests/Command/
H A DHelpCommandTest.php26 $commandTester = new CommandTester($command);
27 $commandTester->execute(['command_name' => 'li'], ['decorated' => false]);
36 $commandTester = new CommandTester($command);
38 $commandTester->execute([], ['decorated' => false]);
41 …$this->assertContains('raw', $commandTester->getDisplay(), '->execute() returns a text help for th…
47 $commandTester = new CommandTester($command);
49 $commandTester->execute(['--format' => 'xml']);
56 $commandTester = new CommandTester($application->get('help'));
57 $commandTester->execute(['command_name' => 'list']);
66 $commandTester = new CommandTester($application->get('help'));
[all …]
H A DListCommandTest.php23 $commandTester = new CommandTester($command = $application->get('list'));
32 $commandTester = new CommandTester($command = $application->get('list'));
40 $commandTester = new CommandTester($command = $application->get('list'));
41 $commandTester->execute(['command' => $command->getName(), '--raw' => true]);
48 $this->assertEquals($output, $commandTester->getDisplay(true));
56 $commandTester = new CommandTester($command = $application->get('list'));
63 $this->assertEquals($output, $commandTester->getDisplay(true));
71 $commandTester = new CommandTester($command = $application->get('list'));
95 $this->assertEquals($output, trim($commandTester->getDisplay(true)));
103 $commandTester = new CommandTester($command = $application->get('list'));
[all …]
/dports/finance/prestashop/prestashop/vendor/symfony/symfony/src/Symfony/Component/Console/Tests/Command/
H A DHelpCommandTest.php26 $commandTester = new CommandTester($command);
27 $commandTester->execute(['command_name' => 'li'], ['decorated' => false]);
36 $commandTester = new CommandTester($command);
38 $commandTester->execute([], ['decorated' => false]);
41 …$this->assertStringContainsString('raw', $commandTester->getDisplay(), '->execute() returns a text…
47 $commandTester = new CommandTester($command);
49 $commandTester->execute(['--format' => 'xml']);
56 $commandTester = new CommandTester($application->get('help'));
57 $commandTester->execute(['command_name' => 'list']);
66 $commandTester = new CommandTester($application->get('help'));
[all …]
H A DListCommandTest.php23 $commandTester = new CommandTester($command = $application->get('list'));
32 $commandTester = new CommandTester($command = $application->get('list'));
40 $commandTester = new CommandTester($command = $application->get('list'));
41 $commandTester->execute(['command' => $command->getName(), '--raw' => true]);
48 $this->assertEquals($output, $commandTester->getDisplay(true));
56 $commandTester = new CommandTester($command = $application->get('list'));
63 $this->assertEquals($output, $commandTester->getDisplay(true));
71 $commandTester = new CommandTester($command = $application->get('list'));
95 $this->assertEquals($output, trim($commandTester->getDisplay(true)));
103 $commandTester = new CommandTester($command = $application->get('list'));
[all …]
/dports/devel/pear-Symfony_Component_Console/Console-2.4.4/Symfony/Component/Console/Tests/Command/
H A DHelpCommandTest.php25 $commandTester = new CommandTester($command);
26 $commandTester->execute(array('command_name' => 'li'));
33 $commandTester = new CommandTester($command);
35 $commandTester->execute(array());
42 $commandTester = new CommandTester($command);
44 $commandTester->execute(array('--format' => 'xml'));
45 …$this->assertRegExp('/<command/', $commandTester->getDisplay(), '->execute() returns an XML help t…
51 $commandTester = new CommandTester($application->get('help'));
52 $commandTester->execute(array('command_name' => 'list'));
59 $commandTester = new CommandTester($application->get('help'));
[all …]
H A DListCommandTest.php22 $commandTester = new CommandTester($command = $application->get('list'));
23 … $commandTester->execute(array('command' => $command->getName()), array('decorated' => false));
25 …$this->assertRegExp('/help Displays help for a command/', $commandTester->getDisplay(), '->execu…
31 $commandTester = new CommandTester($command = $application->get('list'));
32 $commandTester->execute(array('command' => $command->getName(), '--format' => 'xml'));
39 $commandTester = new CommandTester($command = $application->get('list'));
40 $commandTester->execute(array('command' => $command->getName(), '--raw' => true));
47 $this->assertEquals($output, $commandTester->getDisplay(true));
56 $commandTester = new CommandTester($command = $application->get('list'));
57 …$commandTester->execute(array('command' => $command->getName(), 'namespace' => 'foo', '--raw' => t…
[all …]
/dports/www/elgg/elgg-3.3.23/vendor/elgg/elgg/engine/tests/phpunit/unit/Elgg/Cli/
H A DPluginsListCommandTest.php34 $commandTester = new CommandTester($command);
35 $commandTester->execute([
40 $this->assertEquals($exit_code, $commandTester->getStatusCode());
65 $commandTester = new CommandTester($command);
66 $commandTester->execute([
71 $this->assertRegExp('/1.9/im', $commandTester->getDisplay());
72 $this->assertRegExp('/active/im', $commandTester->getDisplay());
82 $commandTester = new CommandTester($command);
83 $commandTester->execute([
89 $commandTester = new CommandTester($command);
[all …]
H A DCronCommandTest.php29 $commandTester = new CommandTester($command);
30 $commandTester->execute(['command' => $command->getName()]);
32 $this->assertRegExp('/Cron jobs for .* started/im', $commandTester->getDisplay());
33 $this->assertRegExp('/Cron jobs for .* completed/im', $commandTester->getDisplay());
41 $commandTester = new CommandTester($command);
42 $commandTester->execute([
48 $this->assertRegExp('/Cron jobs for \"hourly\" started/im', $commandTester->getDisplay());
49 $this->assertRegExp('/Cron jobs for \"hourly\" completed/im', $commandTester->getDisplay());
57 $commandTester = new CommandTester($command);
58 $commandTester->execute([
[all …]
H A DDatabaseSeedCommandTest.php42 $commandTester = new CommandTester($command);
43 $commandTester->execute([
49 $this->assertRegExp("/{$seeder}::seed/im", $commandTester->getDisplay());
65 $commandTester = new CommandTester($command);
66 $commandTester->execute([
71 $this->assertRegExp("/{$seeder}::unseed/im", $commandTester->getDisplay());
H A DPluginsActivateCommandTest.php31 $commandTester = new CommandTester($command);
34 $commandTester->execute([
49 $commandTester = new CommandTester($command);
50 $commandTester->execute([
56 $this->assertEquals(0, $commandTester->getStatusCode());
H A DPluginsDeactivateCommandTest.php31 $commandTester = new CommandTester($command);
34 $commandTester->execute([
50 $commandTester = new CommandTester($command);
51 $commandTester->execute([
57 $this->assertEquals(0, $commandTester->getStatusCode());
/dports/www/elgg/elgg-3.3.23/vendor/elgg/elgg/engine/tests/phpunit/integration/Elgg/Cli/
H A DUpgradeCommandTest.php28 $commandTester = new CommandTester($command);
29 $commandTester->execute(['command' => $command->getName()]);
31 $this->assertRegExp('/System has been upgraded/im', $commandTester->getDisplay());
32 $this->assertRegExp('/Plugins have been upgraded/im', $commandTester->getDisplay());
40 $commandTester = new CommandTester($command);
41 $commandTester->execute([
47 $this->assertRegExp('/System has been upgraded/im', $commandTester->getDisplay());
48 $this->assertRegExp('/Plugins have been upgraded/im', $commandTester->getDisplay());
H A DPluginsCommandTest.php60 $commandTester = new CommandTester($command);
61 $commandTester->execute([
67 $this->assertEquals(0, $commandTester->getStatusCode());
82 $commandTester = new CommandTester($command);
83 $commandTester->execute([
89 $this->assertEquals(0, $commandTester->getStatusCode());
105 $commandTester = new CommandTester($command);
106 $commandTester->execute([
112 $this->assertEquals(0, $commandTester->getStatusCode());
H A DUpgradeBatchCommandTest.php29 $commandTester = new CommandTester($command);
30 $commandTester->execute([
35 …$this->assertStringContainsString(elgg_echo('cli:upgrade:batch:finished'), $commandTester->getDisp…
43 $commandTester = new CommandTester($command);
44 $commandTester->execute([
50 $this->assertEmpty($commandTester->getDisplay());
H A DCacheClearCommandTest.php29 $commandTester = new CommandTester($command);
30 $commandTester->execute(['command' => $command->getName()]);
32 $this->assertRegExp('/' . elgg_echo('admin:cache:cleared') . '/im', $commandTester->getDisplay());
40 $commandTester = new CommandTester($command);
41 $commandTester->execute([
46 $this->assertEmpty($commandTester->getDisplay());
H A DCacheInvalidateCommandTest.php29 $commandTester = new CommandTester($command);
30 $commandTester->execute(['command' => $command->getName()]);
32 …$this->assertRegExp('/' . elgg_echo('admin:cache:invalidated') . '/im', $commandTester->getDisplay…
40 $commandTester = new CommandTester($command);
41 $commandTester->execute([
46 $this->assertEmpty($commandTester->getDisplay());
H A DCachePurgeCommandTest.php29 $commandTester = new CommandTester($command);
30 $commandTester->execute(['command' => $command->getName()]);
32 $this->assertRegExp('/' . elgg_echo('admin:cache:purged') . '/im', $commandTester->getDisplay());
40 $commandTester = new CommandTester($command);
41 $commandTester->execute([
46 $this->assertEmpty($commandTester->getDisplay());
H A DFlushCommandTest.php28 $commandTester = new CommandTester($command);
29 $commandTester->execute(['command' => $command->getName()]);
31 $this->assertRegExp('/System caches have been flushed/im', $commandTester->getDisplay());
H A DUpgradeListCommandTest.php29 $commandTester = new CommandTester($command);
30 $commandTester->execute([
34 $this->assertNotEmpty($commandTester->getDisplay());
/dports/www/elgg/elgg-3.3.23/mod/garbagecollector/tests/phpunit/integration/Elgg/GarbageCollector/
H A DOptimizeCommandTest.php29 $commandTester = new CommandTester($command);
30 $commandTester->execute([
34 …$this->assertStringContainsStringIgnoringCase(elgg_echo('garbagecollector:done'), $commandTester->…
/dports/www/elgg/elgg-3.3.23/vendor/elgg/elgg/mod/garbagecollector/tests/phpunit/integration/Elgg/GarbageCollector/
H A DOptimizeCommandTest.php29 $commandTester = new CommandTester($command);
30 $commandTester->execute([
34 …$this->assertStringContainsStringIgnoringCase(elgg_echo('garbagecollector:done'), $commandTester->…

12