/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Statements/ |
12.7-1-n.js | 37 var testcases = getTestCases(); variable 42 for ( tc=0; tc < testcases.length; tc++ ) { 44 testcases[tc].actual = eval( testcases[tc].actual ); 46 testcases[tc].passed = writeTestCaseResult( 47 testcases[tc].expect, 48 testcases[tc].actual, 49 testcases[tc].description +" = "+ 50 testcases[tc].actual ); 52 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value " [all...] |
12.8-1-n.js | 38 var testcases = getTestCases(); variable 43 for ( tc=0; tc < testcases.length; tc++ ) { 45 testcases[tc].actual = eval( testcases[tc].actual ); 47 testcases[tc].passed = writeTestCaseResult( 48 testcases[tc].expect, 49 testcases[tc].actual, 50 testcases[tc].description +" = "+ 51 testcases[tc].actual ); 53 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value " [all...] |
12.9-1-n.js | 33 var testcases = getTestCases(); variable 39 for ( tc=0; tc < testcases.length; tc++ ) { 41 testcases[tc].actual = eval( testcases[tc].actual ); 43 testcases[tc].passed = writeTestCaseResult( 44 testcases[tc].expect, 45 testcases[tc].actual, 46 testcases[tc].description +" = "+ 47 testcases[tc].actual ); 49 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value " [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/String/ |
match.js | 39 var testcases = new Array(); 44 testcases[count++] = new TestCase( SECTION, "aString.match(/is.*test/) ", String(["is is a test"]), String(aString.match(/is.*test/))); 45 testcases[count++] = new TestCase( SECTION, "aString.match(/s.*s/) ", String(["s is a test s"]), String(aString.match(/s.*s/))); 49 for ( tc=0; tc < testcases.length; tc++ ) { 50 testcases[tc].passed = writeTestCaseResult( 51 testcases[tc].expect, 52 testcases[tc].actual, 53 testcases[tc].description +" = "+ 54 testcases[tc].actual ); 55 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value " [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/Script/ |
delete-001.js | 41 var testcases = new Array(); 59 testcases[testcases.length] = new TestCase( SECTION, 68 for ( tc=0; tc < testcases.length; tc++ ) { 69 testcases[tc].passed = writeTestCaseResult( 70 testcases[tc].expect, 71 testcases[tc].actual, 72 testcases[tc].description +" = "+ 73 testcases[tc].actual ); 75 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value " [all...] |
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_3/regress/ |
delete-001.js | 41 var testcases = new Array(); 59 testcases[testcases.length] = new TestCase( SECTION, 68 for ( tc=0; tc < testcases.length; tc++ ) { 69 testcases[tc].passed = writeTestCaseResult( 70 testcases[tc].expect, 71 testcases[tc].actual, 72 testcases[tc].description +" = "+ 73 testcases[tc].actual ); 75 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value " [all...] |
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/ecma/LexicalConventions/ |
7.7.3-2.js | 52 var testcases = new Array(); 54 testcases[tc++] = new TestCase( SECTION, 59 testcases[tc++] = new TestCase( SECTION, 64 testcases[tc++] = new TestCase( SECTION, 70 testcases[tc++] = new TestCase( SECTION, 79 for ( tc=0; tc < testcases.length; tc++ ) { 80 testcases[tc].actual = testcases[tc].actual; 82 testcases[tc].passed = writeTestCaseResult( 83 testcases[tc].expect [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8.2.14.js | 43 var testcases = getTestCases(); variable 58 testcases[caseno].reason = Math.random(); 59 testcases[caseno].actual = "pass"; 61 if ( ! ( testcases[caseno].reason >= 0) ) { 62 testcases[caseno].actual = "fail"; 65 if ( ! (testcases[caseno].reason < 1) ) { 66 testcases[caseno].actual = "fail"; 71 for ( tc=0; tc < testcases.length; tc++ ) { 73 testcases[tc].passed = writeTestCaseResult( 74 testcases[tc].expect [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/function/ |
Function_object.js | 39 var testcases = new Array(); 50 testcases[count++] = new TestCase( SECTION, "f.name", 53 testcases[count++] = new TestCase( SECTION, "f.length", 56 testcases[count++] = new TestCase( SECTION, "f.arity", 59 testcases[count++] = new TestCase( SECTION, "f(2,3,4)", 64 testcases[count++] = new TestCase( SECTION, "(new Function()).name", 67 testcases[count++] = new TestCase( SECTION, "(new Function()).toString()", 72 for ( tc=0; tc < testcases.length; tc++ ) { 73 testcases[tc].passed = writeTestCaseResult( 74 testcases[tc].expect [all...] |
nesting.js | 39 var testcases = new Array(); 46 testcases[count++] = new TestCase( SECTION, "outer:x ", 48 testcases[count++] = new TestCase( SECTION, "outer:y ", 53 testcases[count++] = new TestCase( SECTION, "inner:x ", 55 testcases[count++] = new TestCase( SECTION, "inner:y ", 60 testcases[count++] = new TestCase( SECTION, "outer:x ", 62 testcases[count++] = new TestCase( SECTION, "outer:y ", 70 for ( tc=0; tc < testcases.length; tc++ ) { 71 testcases[tc].passed = writeTestCaseResult( 72 testcases[tc].expect [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
RegExp_lastIndex.js | 40 var testcases = new Array(); 45 testcases[count++] = new TestCase ( SECTION, "re=/x./g; re.lastIndex=4; re.exec('xyabcdxa')", 49 testcases[count++] = new TestCase ( SECTION, "re.lastIndex", 53 testcases[count++] = new TestCase ( SECTION, "re.exec('xyabcdef')", 57 testcases[count++] = new TestCase ( SECTION, "re.lastIndex", 61 testcases[count++] = new TestCase ( SECTION, "re.exec('xyabcdef')", 66 testcases[count++] = new TestCase ( SECTION, "re.lastIndex=30; re.exec('123xaxbxc456')", 71 for ( tc=0; tc < testcases.length; tc++ ) { 72 testcases[tc].passed = writeTestCaseResult( 73 testcases[tc].expect [all...] |
asterisk.js | 39 var testcases = new Array(); 42 testcases[count++] = new TestCase ( SECTION, "'abcddddefg'.match(new RegExp('d*'))", 46 testcases[count++] = new TestCase ( SECTION, "'abcddddefg'.match(new RegExp('cd*'))", 50 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(new RegExp('cx*d'))", 54 testcases[count++] = new TestCase ( SECTION, "'xxxxxxx'.match(new RegExp('(x*)(x+)'))", 58 testcases[count++] = new TestCase ( SECTION, "'1234567890'.match(new RegExp('(\\d*)(\\d+)'))", 63 testcases[count++] = new TestCase ( SECTION, "'1234567890'.match(new RegExp('(\\d*)\\d(\\d+)'))", 68 testcases[count++] = new TestCase ( SECTION, "'xxxxxxx'.match(new RegExp('(x+)(x*)'))", 72 testcases[count++] = new TestCase ( SECTION, "'xxxxxxyyyyyy'.match(new RegExp('x*y+$'))", 76 testcases[count++] = new TestCase ( SECTION, "'abcdef'.match(/[\\d]*[\\s]*bc./)" [all...] |
backslash.js | 39 var testcases = new Array(); 42 testcases[count++] = new TestCase ( SECTION, "'abcde'.match(new RegExp('\e'))", 46 testcases[count++] = new TestCase ( SECTION, "'ab\\cde'.match(new RegExp('\\\\'))", 50 testcases[count++] = new TestCase ( SECTION, "'ab\\cde'.match(/\\\\/)", 54 testcases[count++] = new TestCase ( SECTION, 60 testcases[count++] = new TestCase ( SECTION, 67 for ( tc=0; tc < testcases.length; tc++ ) { 68 testcases[tc].passed = writeTestCaseResult( 69 testcases[tc].expect, 70 testcases[tc].actual [all...] |
exec.js | 39 var testcases = new Array(); 41 testcases[count++] = new TestCase ( SECTION, 45 testcases[count++] = new TestCase ( SECTION, 50 testcases[count++] = new TestCase ( SECTION, 54 testcases[count++] = new TestCase ( SECTION, 59 testcases[count++] = new TestCase ( SECTION, 65 for ( tc=0; tc < testcases.length; tc++ ) { 66 testcases[tc].passed = writeTestCaseResult( 67 testcases[tc].expect, 68 testcases[tc].actual [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_1/ |
jsref.js | 2 var testcases; variable 28 for ( tc=0; tc < testcases.length; tc++ ) { 29 testcases[tc].passed = writeTestCaseResult( 30 testcases[tc].expect, 31 testcases[tc].actual, 32 testcases[tc].description +" = "+ 33 testcases[tc].actual ); 35 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value "; 38 return ( testcases ); [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_4/ |
jsref.js | 2 var testcases; variable 27 for ( tc=0; tc < testcases.length; tc++ ) { 28 testcases[tc].passed = writeTestCaseResult( 29 testcases[tc].expect, 30 testcases[tc].actual, 31 testcases[tc].description +" = "+ 32 testcases[tc].actual ); 34 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value "; 37 return ( testcases ); [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/inherit/ |
proto_6.js | 48 var testcases = new Array(); 81 for ( tc=0; tc < testcases.length; tc++ ) { 82 testcases[tc].passed = writeTestCaseResult( 83 testcases[tc].expect, 84 testcases[tc].actual, 85 testcases[tc].description +" = "+ 86 testcases[tc].actual ); 88 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value "; 91 return ( testcases ); [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...] |
15.9.5.11-6.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.1.js | 40 var testcases = new Array(); 42 testcases[tc++] = new TestCase( SECTION, 48 for ( tc=0; tc < testcases.length; tc++ ) { 49 testcases[tc].passed = writeTestCaseResult( 50 testcases[tc].expect, 51 testcases[tc].actual, 52 testcases[tc].description +" = "+ 53 testcases[tc].actual ); 55 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value " [all...] |