Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: LayoutTests/fast/regex/parentheses-expected.txt

Issue 20867002: Remove old tests that have been migrated to the v8 repo. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove unused script-tests as well Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/regex/parentheses.html ('k') | LayoutTests/fast/regex/pcre-test-4.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 This page tests handling of parentheses subexpressions.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS regexp1.exec('abc') is ['ab','a','b']
7 PASS regexp2.exec('abacadabe') is ['abe','ab','b','b']
8 PASS regexp3.exec('abacadabe') is ['abe','ab','b',undefined]
9 PASS regexp4.exec('abacadabe') is ['abe','ab','b',undefined]
10 PASS regexp5.exec('abacadabe') is ['abe','ab','b','b',undefined,undefined]
11 PASS regexp6.exec('abcde') is ['ab','ab','b','b',undefined,undefined]
12 PASS regexp7.exec('abc') is ['abc','ab','b']
13 PASS regexp8.exec('bcaddxqy') is ['qy','q','q','y']
14 PASS regexp9.exec('asdfjejgsdflaksdfjkeljghkjea') is ['a','a',undefined]
15 PASS regexp10.exec('asdfjejgsdflaksdfjkeljghat') is ['at']
16 PASS regexp11.exec('Developing with JavaScript is dangerous, do not try it witho ut assistance') is null
17 PASS regexp12.exec('Seattle, WA to Buckley, WA') is ['Seattle, WA to Buckley, WA ', undefined, 'Seattle', 'WA', undefined, 'Buckley', 'WA']
18 PASS regexp13.exec('zxcasd;fl ^AaaAAaaaf;lrlrzs') is ['AaaAAaaaf;lrlrzs',undefin ed,'AaaAAaaaf;lrlrzs']
19 PASS regexp14.exec('b') is ['b',undefined,'b']
20 PASS regexp15.exec('abdf') is ['abdf',undefined,'abd','f']
21 PASS regexp16.exec('abc') is ['ab','a','b']
22 PASS regexp17.exec('bcaDxqy') is ['Dx','D']
23 PASS regexp18.exec('Hello: World') is ['Hello:',':']
24 PASS regexp19.exec('barrel') is ['bar','']
25 PASS regexp20.exec('barrel') is ['barrel','rel']
26 PASS regexp20.exec('2barrel') is ['2barrel','rel']
27 PASS regexp21.exec('abc') is ['ab','ab','b']
28 PASS regexp22.exec('abcdlskfgjdslkfg') is null
29 PASS regexp23.exec('<html xmlns="http://www.w3.org/1999/xhtml"') is ['"http://ww w.w3.org/1999/xhtml"']
30 PASS regexp24.exec('123') is null
31 PASS regexp25.exec('this is a test') is ['this','this',undefined]
32 PASS regexp25.exec('!this is a test') is null
33 PASS regexp26.exec('aaa') is ['aaa',undefined,undefined]
34 PASS regexp27.exec('file:///Users/Someone/Desktop/HelloWorld/index.html') is ['f ile:///Users/Someone/Desktop/HelloWorld/index.html','file','//','',undefined,und efined,undefined,'',undefined,'/Users/Someone/Desktop/HelloWorld/index.html',und efined,undefined]
35 PASS regexp28.exec('file:///Users/Someone/Desktop/HelloWorld/index.html') is ['f ile:','file',undefined,undefined,undefined,undefined,undefined]
36 PASS regexp29.exec('Committer:') is null
37 PASS regexp30.exec('Committer:') is null
38 PASS regexp31.exec('Committer:') is null
39 PASS regexp32.exec('Committer:') is null
40 PASS regexp33.exec('> <head>') is ['>',undefined,undefined,'>']
41 PASS regexp34.exec('xyz123') is null
42 PASS regexp34.exec('btn-abc') is ['btn-abc']
43 PASS regexp34.exec('btn- abc') is null
44 PASS regexp34.exec('XXbtn-abc') is null
45 PASS regexp34.exec('XX btn-abc') is ['btn-abc']
46 PASS regexp35.exec('ax') is ['ax','ax','a','x']
47 PASS regexp35.exec('axx') is null
48 PASS regexp35.exec('axxx') is ['axxx','axxx','a','xxx']
49 PASS regexp35.exec('bx') is ['bx','bx','b','x']
50 PASS regexp35.exec('bxx') is null
51 PASS regexp35.exec('bxxx') is ['bxxx','bxxx','b','xxx']
52 PASS regexp36.exec('/2011') is ['/2011','/2011','/','2011']
53 PASS regexp36.exec('/11') is ['/11','/11','/','11']
54 PASS regexp36.exec('/123') is null
55 PASS regexp37.exec('7/4/1776') is ['7/4/1776','7','/','4','/1776','/','1776']
56 PASS regexp37.exec('07-04-1776') is ['07-04-1776','07','-','04','-1776','-','177 6']
57 PASS regexp38.exec('xx') is ['xx','xx','xx']
58 PASS regexp38.exec('b') is ['b','b',undefined]
59 PASS regexp38.exec('z') is ['z','z',undefined]
60 PASS regexp38.exec('') is ['','',undefined]
61 PASS regexp39.exec('') is ['',undefined,undefined]
62 PASS regexp39.exec('8') is ['8','8',undefined]
63 PASS regexp39.exec('zP') is ['',undefined,undefined]
64 PASS regexp40.exec('') is ['',undefined,undefined,undefined,'']
65 PASS regexp40.exec('8') is ['8','8','8',undefined,'']
66 PASS regexp40.exec('zPz') is ['',undefined,undefined,undefined,'']
67 PASS regexp40.exec('zPPz') is ['',undefined,undefined,undefined,'']
68 PASS regexp40.exec('zPPPz') is ['',undefined,undefined,undefined,'']
69 PASS regexp40.exec('zPPPPz') is ['',undefined,undefined,undefined,'']
70 PASS regexp41.exec('Here is a link: http://www.acme.com/our_products/index.html. That is all we want!') is ['http://www.acme.com/our_products/index.html','http: //www.acme.com/our_products/index.html','http://','l',undefined]
71 PASS regexp42.exec('') is ['',undefined,undefined]
72 PASS regexp42.exec('4') is ['4','4','4']
73 PASS regexp42.exec('4321') is ['4','4','4']
74 PASS /(?!(?=r{0}){2,})|((z)?)?/gi.test('') is true
75 PASS regexp43.exec('SSS') is ['']
76 PASS regexp44.exec('SSS') is ['',undefined]
77 PASS regexp45.exec('vt') is null
78 PASS regexp46.exec('5') is null
79 PASS regexp46.exec('pk') is ['pk',undefined,undefined]
80 PASS regexp46.exec('Xw555') is ['w555','w',undefined]
81 PASS regexp46.exec('Xw55pk5') is ['w','w','']
82 PASS regexp47.exec('/www.acme.com/this/is/a/path/file.txt') is ['/www.acme.com/t his/is/a/path/file.txt','/www.acme.com/this/is/a/path/file.txt',undefined]
83 PASS regexp48.exec('http://www.acme.com/this/is/a/path/file.txt') is ['http://ww w.acme.com/this/is/a/path/file.txt','http','www.acme.com',undefined,'this/is/a/p ath/file.txt',undefined,undefined]
84 PASS regexp49.exec('http://www.acme.com/this/is/a/path/file.txt') is ['http://ww w.acme.com/this/is/a/path/file.txt',undefined,undefined,'http','www.acme.com',un defined,'this/is/a/path/file.txt',undefined,undefined]
85 PASS regexp50.exec('((a)b{28,}c|d)x') is null
86 PASS regexp50.exec('abbbbbbbbbbbbbbbbbbbbbbbbbbbbcx') is ['abbbbbbbbbbbbbbbbbbbb bbbbbbbbcx', 'abbbbbbbbbbbbbbbbbbbbbbbbbbbbc', 'a']
87 PASS regexp50.exec('dx') is ['dx', 'd', undefined]
88 PASS regexp51.exec('abc') is null
89 PASS regexp51.exec(s) is [')ž{-,}P{Any}',')',undefined]
90 PASS 'Hi Bob'.match(regexp52) is ['Bob',undefined,'Bob',undefined,undefined]
91 PASS regexp53.exec('#') is ['',undefined,'']
92 PASS regexp54.exec('#') is ['','',undefined,undefined,'']
93 PASS regexp55.exec('#') is ['','']
94 PASS regexp56.exec('a') is ['','']
95 PASS regexp57.exec('a') is ['a','a']
96 PASS regexp58.exec('badbc') is ['a']
97 PASS 'Y aaa X Match1 Y aaa Y Match2 Z'.match(regexp59) is ['X Match1 Y','Y Match 2 Z']
98 PASS successfullyParsed is true
99
100 TEST COMPLETE
101
OLDNEW
« no previous file with comments | « LayoutTests/fast/regex/parentheses.html ('k') | LayoutTests/fast/regex/pcre-test-4.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698