/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/regress/ |
function-002.js | 42 var testcases = new Array(); 44 testcases[tc++] = new TestCase( 54 testcases[tc++] = new TestCase( 64 for ( tc=0; tc < testcases.length; tc++ ) { 65 testcases[tc].passed = writeTestCaseResult( 66 testcases[tc].expect, 67 testcases[tc].actual, 68 testcases[tc].description +" = "+ 69 testcases[tc].actual ); 71 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value " [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/String/ |
concat.js | 39 var testcases = new Array(); 45 testcases[count++] = new TestCase( SECTION, "aString.concat(' more')", "test string more", aString.concat(' more').toString()); 46 testcases[count++] = new TestCase( SECTION, "aString.concat(bString)", "test string another ", aString.concat(bString).toString()); 47 testcases[count++] = new TestCase( SECTION, "aString ", "test string", aString.toString()); 48 testcases[count++] = new TestCase( SECTION, "bString ", " another ", bString.toString()); 49 testcases[count++] = new TestCase( SECTION, "aString.concat(345) ", "test string345", aString.concat(345).toString()); 50 testcases[count++] = new TestCase( SECTION, "aString.concat(true) ", "test stringtrue", aString.concat(true).toString()); 51 testcases[count++] = new TestCase( SECTION, "aString.concat(null) ", "test stringnull", aString.concat(null).toString()); 59 //testcases[count++] = new TestCase( SECTION, "aString.concat([]) ", "test string[]", aString.concat([]).toString()); 60 //testcases[count++] = new TestCase( SECTION, "aString.concat([1,2,3])", "test string[1, 2, 3]", aString.c (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
ignoreCase.js | 39 var testcases = new Array(); 42 testcases[count++] = new TestCase ( SECTION, "/xyz/i.ignoreCase", 46 testcases[count++] = new TestCase ( SECTION, "/xyz/.ignoreCase", 50 testcases[count++] = new TestCase ( SECTION, "'ABC def ghi'.match(/[a-z]+/ig)", 54 testcases[count++] = new TestCase ( SECTION, "'ABC def ghi'.match(/[a-z]+/i)", 58 testcases[count++] = new TestCase ( SECTION, "'ABC def ghi'.match(/([a-z]+)/ig)", 62 testcases[count++] = new TestCase ( SECTION, "'ABC def ghi'.match(/([a-z]+)/i)", 66 testcases[count++] = new TestCase ( SECTION, "'ABC def ghi'.match(/[a-z]+/)", 70 testcases[count++] = new TestCase ( SECTION, "(new RegExp('xyz','i')).ignoreCase", 74 testcases[count++] = new TestCase ( SECTION, "(new RegExp('xyz')).ignoreCase" [all...] |
compile.js | 39 var testcases = new Array(); 45 testcases[count++] = new TestCase ( SECTION, 49 testcases[count++] = new TestCase ( SECTION, 53 testcases[count++] = new TestCase ( SECTION, 57 testcases[count++] = new TestCase ( SECTION, 63 testcases[count++] = new TestCase ( SECTION, 67 testcases[count++] = new TestCase ( SECTION, 71 testcases[count++] = new TestCase ( SECTION, 75 testcases[count++] = new TestCase ( SECTION, 82 for ( tc=0; tc < testcases.length; tc++ ) [all...] |
flags.js | 39 var testcases = new Array(); 42 testcases[count++] = new TestCase ( SECTION, "'aBCdEfGHijKLmno'.match(/fghijk/i)", 45 testcases[count++] = new TestCase ( SECTION, "'aBCdEfGHijKLmno'.match(new RegExp('fghijk','i'))", 49 testcases[count++] = new TestCase ( SECTION, "'xa xb xc xd xe xf'.match(/x./g)", 52 testcases[count++] = new TestCase ( SECTION, "'xa xb xc xd xe xf'.match(new RegExp('x.','g'))", 56 testcases[count++] = new TestCase ( SECTION, "'xa Xb xc xd Xe xf'.match(/x./gi)", 59 testcases[count++] = new TestCase ( SECTION, "'xa Xb xc xd Xe xf'.match(new RegExp('x.','gi'))", 62 testcases[count++] = new TestCase ( SECTION, "'xa Xb xc xd Xe xf'.match(/x./ig)", 65 testcases[count++] = new TestCase ( SECTION, "'xa Xb xc xd Xe xf'.match(new RegExp('x.','ig'))", 71 for ( tc=0; tc < testcases.length; tc++ ) [all...] |
plus.js | 39 var testcases = new Array(); 42 testcases[count++] = new TestCase ( SECTION, "'abcdddddefg'.match(new RegExp('d+'))", 46 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(new RegExp('o+'))", 50 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(new RegExp('d+'))", 54 testcases[count++] = new TestCase ( SECTION, "'abbbbbbbc'.match(new RegExp('(b+)(b+)(b+)'))", 58 testcases[count++] = new TestCase ( SECTION, "'abbbbbbbc'.match(new RegExp('(b+)(b*)'))", 62 testcases[count++] = new TestCase ( SECTION, "'abbbbbbbc'.match(new RegExp('b*b+'))", 66 testcases[count++] = new TestCase ( SECTION, "'abbbbbbbc'.match(/(b+)(b*)/)", 70 testcases[count++] = new TestCase ( SECTION, "'abbbbbbbc'.match(/b*b+/)", 75 for ( tc=0; tc < testcases.length; tc++ ) [all...] |
simple_form.js | 39 var testcases = new Array(); 41 testcases[count++] = new TestCase ( SECTION, 45 testcases[count++] = new TestCase ( SECTION, 49 testcases[count++] = new TestCase ( SECTION, 54 testcases[count++] = new TestCase ( SECTION, 59 testcases[count++] = new TestCase ( SECTION, 63 testcases[count++] = new TestCase ( SECTION, 68 testcases[count++] = new TestCase ( SECTION, 72 testcases[count++] = new TestCase ( SECTION, 78 for ( tc=0; tc < testcases.length; tc++ ) [all...] |
source.js | 39 var testcases = new Array(); 42 testcases[count++] = new TestCase ( SECTION, "/xyz/g.source", 46 testcases[count++] = new TestCase ( SECTION, "/xyz/.source", 50 testcases[count++] = new TestCase ( SECTION, "/abc\\\\def/.source", 54 testcases[count++] = new TestCase ( SECTION, "/abc[\\b]def/.source", 58 testcases[count++] = new TestCase ( SECTION, "(new RegExp('xyz')).source", 62 testcases[count++] = new TestCase ( SECTION, "(new RegExp('xyz','g')).source", 66 testcases[count++] = new TestCase ( SECTION, "(new RegExp('abc\\\\\\\\def')).source", 70 testcases[count++] = new TestCase ( SECTION, "(new RegExp('abc[\\\\b]def')).source", 75 for ( tc=0; tc < testcases.length; tc++ ) [all...] |
string_search.js | 39 var testcases = new Array(); 42 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.search(/d/)", 46 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.search(/x/)", 50 testcases[count++] = new TestCase ( SECTION, "'abcdefg123456hijklmn'.search(/\d+/)", 54 testcases[count++] = new TestCase ( SECTION, "'abcdefg123456hijklmn'.search(new RegExp())", 58 testcases[count++] = new TestCase ( SECTION, "'abc'.search(new RegExp('$'))", 62 testcases[count++] = new TestCase ( SECTION, "'abc'.search(new RegExp('^'))", 66 testcases[count++] = new TestCase ( SECTION, "'abc1'.search(/.\d/)", 70 testcases[count++] = new TestCase ( SECTION, "'abc1'.search(/\d{2}/)", 75 for ( tc=0; tc < testcases.length; tc++ ) [all...] |
test.js | 39 var testcases = new Array(); 41 testcases[count++] = new TestCase ( SECTION, 45 testcases[count++] = new TestCase ( SECTION, 49 testcases[count++] = new TestCase ( SECTION, 53 testcases[count++] = new TestCase ( SECTION, 57 testcases[count++] = new TestCase ( SECTION, 61 testcases[count++] = new TestCase ( SECTION, 65 testcases[count++] = new TestCase ( SECTION, 69 testcases[count++] = new TestCase ( SECTION, 75 for ( tc=0; tc < testcases.length; tc++ ) [all...] |
character_class.js | 39 var testcases = new Array(); 42 testcases[count++] = new TestCase ( SECTION, "'abcde'.match(new RegExp('ab[ercst]de'))", 46 testcases[count++] = new TestCase ( SECTION, "'abcde'.match(new RegExp('ab[erst]de'))", 50 testcases[count++] = new TestCase ( SECTION, "'abcdefghijkl'.match(new RegExp('[d-h]+'))", 54 testcases[count++] = new TestCase ( SECTION, "'abc6defghijkl'.match(new RegExp('[1234567].{2}'))", 58 testcases[count++] = new TestCase ( SECTION, "'\n\n\abc324234\n'.match(new RegExp('[a-c\\d]+'))", 62 testcases[count++] = new TestCase ( SECTION, "'abc'.match(new RegExp('ab[.]?c'))", 66 testcases[count++] = new TestCase ( SECTION, "'abc'.match(new RegExp('a[b]c'))", 70 testcases[count++] = new TestCase ( SECTION, "'a1b b2c c3d def f4g'.match(new RegExp('[a-z][^1-9][a-z]'))", 74 testcases[count++] = new TestCase ( SECTION, "'123*&$abc'.match(new RegExp('[*&$]{3}'))" [all...] |
parentheses.js | 39 var testcases = new Array(); 42 testcases[count++] = new TestCase ( SECTION, "'abc'.match(new RegExp('(abc)'))", 46 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(new RegExp('a(bc)d(ef)g'))", 50 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(new RegExp('(.{3})(.{4})'))", 54 testcases[count++] = new TestCase ( SECTION, "'aabcdaabcd'.match(new RegExp('(aa)bcd\\1'))", 58 testcases[count++] = new TestCase ( SECTION, "'aabcdaabcd'.match(new RegExp('(aa).+\\1'))", 62 testcases[count++] = new TestCase ( SECTION, "'aabcdaabcd'.match(new RegExp('(.{2}).+\\1'))", 66 testcases[count++] = new TestCase ( SECTION, "'123456123456'.match(new RegExp('(\\d{3})(\\d{3})\\1\\2'))", 70 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(new RegExp('a(..(..)..)'))", 74 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(/a(..(..)..)/)" [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/SourceText/ |
6-2.js | 70 var testcases = new Array(); 74 testcases[tc++]= new TestCase( SECTION, 79 testcases[tc++]= new TestCase( SECTION, 85 testcases[tc++]= new TestCase( SECTION, 91 testcases[tc++]= new TestCase( SECTION, 96 testcases[tc] = new TestCase( SECTION, 102 testcases[tc].actual = s; 106 testcases[tc]= new TestCase( SECTION, 112 testcases[tc].actual = s; 118 for ( tc=0; tc < testcases.length; tc++ ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/TypeConversion/ |
9.3.1-3.js | 53 var testcases = new Array(); 59 testcases[tc++] = new TestCase( 73 testcases[tc++] = new TestCase( SECTION, 78 testcases[tc++] = new TestCase( SECTION, 83 testcases[tc++] = new TestCase( SECTION, 91 testcases[tc++] = new TestCase( SECTION, 96 testcases[tc++] = new TestCase( SECTION, 101 testcases[tc++] = new TestCase( SECTION, 106 testcases[tc++] = new TestCase( SECTION, 111 testcases[tc++] = new TestCase( SECTION [all...] |
9.2.js | 46 var testcases = new Array(); 50 testcases[tc++] = new TestCase( SECTION, "Boolean()", false, Boolean() ); 51 testcases[tc++] = new TestCase( SECTION, "Boolean(var x)", false, Boolean(eval("var x")) ); 52 testcases[tc++] = new TestCase( SECTION, "Boolean(void 0)", false, Boolean(void 0) ); 53 testcases[tc++] = new TestCase( SECTION, "Boolean(null)", false, Boolean(null) ); 54 testcases[tc++] = new TestCase( SECTION, "Boolean(false)", false, Boolean(false) ); 55 testcases[tc++] = new TestCase( SECTION, "Boolean(true)", true, Boolean(true) ); 56 testcases[tc++] = new TestCase( SECTION, "Boolean(0)", false, Boolean(0) ); 57 testcases[tc++] = new TestCase( SECTION, "Boolean(-0)", false, Boolean(-0) ); 58 testcases[tc++] = new TestCase( SECTION, "Boolean(NaN)", false, Boolean(Number.NaN) ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/RegExp/ |
regexp-enumerate-001.js | 36 var testcases = new Array(); 55 testcases[testcases.length] = new TestCase( SECTION, 75 testcases[testcases.length] = new TestCase( SECTION, 80 if ( testcases[ testcases.length-1].passed == false ) { 81 testcases[testcases.length-1].reason = "property already enumerated"; 87 for ( tc=0; tc < testcases.length; tc++ ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/Array/ |
tostring_1.js | 40 var testcases = new Array(); 67 testcases[tc++] = new TestCase ( SECTION, 74 testcases[tc++] = new TestCase ( SECTION, 80 testcases[tc++] = new TestCase( SECTION, 87 testcases[tc++] = new TestCase( SECTION, 94 testcases[tc++] = new TestCase( SECTION, 101 testcases[tc++] = new TestCase( SECTION, 113 testcases[tc++] = new TestCase ( SECTION, 119 testcases[tc++] = new TestCase( SECTION, 127 for ( tc=0; tc < testcases.length; tc++ ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/Objects/ |
toString-001.js | 42 var testcases = new Array(); 46 testcases[testcases.length] = new TestCase( SECTION, 53 testcases[testcases.length] = new TestCase( SECTION, 60 testcases[testcases.length] = new TestCase( SECTION, 69 testcases[testcases.length] = new TestCase( SECTION, 80 for ( tc=0; tc < testcases.length; tc++ ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/function/ |
Number.js | 40 var testcases = new Array(); 45 testcases[count++] = new TestCase( SECTION, "Number(new Date(2200)) ", 47 testcases[count++] = new TestCase( SECTION, "Number(true) ", 49 testcases[count++] = new TestCase( SECTION, "Number(false) ", 51 testcases[count++] = new TestCase( SECTION, "Number('124') ", 53 testcases[count++] = new TestCase( SECTION, "Number('1.23') ", 55 testcases[count++] = new TestCase( SECTION, "Number({p:1}) ", 57 testcases[count++] = new TestCase( SECTION, "Number(null) ", 59 testcases[count++] = new TestCase( SECTION, "Number(-45) ", 80 //testcases[count++] = new TestCase( SECTION, "Number([1,2,3]) " [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/statements/ |
switch.js | 42 var testcases = new Array(); 60 testcases[count++] = new TestCase ( SECTION, 'switch statement', 63 testcases[count++] = new TestCase ( SECTION, 'switch statement', 66 testcases[count++] = new TestCase ( SECTION, 'switch statement', 98 testcases[count++] = new TestCase ( SECTION, 'switch statement', 101 testcases[count++] = new TestCase ( SECTION, 'switch statement', 104 testcases[count++] = new TestCase ( SECTION, 'switch statement', 107 testcases[count++] = new TestCase ( SECTION, 'switch statement', 110 testcases[count++] = new TestCase ( SECTION, 'switch statement', 115 for ( tc=0; tc < testcases.length; tc++ ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Boolean/ |
15.6.4.3-3.js | 43 var testcases = new Array(); 45 testcases = getTestCases(); 60 for ( tc=0; tc < testcases.length; tc++ ) { 61 testcases[tc].passed = writeTestCaseResult( 62 testcases[tc].expect, 63 testcases[tc].actual, 64 testcases[tc].description +" = "+ 65 testcases[tc].actual ); 67 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value " [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.11-2.js | 42 var testcases = new Array(); 56 testcases[tc++] = new TestCase( SECTION, 61 testcases[tc++] = new TestCase( SECTION, 66 testcases[tc++] = new TestCase( SECTION, 71 testcases[tc++] = new TestCase( SECTION, 76 testcases[tc++] = new TestCase( SECTION, 85 for ( tc=0; tc < testcases.length; tc++ ) { 86 testcases[tc].passed = writeTestCaseResult( 87 testcases[tc].expect, 88 testcases[tc].actual [all...] |
15.9.5.11-3.js | 42 var testcases = new Array(); 55 testcases[tc++] = new TestCase( SECTION, 60 testcases[tc++] = new TestCase( SECTION, 65 testcases[tc++] = new TestCase( SECTION, 70 testcases[tc++] = new TestCase( SECTION, 75 testcases[tc++] = new TestCase( SECTION, 84 for ( tc=0; tc < testcases.length; tc++ ) { 85 testcases[tc].passed = writeTestCaseResult( 86 testcases[tc].expect, 87 testcases[tc].actual [all...] |
15.9.5.11-4.js | 42 var testcases = new Array(); 55 testcases[tc++] = new TestCase( SECTION, 60 testcases[tc++] = new TestCase( SECTION, 65 testcases[tc++] = new TestCase( SECTION, 70 testcases[tc++] = new TestCase( SECTION, 75 testcases[tc++] = new TestCase( SECTION, 84 for ( tc=0; tc < testcases.length; tc++ ) { 85 testcases[tc].passed = writeTestCaseResult( 86 testcases[tc].expect, 87 testcases[tc].actual [all...] |
15.9.5.11-5.js | 42 var testcases = new Array(); 55 testcases[tc++] = new TestCase( SECTION, 60 testcases[tc++] = new TestCase( SECTION, 65 testcases[tc++] = new TestCase( SECTION, 70 testcases[tc++] = new TestCase( SECTION, 75 testcases[tc++] = new TestCase( SECTION, 84 for ( tc=0; tc < testcases.length; tc++ ) { 85 testcases[tc].passed = writeTestCaseResult( 86 testcases[tc].expect, 87 testcases[tc].actual [all...] |