HomeSort by relevance Sort by last modified time
    Searched full:testcases (Results 326 - 350 of 1072) sorted by null

<<11121314151617181920>>

  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/function/
String.js 39 var testcases = new Array();
42 testcases[count++] = new TestCase( SECTION, "String(true) ",
44 testcases[count++] = new TestCase( SECTION, "String(false) ",
46 testcases[count++] = new TestCase( SECTION, "String(-124) ",
48 testcases[count++] = new TestCase( SECTION, "String(1.23) ",
63 //testcases[count++] = new TestCase( SECTION, "String({p:1}) ",
65 testcases[count++] = new TestCase( SECTION, "String(null) ",
80 //testcases[count++] = new TestCase( SECTION, "String([1,2,3]) ",
86 for ( tc=0; tc < testcases.length; tc++ ) {
87 testcases[tc].passed = writeTestCaseResult
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/
RegExp_leftContext.js 39 var testcases = new Array();
43 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/123/); RegExp.leftContext",
48 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/456/); RegExp.leftContext",
53 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/abc123xyz/); RegExp.leftContext",
58 testcases[count++] = new TestCase ( SECTION, "'xxxx'.match(/$/); RegExp.leftContext",
63 testcases[count++] = new TestCase ( SECTION, "'test'.match(/^/); RegExp.leftContext",
68 testcases[count++] = new TestCase ( SECTION, "'xxxx'.match(new RegExp('$')); RegExp.leftContext",
73 testcases[count++] = new TestCase ( SECTION, "'test'.match(new RegExp('^')); RegExp.leftContext",
78 for ( tc=0; tc < testcases.length; tc++ ) {
79 testcases[tc].passed = writeTestCaseResult
    [all...]
RegExp_leftContext_as_array.js 39 var testcases = new Array();
43 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/123/); RegExp['$`']",
48 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/456/); RegExp['$`']",
53 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/abc123xyz/); RegExp['$`']",
58 testcases[count++] = new TestCase ( SECTION, "'xxxx'.match(/$/); RegExp['$`']",
63 testcases[count++] = new TestCase ( SECTION, "'test'.match(/^/); RegExp['$`']",
68 testcases[count++] = new TestCase ( SECTION, "'xxxx'.match(new RegExp('$')); RegExp['$`']",
73 testcases[count++] = new TestCase ( SECTION, "'test'.match(new RegExp('^')); RegExp['$`']",
78 for ( tc=0; tc < testcases.length; tc++ ) {
79 testcases[tc].passed = writeTestCaseResult
    [all...]
RegExp_object.js 39 var testcases = new Array();
44 testcases[count++] = new TestCase ( SECTION, "'Test SSN is 123-34-4567'.match(SSN_pattern))",
48 testcases[count++] = new TestCase ( SECTION, "'Test SSN is 123-34-4567'.match(SSN_pattern))",
53 testcases[count++] = new TestCase ( SECTION, "'Our phone number is (408)345-2345.'.match(PHONE_pattern))",
57 testcases[count++] = new TestCase ( SECTION, "'The phone number is 408-345-2345!'.match(PHONE_pattern))",
61 testcases[count++] = new TestCase ( SECTION, "String(PHONE_pattern.toString())",
65 testcases[count++] = new TestCase ( SECTION, "PHONE_pattern + ' is the string'",
69 testcases[count++] = new TestCase ( SECTION, "SSN_pattern - 8",
76 for ( tc=0; tc < testcases.length; tc++ ) {
77 testcases[tc].passed = writeTestCaseResult
    [all...]
RegExp_rightContext.js 39 var testcases = new Array();
43 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/123/); RegExp.rightContext",
48 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/456/); RegExp.rightContext",
53 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/abc123xyz/); RegExp.rightContext",
58 testcases[count++] = new TestCase ( SECTION, "'xxxx'.match(/$/); RegExp.rightContext",
63 testcases[count++] = new TestCase ( SECTION, "'test'.match(/^/); RegExp.rightContext",
68 testcases[count++] = new TestCase ( SECTION, "'xxxx'.match(new RegExp('$')); RegExp.rightContext",
73 testcases[count++] = new TestCase ( SECTION, "'test'.match(new RegExp('^')); RegExp.rightContext",
78 for ( tc=0; tc < testcases.length; tc++ ) {
79 testcases[tc].passed = writeTestCaseResult
    [all...]
RegExp_rightContext_as_array.js 39 var testcases = new Array();
43 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/123/); RegExp['$\'']",
48 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/456/); RegExp['$\'']",
53 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/abc123xyz/); RegExp['$\'']",
58 testcases[count++] = new TestCase ( SECTION, "'xxxx'.match(/$/); RegExp['$\'']",
63 testcases[count++] = new TestCase ( SECTION, "'test'.match(/^/); RegExp['$\'']",
68 testcases[count++] = new TestCase ( SECTION, "'xxxx'.match(new RegExp('$')); RegExp['$\'']",
73 testcases[count++] = new TestCase ( SECTION, "'test'.match(new RegExp('^')); RegExp['$\'']",
78 for ( tc=0; tc < testcases.length; tc++ ) {
79 testcases[tc].passed = writeTestCaseResult
    [all...]
RegExp_dollar_number.js 40 var testcases = new Array();
44 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/(a(b(c(d(e)f)g)h)i)/); RegExp.$1",
48 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/(a(b(c(d(e)f)g)h)i)/); RegExp.$2",
52 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/(a(b(c(d(e)f)g)h)i)/); RegExp.$3",
56 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/(a(b(c(d(e)f)g)h)i)/); RegExp.$4",
60 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/(a(b(c(d(e)f)g)h)i)/); RegExp.$5",
64 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/(a(b(c(d(e)f)g)h)i)/); RegExp.$6",
72 testcases[count++] = new TestCase ( SECTION, "'" + a_to_z + "'.match((a)b(c)....(y)z); RegExp.$1",
74 testcases[count++] = new TestCase ( SECTION, "'" + a_to_z + "'.match((a)b(c)....(y)z); RegExp.$2",
76 testcases[count++] = new TestCase ( SECTION, "'" + a_to_z + "'.match((a)b(c)....(y)z); RegExp.$3"
    [all...]
RegExp_lastMatch.js 39 var testcases = new Array();
43 testcases[count++] = new TestCase ( SECTION, "'foo'.match(/foo/); RegExp.lastMatch",
48 testcases[count++] = new TestCase ( SECTION, "'foo'.match(new RegExp('foo')); RegExp.lastMatch",
53 testcases[count++] = new TestCase ( SECTION, "'xxx'.match(/bar/); RegExp.lastMatch",
58 testcases[count++] = new TestCase ( SECTION, "'xxx'.match(/$/); RegExp.lastMatch",
63 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(/^..(cd)[a-z]+/); RegExp.lastMatch",
68 testcases[count++] = new TestCase ( SECTION, "'abcdefgabcdefg'.match(/(a(b(c(d)e)f)g)\\1/); RegExp.lastMatch",
73 for ( tc=0; tc < testcases.length; tc++ ) {
74 testcases[tc].passed = writeTestCaseResult(
75 testcases[tc].expect
    [all...]
RegExp_lastMatch_as_array.js 39 var testcases = new Array();
43 testcases[count++] = new TestCase ( SECTION, "'foo'.match(/foo/); RegExp['$&']",
48 testcases[count++] = new TestCase ( SECTION, "'foo'.match(new RegExp('foo')); RegExp['$&']",
53 testcases[count++] = new TestCase ( SECTION, "'xxx'.match(/bar/); RegExp['$&']",
58 testcases[count++] = new TestCase ( SECTION, "'xxx'.match(/$/); RegExp['$&']",
63 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(/^..(cd)[a-z]+/); RegExp['$&']",
68 testcases[count++] = new TestCase ( SECTION, "'abcdefgabcdefg'.match(/(a(b(c(d)e)f)g)\\1/); RegExp['$&']",
73 for ( tc=0; tc < testcases.length; tc++ ) {
74 testcases[tc].passed = writeTestCaseResult(
75 testcases[tc].expect
    [all...]
backspace.js 39 var testcases = new Array();
42 testcases[count++] = new TestCase ( SECTION, "'abc\bdef'.match(new RegExp('.[\\b].'))",
46 testcases[count++] = new TestCase ( SECTION, "'abc\\bdef'.match(new RegExp('.[\\b].'))",
50 testcases[count++] = new TestCase ( SECTION, "'abc\b\b\bdef'.match(new RegExp('c[\\b]{3}d'))",
54 testcases[count++] = new TestCase ( SECTION, "'abc\bdef'.match(new RegExp('[^\\[\\b\\]]+'))",
58 testcases[count++] = new TestCase ( SECTION, "'abcdef'.match(new RegExp('[^\\[\\b\\]]+'))",
62 testcases[count++] = new TestCase ( SECTION, "'abcdef'.match(/[^\\[\\b\\]]+/)",
67 for ( tc=0; tc < testcases.length; tc++ ) {
68 testcases[tc].passed = writeTestCaseResult(
69 testcases[tc].expect
    [all...]
beginLine.js 39 var testcases = new Array();
42 testcases[count++] = new TestCase ( SECTION, "'abcde'.match(new RegExp('^ab'))",
46 testcases[count++] = new TestCase ( SECTION, "'ab\ncde'.match(new RegExp('^..^e'))",
50 testcases[count++] = new TestCase ( SECTION, "'yyyyy'.match(new RegExp('^xxx'))",
54 testcases[count++] = new TestCase ( SECTION, "'^^^x'.match(new RegExp('^\\^+'))",
58 testcases[count++] = new TestCase ( SECTION, "'^^^x'.match(/^\\^+/)",
63 testcases[count++] = new TestCase ( SECTION, "'abc\n123xyz'.match(new RegExp('^\\d+'))",
68 for ( tc=0; tc < testcases.length; tc++ ) {
69 testcases[tc].passed = writeTestCaseResult(
70 testcases[tc].expect
    [all...]
endLine.js 39 var testcases = new Array();
42 testcases[count++] = new TestCase ( SECTION, "'abcde'.match(new RegExp('de$'))",
46 testcases[count++] = new TestCase ( SECTION, "'ab\ncde'.match(new RegExp('..$e$'))",
50 testcases[count++] = new TestCase ( SECTION, "'yyyyy'.match(new RegExp('xxx$'))",
54 testcases[count++] = new TestCase ( SECTION, "'a$$$'.match(new RegExp('\\$+$'))",
58 testcases[count++] = new TestCase ( SECTION, "'a$$$'.match(/\\$+$/)",
63 testcases[count++] = new TestCase ( SECTION, "'abc\n123xyz890\nxyz'.match(new RegExp('\\d+$'))",
68 for ( tc=0; tc < testcases.length; tc++ ) {
69 testcases[tc].passed = writeTestCaseResult(
70 testcases[tc].expect
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/inherit/
proto_12.js 45 var testcases = new Array();
87 for ( tc=0; tc < testcases.length; tc++ ) {
88 testcases[tc].passed = writeTestCaseResult(
89 testcases[tc].expect,
90 testcases[tc].actual,
91 testcases[tc].description +" = "+
92 testcases[tc].actual );
94 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value ";
97 return ( testcases );
    [all...]
proto_7.js 48 var testcases = new Array();
69 for ( tc=0; tc < testcases.length; tc++ ) {
70 testcases[tc].passed = writeTestCaseResult(
71 testcases[tc].expect,
72 testcases[tc].actual,
73 testcases[tc].description +" = "+
74 testcases[tc].actual );
76 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value ";
79 return ( testcases );
    [all...]
proto_8.js 46 var testcases = new Array();
67 for ( tc=0; tc < testcases.length; tc++ ) {
68 testcases[tc].passed = writeTestCaseResult(
69 testcases[tc].expect,
70 testcases[tc].actual,
71 testcases[tc].description +" = "+
72 testcases[tc].actual );
74 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value ";
77 return ( testcases );
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/
15.4.5.2-2.js 45 var testcases = new Array();
75 testcases[testcases.length] = new TestCase( SECTION,
90 testcases[testcases.length] = new TestCase( SECTION,
102 testcases[testcases.length] = new TestCase( SECTION,
112 for ( tc=0; tc < testcases.length; tc++ ) {
113 testcases[tc].passed = writeTestCaseResult(
114 testcases[tc].expect
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/
15.9.5.2-1.js 45 var testcases = new Array();
47 testcases[tc++] = new TestCase( SECTION,
57 testcases[tc++] = new TestCase( SECTION,
62 testcases[tc++] = new TestCase( SECTION,
70 testcases[tc++] = new TestCase( SECTION,
75 testcases[tc++] = new TestCase( SECTION,
81 testcases[tc++] = new TestCase( SECTION,
86 testcases[tc++] = new TestCase( SECTION,
92 testcases[tc++] = new TestCase( SECTION,
97 testcases[tc++] = new TestCase( SECTION
    [all...]
15.9.5.2.js 45 var testcases = new Array();
47 testcases[tc++] = new TestCase( SECTION,
57 testcases[tc++] = new TestCase( SECTION,
62 testcases[tc++] = new TestCase( SECTION,
70 testcases[tc++] = new TestCase( SECTION,
75 testcases[tc++] = new TestCase( SECTION,
81 testcases[tc++] = new TestCase( SECTION,
86 testcases[tc++] = new TestCase( SECTION,
92 testcases[tc++] = new TestCase( SECTION,
97 testcases[tc++] = new TestCase( SECTION
    [all...]
15.9.5.23-8.js 44 var testcases = new Array();
69 testcases[tc++] = new TestCase( SECTION,
74 testcases[tc++] = new TestCase( SECTION,
79 testcases[tc++] = new TestCase( SECTION,
84 testcases[tc++] = new TestCase( SECTION,
89 testcases[tc++] = new TestCase( SECTION,
94 testcases[tc++] = new TestCase( SECTION,
100 for ( tc=0; tc < testcases.length; tc++ ) {
101 testcases[tc].passed = writeTestCaseResult(
102 testcases[tc].expect
    [all...]
15.9.5.23-9.js 44 var testcases = new Array();
70 testcases[tc++] = new TestCase( SECTION,
75 testcases[tc++] = new TestCase( SECTION,
80 testcases[tc++] = new TestCase( SECTION,
85 testcases[tc++] = new TestCase( SECTION,
90 testcases[tc++] = new TestCase( SECTION,
95 testcases[tc++] = new TestCase( SECTION,
101 for ( tc=0; tc < testcases.length; tc++ ) {
102 testcases[tc].passed = writeTestCaseResult(
103 testcases[tc].expect
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ExecutionContexts/
10.2.2-1.js 54 var testcases = new Array();
58 testcases[tc++] = new TestCase( SECTION,
71 testcases[tc++] = new TestCase( SECTION,
81 testcases[tc++] = new TestCase( SECTION,
88 testcases[tc++] = new TestCase( SECTION,
94 testcases[tc++] = new TestCase( SECTION,
99 testcases[tc++] = new TestCase( SECTION,
108 for ( tc=0; tc < testcases.length; tc++ ) {
109 testcases[tc].passed = writeTestCaseResult(
110 testcases[tc].expect
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/
11.2.3-1.js 64 var testcases = new Array();
69 testcases[tc++] = new TestCase( SECTION,
74 testcases[tc++] = new TestCase( SECTION,
83 testcases[tc++] = new TestCase( SECTION,
90 testcases[tc++] = new TestCase( SECTION,
96 testcases[tc++] = new TestCase( SECTION,
102 testcases[tc++] = new TestCase( SECTION,
110 for ( tc=0; tc < testcases.length; tc++ ) {
111 testcases[tc].passed = writeTestCaseResult(
112 testcases[tc].expect
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Statements/
12.5-1.js 52 var testcases = new Array();
54 testcases[tc++] = new TestCase( SECTION,
59 testcases[tc++] = new TestCase( SECTION,
64 testcases[tc++] = new TestCase( SECTION,
69 testcases[tc++] = new TestCase( SECTION,
74 testcases[tc++] = new TestCase( SECTION,
79 testcases[tc++] = new TestCase( SECTION,
87 for ( tc=0; tc < testcases.length; tc++ ) {
88 testcases[tc].passed = writeTestCaseResult(
89 testcases[tc].expect
    [all...]
12.5-2.js 50 var testcases = new Array();
52 testcases[tc++] = new TestCase( SECTION,
57 testcases[tc++] = new TestCase( SECTION,
62 testcases[tc++] = new TestCase( SECTION,
67 testcases[tc++] = new TestCase( SECTION,
72 testcases[tc++] = new TestCase( SECTION,
77 testcases[tc++] = new TestCase( SECTION,
85 for ( tc=0; tc < testcases.length; tc++ ) {
86 testcases[tc].passed = writeTestCaseResult(
87 testcases[tc].expect
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/FunctionObjects/
call-1.js 18 var testcases = new Array();
21 testcases[tc++] = new TestCase( SECTION,
26 testcases[tc++] = new TestCase( SECTION,
31 testcases[tc++] = new TestCase( SECTION,

Completed in 164 milliseconds

<<11121314151617181920>>