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 : 18.216.1.197
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
3 /
symfony /
translation /
Tests /
Catalogue /
Delete
Unzip
Name
Size
Permission
Date
Action
AbstractOperationTest.php
2.11
KB
-rw-r--r--
2018-11-27 09:00
MergeOperationTest.php
3.55
KB
-rw-r--r--
2018-11-27 09:00
TargetOperationTest.php
3.43
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\Translation\Tests\Catalogue; use PHPUnit\Framework\TestCase; use Symfony\Component\Translation\MessageCatalogue; use Symfony\Component\Translation\MessageCatalogueInterface; abstract class AbstractOperationTest extends TestCase { public function testGetEmptyDomains() { $this->assertEquals( array(), $this->createOperation( new MessageCatalogue('en'), new MessageCatalogue('en') )->getDomains() ); } public function testGetMergedDomains() { $this->assertEquals( array('a', 'b', 'c'), $this->createOperation( new MessageCatalogue('en', array('a' => array(), 'b' => array())), new MessageCatalogue('en', array('b' => array(), 'c' => array())) )->getDomains() ); } public function testGetMessagesFromUnknownDomain() { $this->{method_exists($this, $_ = 'expectException') ? $_ : 'setExpectedException'}('InvalidArgumentException'); $this->createOperation( new MessageCatalogue('en'), new MessageCatalogue('en') )->getMessages('domain'); } public function testGetEmptyMessages() { $this->assertEquals( array(), $this->createOperation( new MessageCatalogue('en', array('a' => array())), new MessageCatalogue('en') )->getMessages('a') ); } public function testGetEmptyResult() { $this->assertEquals( new MessageCatalogue('en'), $this->createOperation( new MessageCatalogue('en'), new MessageCatalogue('en') )->getResult() ); } abstract protected function createOperation(MessageCatalogueInterface $source, MessageCatalogueInterface $target); }