/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Statements/ |
12.6.2-4.js | 42 var testcases = new Array(); 44 testcases[testcases.length] = new TestCase( SECTION, 58 testcases[0].passed = writeTestCaseResult( 59 testcases[0].expect, 60 testcases[0].actual, 61 testcases[0].description +" = "+ testcases[0].actual ); 63 testcases[0].reason += ( testcases[0].passed ) ? "" : "wrong value " [all...] |
12.6.2-1.js | 42 var testcases = new getTestCases(); 63 testcases[0].actual = testprogram(); 65 testcases[0].passed = writeTestCaseResult( 66 testcases[0].expect, 67 testcases[0].actual, 68 testcases[0].description +" = "+ testcases[0].actual ); 70 testcases[0].reason += ( testcases[0].passed ) ? "" : "wrong value "; 74 return ( testcases ); [all...] |
12.6.2-2.js | 41 var testcases = getTestCases(); variable 65 testcases[0].actual = testprogram(); 67 testcases[0].passed = writeTestCaseResult( 68 testcases[0].expect, 69 testcases[0].actual, 70 testcases[0].description +" = "+ testcases[0].actual ); 72 testcases[0].reason += ( testcases[0].passed ) ? "" : "wrong value "; 75 return ( testcases ); [all...] |
12.6.2-5.js | 41 var testcases = getTestCases(); variable 62 testcases[0].actual = testprogram(); 63 testcases[0].passed = writeTestCaseResult( 64 testcases[0].expect, 65 testcases[0].actual, 66 testcases[0].description +" = "+ testcases[0].actual ); 68 testcases[0].reason += ( testcases[0].passed ) ? "" : "wrong value "; 70 return ( testcases ); [all...] |
12.6.2-6.js | 41 var testcases = getTestCases(); variable 64 testcases[0].actual = testprogram(); 66 testcases[0].passed = writeTestCaseResult( 67 testcases[0].expect, 68 testcases[0].actual, 69 testcases[0].description +" = "+ testcases[0].actual ); 71 testcases[0].reason += ( testcases[0].passed ) ? "" : "wrong value "; 74 return ( testcases ); [all...] |
12.6.2-7.js | 41 var testcases = getTestCases(); variable 62 testcases[0].actual = testprogram(); 64 testcases[0].passed = writeTestCaseResult( 65 testcases[0].expect, 66 testcases[0].actual, 67 testcases[0].description +" = "+ testcases[0].actual ); 69 testcases[0].reason += ( testcases[0].passed ) ? "" : "wrong value "; 71 return ( testcases ); [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_1/regress/ |
function-001.js | 51 var testcases = new Array(); 55 testcases[tc++] = new TestCase( 65 for ( tc=0; tc < testcases.length; tc++ ) { 66 testcases[tc].passed = writeTestCaseResult( 67 testcases[tc].expect, 68 testcases[tc].actual, 69 testcases[tc].description +" = "+ 70 testcases[tc].actual ); 72 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value " [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/function/ |
function-001-n.js | 51 var testcases = new Array(); 53 testcases[tc++] = new TestCase( 63 for ( tc=0; tc < testcases.length; tc++ ) { 64 testcases[tc].passed = writeTestCaseResult( 65 testcases[tc].expect, 66 testcases[tc].actual, 67 testcases[tc].description +" = "+ 68 testcases[tc].actual ); 70 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value " [all...] |
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_3/Script/ |
function-001-n.js | 51 var testcases = new Array(); 53 testcases[tc++] = new TestCase( 63 for ( tc=0; tc < testcases.length; tc++ ) { 64 testcases[tc].passed = writeTestCaseResult( 65 testcases[tc].expect, 66 testcases[tc].actual, 67 testcases[tc].description +" = "+ 68 testcases[tc].actual ); 70 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value " [all...] |
switch-001.js | 43 var testcases = new Array(); 58 testcases[tc++] = new TestCase( 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 " [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/regress/ |
function-001-n.js | 51 var testcases = new Array(); 53 testcases[tc++] = new TestCase( 63 for ( tc=0; tc < testcases.length; tc++ ) { 64 testcases[tc].passed = writeTestCaseResult( 65 testcases[tc].expect, 66 testcases[tc].actual, 67 testcases[tc].description +" = "+ 68 testcases[tc].actual ); 70 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value " [all...] |
in-001.js | 41 var testcases = new Array(); 46 testcases[tc++] = new TestCase( 55 for ( tc=0; tc < testcases.length; tc++ ) { 56 testcases[tc].passed = writeTestCaseResult( 57 testcases[tc].expect, 58 testcases[tc].actual, 59 testcases[tc].description +" = "+ 60 testcases[tc].actual ); 62 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value " [all...] |
switch-001.js | 45 var testcases = new Array(); 60 testcases[tc++] = new TestCase( 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 " [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ExecutionContexts/ |
10.1.5-3.js | 48 var testcases = getTestCases(); variable 54 testcases[0].reason += " Object == null" ; 57 testcases[0].reason += " Function == null"; 60 testcases[0].reason += " String == null"; 63 testcases[0].reason += " Array == null"; 66 testcases[0].reason += " Function == null"; 69 testcases[0].reason += " Math == null"; 72 testcases[0].reason += " Boolean == null"; 75 testcases[0].reason += " Date == null"; 79 testcases[0].reason += " NaN == null" [all...] |
10.1.5-4.js | 49 var testcases = getTestCases(); variable 51 var EVAL_STRING = 'if ( Object == null ) { testcases[0].reason += " Object == null" ; }' + 52 'if ( Function == null ) { testcases[0].reason += " Function == null"; }' + 53 'if ( String == null ) { testcases[0].reason += " String == null"; }' + 54 'if ( Array == null ) { testcases[0].reason += " Array == null"; }' + 55 'if ( Number == null ) { testcases[0].reason += " Function == null";}' + 56 'if ( Math == null ) { testcases[0].reason += " Math == null"; }' + 57 'if ( Boolean == null ) { testcases[0].reason += " Boolean == null"; }' + 58 'if ( Date == null ) { testcases[0].reason += " Date == null"; }' + 59 'if ( eval == null ) { testcases[0].reason += " eval == null"; }' [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/ |
15.3.1.1-3.js | 48 var testcases = new Array(); 73 testcases[testcases.length] = new TestCase( SECTION, "MyFunc.length", 2000, MyFunc.length ); 74 testcases[testcases.length] = new TestCase( SECTION, "var MY_OB = eval('MyFunc(s)')", 1, MY_OB ); 75 testcases[testcases.length] = new TestCase( SECTION, "var MY_OB = eval('MyFunc(s)')", 1, eval("var MY_OB = MyFunc("+s+"); MY_OB") ); 77 testcases[testcases.length] = new TestCase( SECTION, "MyObject.length", 2000, MyObject.length ); 79 testcases[testcases.length] = new TestCase( SECTION, "FUN1 = Function( 'a','b','c', 'return FUN1.length' ); (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/SourceText/ |
6-1.js | 70 var testcases = new Array(); 72 testcases[tc] = new TestCase( SECTION, 77 // \u000A testcases[tc].actual = "FAILED!"; 81 testcases[tc] = new TestCase( SECTION, 86 // the following character should noy be interpreted as a line terminator: \\n testcases[tc].actual = "FAILED" 90 testcases[tc] = new TestCase( SECTION, 95 // the following character should not be interpreted as a line terminator: \u000A testcases[tc].actual = "FAILED" 97 testcases[tc++] = new TestCase( SECTION, 101 // the following character should not be interpreted as a line terminator: \n testcases[tc].actual = 'FAILED' 103 testcases[tc] = new TestCase( SECTION [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/instanceof/ |
instanceof-002.js | 19 var testcases = new Array(); 23 testcases[tc++] = new TestCase( SECTION, 28 testcases[tc++] = new TestCase( SECTION, 33 testcases[tc++] = new TestCase( SECTION, 38 testcases[tc++] = new TestCase( SECTION, 43 testcases[tc++] = new TestCase( SECTION, 50 for ( tc=0; tc < testcases.length; tc++ ) { 51 testcases[tc].passed = writeTestCaseResult( 52 testcases[tc].expect, 53 testcases[tc].actual [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.1.1-1.js | 54 testcases[tc] = new TestCase( SECTION, "new Date("+M_SECS+")", CURRENT_YEAR, (new Date( M_SECS)).getUTCFullYear() ); 56 testcases[tc].passed = writeTestCaseResult( 57 testcases[tc].expect, 58 testcases[tc].actual, 59 testcases[tc].description +" = "+ 60 testcases[tc].actual ); 62 if ( ! testcases[tc].passed ) { 63 testcases[tc].reason = "wrong year value"; 69 return ( testcases ); 85 var testcases = new Array() [all...] |
15.9.1.1-2.js | 48 testcases[tc] = new TestCase( SECTION, "new Date("+M_SECS+")", CURRENT_YEAR, (new Date( M_SECS )).getUTCFullYear() ); 50 testcases[tc].passed = writeTestCaseResult( 51 testcases[tc].expect, 52 testcases[tc].actual, 53 testcases[tc].description + " = " + 54 testcases[tc].actual ); 56 if ( ! testcases[tc].passed ) { 57 testcases[tc].reason = "wrong year value"; 63 return ( testcases ); 79 var testcases = new Array() [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.13.1.js | 44 var testcases = getTestCases(); variable 59 for ( tc=0; tc < testcases.length; tc++ ) { 60 testcases[tc].passed = writeTestCaseResult( 61 testcases[tc].expect, 62 testcases[tc].actual, 63 testcases[tc].description +" = "+ 64 testcases[tc].actual ); 66 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value "; 69 return ( testcases ); [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Number/ |
15.7.3.2-4.js | 39 var testcases = getTestCases(); variable 40 test( testcases ); 54 function test( testcases ) { 55 for ( tc = 0; tc < testcases.length; tc++ ) { 57 testcases[tc].expect, 58 testcases[tc].actual, 59 testcases[tc].description +" = "+ 60 testcases[tc].actual ); 62 testcases[tc].reason += "property should not be enumerated "; 65 return ( testcases ); [all...] |
15.7.3.3-4.js | 41 var testcases = getTestCases(); variable 42 test( testcases ); 58 for ( tc = 0; tc < testcases.length; tc++ ) { 59 testcases[tc].passed = writeTestCaseResult( 60 testcases[tc].expect, 61 testcases[tc].actual, 62 testcases[tc].description +" = "+ 63 testcases[tc].actual ); 65 testcases[tc].reason += "property should not be enumerated "; 68 return ( testcases ); [all...] |
15.7.3.6-4.js | 40 var testcases = getTestCases(); variable 41 test( testcases ); 57 for ( tc=0; tc < testcases.length; tc++ ) { 58 testcases[tc].passed = writeTestCaseResult( 59 testcases[tc].expect, 60 testcases[tc].actual, 61 testcases[tc].description +" = "+ testcases[tc].actual ); 62 testcases[tc].reason += "property should not be enumerated "; 65 return ( testcases ); [all...] |