Lines Matching full:test
18 * @tc.desc:test Regexp
45 var result = reg.test("a");
49 var result1 = reg1.test('0٫0000000000001');
53 print(reg2.test('άέήίΰϊϋόύώ'));
55 print(reg2.test('ΆΈΉΊΪΫΎΏ'));
57 print(reg2.test('αβγδεζηθικλμνξοπρςστυφχψω'));
59 print(reg2.test('ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ'));
62 print(reg3.test(''))
65 print(reg4.test('a'));
68 print(reg5.test('a'));
71 print(reg6.test('a'));
74 print(reg7.test('a'));
79 arr.push(quotedEmailUserUtf8.test(" foo m端ller "))
82 arr.push(reg8.test('palíndromo'))
83 arr.push(reg8.test('órgão'))
84 arr.push(reg8.test('qwértyúão'))
85 arr.push(reg8.test('àäãcëüïÄÏÜ'))
88 arr.push(reg9.test('àéèìîóòù'))
89 arr.push(reg9.test('metró'))
90 arr.push(reg9.test('pèsca'))
91 arr.push(reg9.test('genî'))
94 arr.push(reg10.test('thiến'))
95 arr.push(reg10.test('nghiêng'))
96 arr.push(reg10.test('chào'))
97 arr.push(reg10.test('thế'))
98 arr.push(reg10.test('giới'))
101 arr.push(reg11.test('äiti'))
104 arr.push(reg12.test('aøå'))
107 arr.push(reg13.test('kreską'))
108 arr.push(reg13.test('zamknięte'))
109 arr.push(reg13.test('zwykłe'))
110 arr.push(reg13.test('kropką'))
111 arr.push(reg13.test('przyjęły'))
112 arr.push(reg13.test('święty'))
113 arr.push(reg13.test('Pozwól'))
116 arr.push(reg14.test('ШћжЂљЕ'))
119 arr.push(reg15.test('ŠAabčšđćž'))
120 arr.push(reg15.test('ŠATROĆčđš'))
123 arr.push(reg16.test('ábcó'))
124 arr.push(reg16.test('dormís'))
125 arr.push(reg16.test('volvés'))
126 arr.push(reg16.test('español'))
129 arr.push(reg17.test('religiös'))
130 arr.push(reg17.test('stjäla'))
131 arr.push(reg17.test('västgöte'))
134 arr.push(reg18.test('AİıÖöÇ窺ĞğÜüZ'))
137 arr.push(reg19.test('άέήίΰϊϋόύώ'))
138 arr.push(reg19.test('ΆΈΉΊΪΫΎΏ'))
141 arr.push(reg20.test('Azərbaycan'))
142 arr.push(reg20.test('abcç2'))
143 arr.push(reg20.test('3kərə4kərə'))
146 arr.push(reg21.test('абв1'))
147 arr.push(reg21.test('жаба'))
148 arr.push(reg21.test('яГоДа2'))
149 arr.push(reg21.test('йЮя'))
152 arr.push(reg22.test('řiť123'))
155 arr.push(reg23.test('1môj'))
156 arr.push(reg23.test('2ľúbím'))
157 arr.push(reg23.test('3mäkčeň'))
158 arr.push(reg23.test('5vŕba'))
159 arr.push(reg23.test('6ňorimberk'))
160 arr.push(reg23.test('7ťava'))
161 arr.push(reg23.test('8žanéta'))
162 arr.push(reg23.test('9Ďábelské'))
163 arr.push(reg23.test('10ódy'))
166 arr.push(reg24.test('Kán123'))
167 arr.push(reg24.test('één354'))
170 arr.push(reg25.test('äiti124'))
171 arr.push(reg25.test('451åå23'))
174 arr.push(reg26.test('äbc123'))
177 arr.push(reg27.test('0árvíztűrőtükörfúrógép123'))
180 arr.push(reg28.test('palíndromo'))
181 arr.push(reg28.test('2órgão'))
182 arr.push(reg28.test('qwértyúão9'))
183 arr.push(reg28.test('àäãcë4üïÄÏÜ'))
186 arr.push(reg29.test('123àéèìîóòù'))
187 arr.push(reg29.test('met23ró'))
188 arr.push(reg29.test('pès56ca'))
189 arr.push(reg29.test('gen45î'))
192 arr.push(reg30.test('ábcó123'))
195 arr.push(reg31.test('Thầy3'))
196 arr.push(reg31.test('3Gà'))
199 arr.push(reg32.test('kre123ską'))
200 arr.push(reg32.test('zam21knięte'))
201 arr.push(reg32.test('zw23ykłe'))
202 arr.push(reg32.test('prz23yjęły'))
203 arr.push(reg32.test('świ23ęty'))
204 arr.push(reg32.test('Poz1322wól'))
207 arr.push(reg33.test('ШћжЂљЕ123'))
210 arr.push(reg34.test('ŠAabčšđćž123'))
211 arr.push(reg34.test('ŠATRO11Ćčđš'))
214 arr.push(reg35.test('religiös13'))
215 arr.push(reg35.test('st23jäla'))
216 arr.push(reg35.test('västgöte123'))
219 arr.push(reg36.test('AİıÖöÇ窺ĞğÜüZ123'))
222 arr.push(reg37.test('0٫0000000000001'))
225 arr.push(reg38.test('123٫'))
226 arr.push(reg38.test('123٫123'))
227 arr.push(reg38.test('-123٫123'))
230 arr.push(reg39.test(''))
233 arr.push(reg40.test('¥6,954,231'))
234 arr.push(reg40.test('¥-6,954,231'))
237 arr.push(reg41.test('Azərbaycan'))
238 arr.push(reg41.test('üöğıəçş'))
239 arr.push(reg41.test('sizAzərbaycanlaşdırılmışlardansınızmı'))
240 arr.push(reg41.test('dahaBirDüzgünString'))
241 arr.push(reg41.test('abcçdeəfgğhxıijkqlmnoöprsştuüvyz'))
244 arr.push(reg42.test('абв'))
245 arr.push(reg42.test('жаба'))
246 arr.push(reg42.test('яГоДа'))
249 arr.push(reg43.test('žluťoučký'))
250 arr.push(reg43.test('Pěl'))
251 arr.push(reg43.test('Ďábelské'))
252 arr.push(reg43.test('ódy'))
255 arr.push(reg44.test('môj'))
256 arr.push(reg44.test('ľúbím'))
257 arr.push(reg44.test('mäkčeň'))
258 arr.push(reg44.test('vŕba'))
259 arr.push(reg44.test('ňorimberk'))
262 arr.push(reg45.test('aøå'))
265 arr.push(reg46.test('Kán'))
266 arr.push(reg46.test('één'))
267 arr.push(reg46.test('vóór'))
268 arr.push(reg46.test('nú'))
269 arr.push(reg46.test('héél'))
272 arr.push(reg47.test('äbc'))
273 arr.push(reg47.test('FöÖbär'))
276 arr.push(reg48.test('árvíztűrőtükörfúrógép'))
288 arr1.push(reg49.test("Zg=="));
289 arr1.push(reg49.test("Zm8="));
290 arr1.push(reg49.test("Zm9v"));
291 arr1.push(reg49.test("Zm9vYg=="));
292 arr1.push(reg49.test("Zm9vYmE="));
293 arr1.push(reg49.test("Zm9vYmFy"));
294 arr1.push(reg49.test(
297 arr1.push(reg49.test("Vml2YW11cyBmZXJtZW50dW0gc2VtcGVyIHBvcnRhLg=="));
298 arr1.push(reg49.test("U3VzcGVuZGlzc2UgbGVjdHVzIGxlbw=="));
314 print(regabc.test(strabcd));
330 // regexp cache test
337 // Test regexp.test fastpath
343 print(reg.test("aaaaa"));
346 print(reg.test("aaaaa"));
351 print(reg.test("aaaaa"));
355 print(reg.test("aaaaa"));
357 var protoTest = RegExp.prototype.test
358 RegExp.prototype.test = function () { method in RegExp
362 print(reg2.test("fooooooo"));
364 RegExp.prototype.test = protoTest method in RegExp
365 print(reg2.test("fooooooo"));
386 o54.test(Map);
424 // test RegExp.prototype.xx
436 RegExp.prototype.test("abc") method in RegExp
472 const ans1 = /\p{Alphabetic}/u.test("æ");
473 const ans2 = /\p{Alpha}/u.test("2");
474 const ans3 = /^[\p{Lu}\p{Ll}]+$/u.test("ASDFasdf");
475 const ans4 = /^[\P{Lu}\p{Ll}]+$/u.test("ASDFasdf");
476 const ans5 = /\P{Ll}/iu.test("b");
477 const ans6 = /\p{Ll}/iu.test("b");
478 const ans7 = /[^\P{Any}]+/u.test(456);
479 const ans8 = /\p{Assigned}+/u.test("");
480 const ans9 = /[\p{P}\p{S}]/u.test("!");
481 const ans10 = /\p{General_Category=Math_Symbol}/u.test("+");
517 print(re.test(str3));
607 const matches = regex.test(str10);
636 str.test("text/html");
638 str.test("text/plain");
640 str.test("text/html");
645 print(v2.test(-194290175n));
677 // The above test case in false environment did not reset the environment