public function LengthValidatorTest::getOneCharset in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ LengthValidatorTest.php, line 90
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function getOneCharset() {
if (!function_exists('iconv') && !function_exists('mb_convert_encoding')) {
$this
->markTestSkipped('Mbstring or iconv is required for this test.');
}
return array(
array(
'é',
'utf8',
true,
),
array(
"",
'CP1252',
true,
),
array(
"",
'XXX',
false,
),
array(
"",
'utf8',
false,
),
);
}