public function FileValidatorTest::provideMaxSizeNotExceededTests in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Constraints/FileValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\FileValidatorTest::provideMaxSizeNotExceededTests()
File
- vendor/symfony/validator/Tests/Constraints/FileValidatorTest.php, line 188
Class
- FileValidatorTest
Namespace
Symfony\Component\Validator\Tests\Constraints
Code
public function provideMaxSizeNotExceededTests() {
return array(
array(
1000,
1000,
),
array(
1000000,
1000000,
),
array(
1000,
'1k',
),
array(
1000000,
'1000k',
),
array(
1000000,
'1M',
),
array(
1024,
'1Ki',
),
array(
1048576,
'1024Ki',
),
array(
1048576,
'1Mi',
),
);
}