Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.145.158.137
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
3 /
symfony /
console /
Tests /
Output /
Delete
Unzip
Name
Size
Permission
Date
Action
ConsoleOutputTest.php
1.39
KB
-rw-r--r--
2018-11-27 09:00
ConsoleSectionOutputTest.php
6.34
KB
-rw-r--r--
2018-11-27 09:00
NullOutputTest.php
2.52
KB
-rw-r--r--
2018-11-27 09:00
OutputTest.php
6.71
KB
-rw-r--r--
2018-11-27 09:00
StreamOutputTest.php
1.77
KB
-rw-r--r--
2018-11-27 09:00
Save
Rename
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Console\Tests\Output; use PHPUnit\Framework\TestCase; use Symfony\Component\Console\Formatter\OutputFormatter; use Symfony\Component\Console\Output\NullOutput; use Symfony\Component\Console\Output\Output; use Symfony\Component\Console\Output\OutputInterface; class NullOutputTest extends TestCase { public function testConstructor() { $output = new NullOutput(); ob_start(); $output->write('foo'); $buffer = ob_get_clean(); $this->assertSame('', $buffer, '->write() does nothing (at least nothing is printed)'); $this->assertFalse($output->isDecorated(), '->isDecorated() returns false'); } public function testVerbosity() { $output = new NullOutput(); $this->assertSame(OutputInterface::VERBOSITY_QUIET, $output->getVerbosity(), '->getVerbosity() returns VERBOSITY_QUIET for NullOutput by default'); $output->setVerbosity(OutputInterface::VERBOSITY_VERBOSE); $this->assertSame(OutputInterface::VERBOSITY_QUIET, $output->getVerbosity(), '->getVerbosity() always returns VERBOSITY_QUIET for NullOutput'); } public function testSetFormatter() { $output = new NullOutput(); $outputFormatter = new OutputFormatter(); $output->setFormatter($outputFormatter); $this->assertNotSame($outputFormatter, $output->getFormatter()); } public function testSetVerbosity() { $output = new NullOutput(); $output->setVerbosity(Output::VERBOSITY_NORMAL); $this->assertEquals(Output::VERBOSITY_QUIET, $output->getVerbosity()); } public function testSetDecorated() { $output = new NullOutput(); $output->setDecorated(true); $this->assertFalse($output->isDecorated()); } public function testIsQuiet() { $output = new NullOutput(); $this->assertTrue($output->isQuiet()); } public function testIsVerbose() { $output = new NullOutput(); $this->assertFalse($output->isVerbose()); } public function testIsVeryVerbose() { $output = new NullOutput(); $this->assertFalse($output->isVeryVerbose()); } public function testIsDebug() { $output = new NullOutput(); $this->assertFalse($output->isDebug()); } }