Home
last modified time | relevance | path

Searched refs:testInvalidString (Results 1 – 25 of 39) sorted by relevance

12

/dports/converters/php81-mbstring/php-8.1.1/ext/mbstring/tests/
H A Dutf_encodings.phpt752 testInvalidString($string, $expected . $good1, $encoding, 'UTF-32BE');
836 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-16', 'UTF-32BE');
838 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-16BE', 'UTF-32BE');
858 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-16LE', 'UTF-32BE');
890 testInvalidString("\x00\x01\x01", "\x00\x00\x00%", 'UTF-32', 'UTF-32BE');
891 testInvalidString("\x00\x01", "\x00\x00\x00%", 'UTF-32', 'UTF-32BE');
892 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-32', 'UTF-32BE');
893 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-32BE', 'UTF-32');
894 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-32BE', 'UTF-32');
895 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-32BE', 'UTF-32');
[all …]
H A Dhz_encoding.phpt28 testInvalidString(chr($i), '%', 'HZ', 'ASCII');
42 testInvalidString("~" . chr($i), '%', 'HZ', 'ASCII');
44 testInvalidString("~{~" . chr($i) . "~}", '%', 'HZ', 'ASCII');
88 testInvalidString('~{' . $fromString . '~}', $toString, 'HZ', 'UTF-16BE');
93 testInvalidString('~{' . $truncatedChar, "\x00%", 'HZ', 'UTF-16BE');
H A Diso2022jp_ms_encoding.phpt91 testInvalidString($from, $to, $encoding, 'UTF-32BE');
167 testInvalidString("\x1B\$B" . $invalid[0], "\x00\x00\x00%", 'ISO-2022-JP-MS', 'UTF-32BE');
169 testInvalidString("\x1B\$B" . $invalid, "\x00\x00\x00%", 'ISO-2022-JP-MS', 'UTF-32BE');
173 testInvalidString("\x1B\$B" . $truncated, "\x00\x00\x00%", 'ISO-2022-JP-MS', 'UTF-32BE');
189 testInvalidString("\x1B\$(?" . $invalid[0], "\x00\x00\x00%", 'ISO-2022-JP-MS', 'UTF-32BE');
191 testInvalidString("\x1B\$(?" . $invalid, "\x00\x00\x00%", 'ISO-2022-JP-MS', 'UTF-32BE');
195 testInvalidString("\x1B\$(?" . $truncated, "\x00\x00\x00%", 'ISO-2022-JP-MS', 'UTF-32BE');
H A Dgb18030_encoding.phpt283 testInvalidString("\x81\x30\x81\xFF", "\x00\x00\x00%", "GB18030", "UTF-32BE");
284 testInvalidString("\x84\x31\xA4\x40", "\x00\x00\x00%", "GB18030", "UTF-32BE");
285 testInvalidString("\x84\x31\xA5\x30", "\x00\x00\x00%", "GB18030", "UTF-32BE");
286 testInvalidString("\x84\x32\x81\x30", "\x00\x00\x00%", "GB18030", "UTF-32BE");
287 testInvalidString("\x85\x31\x81\x30", "\x00\x00\x00%\x00\x00\x00%", "GB18030", "UTF-32BE");
294 testInvalidString("\x90\x30\x81\xFF", "\x00\x00\x00%", "GB18030", "UTF-32BE");
295 testInvalidString("\xE3\x32\x9A\x36", "\x00\x00\x00%", "GB18030", "UTF-32BE");
296 testInvalidString("\xE4\x30\x81\x35", "\x00\x00\x00%\x00\x00\x00%", "GB18030", "UTF-32BE");
298 testInvalidString("\x90\x30\x80\x30", "\x00\x00\x00%\x00\x00\x00\x30", "GB18030", "UTF-32BE");
H A Diso2022jp_kddi_encoding.phpt107 testInvalidString($from, $to, $encoding, 'UTF-32BE');
191 testInvalidString("\x1B\$B" . $invalid[0], "\x00\x00\x00%", 'ISO-2022-JP-KDDI', 'UTF-32BE');
193 testInvalidString("\x1B\$B" . $invalid, "\x00\x00\x00%", 'ISO-2022-JP-KDDI', 'UTF-32BE');
198 testInvalidString("\x1B\$B" . $truncated, "\x00\x00\x00%", 'ISO-2022-JP-KDDI', 'UTF-32BE');
H A Dencoding_tests.inc95 function testInvalidString($fromString, $toString, $fromEncoding, $toEncoding) {
130 testInvalidString($fromString, $toString, $fromEncoding, $toEncoding);
153 testInvalidString($truncatedChar, $replacement, $fromEncoding, $toEncoding);
H A Dcp5022x_encoding.phpt125 testInvalidString($from, $to, $encoding, 'UTF-16BE');
339 testInvalidString("\xD8\x00", '%', 'UTF-16BE', 'CP50220');
340 testInvalidString("\xD8\x00", '%', 'UTF-16BE', 'CP50221');
341 testInvalidString("\xD8\x00", '%', 'UTF-16BE', 'CP50222');
H A Diso2022kr_encoding.phpt35 testInvalidString($from, $to, 'ISO-2022-KR', 'UTF-16BE');
/dports/www/mod_php81/php-8.1.1/ext/mbstring/tests/
H A Dutf_encodings.phpt752 testInvalidString($string, $expected . $good1, $encoding, 'UTF-32BE');
836 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-16', 'UTF-32BE');
838 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-16BE', 'UTF-32BE');
858 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-16LE', 'UTF-32BE');
890 testInvalidString("\x00\x01\x01", "\x00\x00\x00%", 'UTF-32', 'UTF-32BE');
891 testInvalidString("\x00\x01", "\x00\x00\x00%", 'UTF-32', 'UTF-32BE');
892 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-32', 'UTF-32BE');
893 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-32BE', 'UTF-32');
894 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-32BE', 'UTF-32');
895 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-32BE', 'UTF-32');
[all …]
H A Dhz_encoding.phpt28 testInvalidString(chr($i), '%', 'HZ', 'ASCII');
42 testInvalidString("~" . chr($i), '%', 'HZ', 'ASCII');
44 testInvalidString("~{~" . chr($i) . "~}", '%', 'HZ', 'ASCII');
88 testInvalidString('~{' . $fromString . '~}', $toString, 'HZ', 'UTF-16BE');
93 testInvalidString('~{' . $truncatedChar, "\x00%", 'HZ', 'UTF-16BE');
H A Diso2022jp_ms_encoding.phpt91 testInvalidString($from, $to, $encoding, 'UTF-32BE');
167 testInvalidString("\x1B\$B" . $invalid[0], "\x00\x00\x00%", 'ISO-2022-JP-MS', 'UTF-32BE');
169 testInvalidString("\x1B\$B" . $invalid, "\x00\x00\x00%", 'ISO-2022-JP-MS', 'UTF-32BE');
173 testInvalidString("\x1B\$B" . $truncated, "\x00\x00\x00%", 'ISO-2022-JP-MS', 'UTF-32BE');
189 testInvalidString("\x1B\$(?" . $invalid[0], "\x00\x00\x00%", 'ISO-2022-JP-MS', 'UTF-32BE');
191 testInvalidString("\x1B\$(?" . $invalid, "\x00\x00\x00%", 'ISO-2022-JP-MS', 'UTF-32BE');
195 testInvalidString("\x1B\$(?" . $truncated, "\x00\x00\x00%", 'ISO-2022-JP-MS', 'UTF-32BE');
H A Dgb18030_encoding.phpt283 testInvalidString("\x81\x30\x81\xFF", "\x00\x00\x00%", "GB18030", "UTF-32BE");
284 testInvalidString("\x84\x31\xA4\x40", "\x00\x00\x00%", "GB18030", "UTF-32BE");
285 testInvalidString("\x84\x31\xA5\x30", "\x00\x00\x00%", "GB18030", "UTF-32BE");
286 testInvalidString("\x84\x32\x81\x30", "\x00\x00\x00%", "GB18030", "UTF-32BE");
287 testInvalidString("\x85\x31\x81\x30", "\x00\x00\x00%\x00\x00\x00%", "GB18030", "UTF-32BE");
294 testInvalidString("\x90\x30\x81\xFF", "\x00\x00\x00%", "GB18030", "UTF-32BE");
295 testInvalidString("\xE3\x32\x9A\x36", "\x00\x00\x00%", "GB18030", "UTF-32BE");
296 testInvalidString("\xE4\x30\x81\x35", "\x00\x00\x00%\x00\x00\x00%", "GB18030", "UTF-32BE");
298 testInvalidString("\x90\x30\x80\x30", "\x00\x00\x00%\x00\x00\x00\x30", "GB18030", "UTF-32BE");
H A Diso2022jp_kddi_encoding.phpt107 testInvalidString($from, $to, $encoding, 'UTF-32BE');
191 testInvalidString("\x1B\$B" . $invalid[0], "\x00\x00\x00%", 'ISO-2022-JP-KDDI', 'UTF-32BE');
193 testInvalidString("\x1B\$B" . $invalid, "\x00\x00\x00%", 'ISO-2022-JP-KDDI', 'UTF-32BE');
198 testInvalidString("\x1B\$B" . $truncated, "\x00\x00\x00%", 'ISO-2022-JP-KDDI', 'UTF-32BE');
H A Dencoding_tests.inc95 function testInvalidString($fromString, $toString, $fromEncoding, $toEncoding) {
130 testInvalidString($fromString, $toString, $fromEncoding, $toEncoding);
153 testInvalidString($truncatedChar, $replacement, $fromEncoding, $toEncoding);
H A Dcp5022x_encoding.phpt125 testInvalidString($from, $to, $encoding, 'UTF-16BE');
339 testInvalidString("\xD8\x00", '%', 'UTF-16BE', 'CP50220');
340 testInvalidString("\xD8\x00", '%', 'UTF-16BE', 'CP50221');
341 testInvalidString("\xD8\x00", '%', 'UTF-16BE', 'CP50222');
H A Diso2022kr_encoding.phpt35 testInvalidString($from, $to, 'ISO-2022-KR', 'UTF-16BE');
/dports/lang/php81/php-8.1.1/ext/mbstring/tests/
H A Dutf_encodings.phpt752 testInvalidString($string, $expected . $good1, $encoding, 'UTF-32BE');
836 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-16', 'UTF-32BE');
838 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-16BE', 'UTF-32BE');
858 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-16LE', 'UTF-32BE');
890 testInvalidString("\x00\x01\x01", "\x00\x00\x00%", 'UTF-32', 'UTF-32BE');
891 testInvalidString("\x00\x01", "\x00\x00\x00%", 'UTF-32', 'UTF-32BE');
892 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-32', 'UTF-32BE');
893 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-32BE', 'UTF-32');
894 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-32BE', 'UTF-32');
895 testInvalidString("\x00", "\x00\x00\x00%", 'UTF-32BE', 'UTF-32');
[all …]
H A Dhz_encoding.phpt28 testInvalidString(chr($i), '%', 'HZ', 'ASCII');
42 testInvalidString("~" . chr($i), '%', 'HZ', 'ASCII');
44 testInvalidString("~{~" . chr($i) . "~}", '%', 'HZ', 'ASCII');
88 testInvalidString('~{' . $fromString . '~}', $toString, 'HZ', 'UTF-16BE');
93 testInvalidString('~{' . $truncatedChar, "\x00%", 'HZ', 'UTF-16BE');
H A Diso2022jp_ms_encoding.phpt91 testInvalidString($from, $to, $encoding, 'UTF-32BE');
167 testInvalidString("\x1B\$B" . $invalid[0], "\x00\x00\x00%", 'ISO-2022-JP-MS', 'UTF-32BE');
169 testInvalidString("\x1B\$B" . $invalid, "\x00\x00\x00%", 'ISO-2022-JP-MS', 'UTF-32BE');
173 testInvalidString("\x1B\$B" . $truncated, "\x00\x00\x00%", 'ISO-2022-JP-MS', 'UTF-32BE');
189 testInvalidString("\x1B\$(?" . $invalid[0], "\x00\x00\x00%", 'ISO-2022-JP-MS', 'UTF-32BE');
191 testInvalidString("\x1B\$(?" . $invalid, "\x00\x00\x00%", 'ISO-2022-JP-MS', 'UTF-32BE');
195 testInvalidString("\x1B\$(?" . $truncated, "\x00\x00\x00%", 'ISO-2022-JP-MS', 'UTF-32BE');
H A Dgb18030_encoding.phpt283 testInvalidString("\x81\x30\x81\xFF", "\x00\x00\x00%", "GB18030", "UTF-32BE");
284 testInvalidString("\x84\x31\xA4\x40", "\x00\x00\x00%", "GB18030", "UTF-32BE");
285 testInvalidString("\x84\x31\xA5\x30", "\x00\x00\x00%", "GB18030", "UTF-32BE");
286 testInvalidString("\x84\x32\x81\x30", "\x00\x00\x00%", "GB18030", "UTF-32BE");
287 testInvalidString("\x85\x31\x81\x30", "\x00\x00\x00%\x00\x00\x00%", "GB18030", "UTF-32BE");
294 testInvalidString("\x90\x30\x81\xFF", "\x00\x00\x00%", "GB18030", "UTF-32BE");
295 testInvalidString("\xE3\x32\x9A\x36", "\x00\x00\x00%", "GB18030", "UTF-32BE");
296 testInvalidString("\xE4\x30\x81\x35", "\x00\x00\x00%\x00\x00\x00%", "GB18030", "UTF-32BE");
298 testInvalidString("\x90\x30\x80\x30", "\x00\x00\x00%\x00\x00\x00\x30", "GB18030", "UTF-32BE");
H A Diso2022jp_kddi_encoding.phpt107 testInvalidString($from, $to, $encoding, 'UTF-32BE');
191 testInvalidString("\x1B\$B" . $invalid[0], "\x00\x00\x00%", 'ISO-2022-JP-KDDI', 'UTF-32BE');
193 testInvalidString("\x1B\$B" . $invalid, "\x00\x00\x00%", 'ISO-2022-JP-KDDI', 'UTF-32BE');
198 testInvalidString("\x1B\$B" . $truncated, "\x00\x00\x00%", 'ISO-2022-JP-KDDI', 'UTF-32BE');
H A Dencoding_tests.inc95 function testInvalidString($fromString, $toString, $fromEncoding, $toEncoding) {
130 testInvalidString($fromString, $toString, $fromEncoding, $toEncoding);
153 testInvalidString($truncatedChar, $replacement, $fromEncoding, $toEncoding);
H A Dcp5022x_encoding.phpt125 testInvalidString($from, $to, $encoding, 'UTF-16BE');
339 testInvalidString("\xD8\x00", '%', 'UTF-16BE', 'CP50220');
340 testInvalidString("\xD8\x00", '%', 'UTF-16BE', 'CP50221');
341 testInvalidString("\xD8\x00", '%', 'UTF-16BE', 'CP50222');
/dports/devel/RStudio/rstudio-2021.09.1-372/src/gwt/test/org/rstudio/studio/client/application/model/
H A DSessionScopeTests.java44 public void testInvalidString() in testInvalidString() method in SessionScopeTests
/dports/java/apache-commons-beanutils/commons-beanutils-1.9.4-src/src/test/java/org/apache/commons/beanutils/converters/
H A DBooleanConverterTestCase.java56 public void testInvalidString() { in testInvalidString() method in BooleanConverterTestCase

12