/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.4.3.js | 46 var testcases = new Array(); 49 testcases[testcases.length] = new TestCase( SECTION, "typeof(void(0))", "undefined", typeof(void(0)) ); 50 testcases[testcases.length] = new TestCase( SECTION, "typeof(null)", "object", typeof(null) ); 51 testcases[testcases.length] = new TestCase( SECTION, "typeof(true)", "boolean", typeof(true) ); 52 testcases[testcases.length] = new TestCase( SECTION, "typeof(false)", "boolean", typeof(false) ); 53 testcases[testcases.length] = new TestCase( SECTION, "typeof(new Boolean())", "object", (…) [all...] |
11.4.9.js | 42 var testcases = new Array(); 44 testcases[tc++] = new TestCase( SECTION, "!(null)", true, !(null) ); 45 testcases[tc++] = new TestCase( SECTION, "!(var x)", true, !(eval("var x")) ); 46 testcases[tc++] = new TestCase( SECTION, "!(void 0)", true, !(void 0) ); 48 testcases[tc++] = new TestCase( SECTION, "!(false)", true, !(false) ); 49 testcases[tc++] = new TestCase( SECTION, "!(true)", false, !(true) ); 50 testcases[tc++] = new TestCase( SECTION, "!()", true, !(eval()) ); 51 testcases[tc++] = new TestCase( SECTION, "!(0)", true, !(0) ); 52 testcases[tc++] = new TestCase( SECTION, "!(-0)", true, !(-0) ); 53 testcases[tc++] = new TestCase( SECTION, "!(NaN)", true, !(Number.NaN) ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/ |
template.js | 25 var testcases = new Array(); 28 testcases[tc++] = new TestCase( SECTION, 33 for ( tc=0; tc < testcases.length; tc++ ) { 34 testcases[tc].passed = writeTestCaseResult( 35 testcases[tc].expect, 36 testcases[tc].actual, 37 testcases[tc].description +" = "+ 38 testcases[tc].actual ); 40 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value " [all...] |
/external/webkit/Source/WebKit/qt/tests/benchmarks/webgl/ |
tst_webgl.qrc | 2 <qresource prefix="/testcases">
|
/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/LexicalConventions/ |
7.7.3-1.js | 47 var testcases = new Array(); 50 testcases[tc++] = new TestCase( SECTION, 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, 80 testcases[tc++] = new TestCase( SECTION, 85 testcases[tc++] = new TestCase( SECTION, 90 testcases[tc++] = new TestCase( SECTION [all...] |
7.4.1-1-n.js | 47 var testcases = getTestCases(); variable 59 for ( tc=0; tc < testcases.length; tc++ ) { 60 testcases[tc].actual = eval( testcases[tc].actual ); 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/llvm/test/Verifier/ |
README.txt | 1 This directory contains testcases that the verifier is supposed to detect as 2 malformed LLVM code. Testcases for situations that the verifier incorrectly
|
/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/Exceptions/ |
function-001.js | 31 var testcases = new Array(); 43 testcases[tc++] = new TestCase( 53 for ( tc=0; tc < testcases.length; tc++ ) { 54 testcases[tc].passed = writeTestCaseResult( 55 testcases[tc].expect, 56 testcases[tc].actual, 57 testcases[tc].description +" = "+ 58 testcases[tc].actual ); 60 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value " [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
15.1.2.2-2.js | 42 var testcases = new Array(); 44 testcases[tc++] = new TestCase( SECTION, 49 testcases[tc++] = new TestCase( SECTION, 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, 84 testcases[tc++] = new TestCase( SECTION [all...] |
15.1-1-n.js | 42 var testcases = new Array(); 44 testcases[tc] = new TestCase( SECTION, 52 for ( tc=0; tc < testcases.length; tc++ ) { 53 testcases[tc].actual = eval(testcases[tc].actual); 55 testcases[tc].passed = writeTestCaseResult( 56 testcases[tc].expect, 57 testcases[tc].actual, 58 testcases[tc].description +" = "+ 59 testcases[tc].actual ) [all...] |
15.1-2-n.js | 41 var testcases = new Array(); 43 testcases[tc] = new TestCase( SECTION, 50 for ( tc=0; tc < testcases.length; tc++ ) { 51 testcases[tc].actual = eval(testcases[tc].actual); 53 testcases[tc].passed = writeTestCaseResult( 54 testcases[tc].expect, 55 testcases[tc].actual, 56 testcases[tc].description +" = "+ 57 testcases[tc].actual ) [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-2.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...] |
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...] |
10.1.5-1.js | 49 var testcases = getTestCases(); variable 52 testcases[0].reason += " Object == null" ; 55 testcases[0].reason += " Function == null"; 58 testcases[0].reason += " String == null"; 61 testcases[0].reason += " Array == null"; 64 testcases[0].reason += " Function == null"; 67 testcases[0].reason += " Math == null"; 70 testcases[0].reason += " Boolean == null"; 73 testcases[0].reason += " Date == null"; 77 testcases[0].reason += " NaN == null" [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/regexp/ |
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...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Types/ |
8.1.js | 41 var testcases = new Array(); 43 testcases[tc++] = new TestCase( SECTION, 48 testcases[tc++] = new TestCase( SECTION, 53 testcases[tc++] = new TestCase( SECTION, 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 ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/function/ |
definition-1.js | 38 var testcases = new Array(); 44 testcases[tc++] = new TestCase( SECTION, 49 testcases[tc++] = new TestCase( SECTION, 54 testcases[tc++] = new TestCase( SECTION, 62 for ( tc=0; tc < testcases.length; tc++ ) { 63 testcases[tc].passed = writeTestCaseResult( 64 testcases[tc].expect, 65 testcases[tc].actual, 66 testcases[tc].description +" = "+ 67 testcases[tc].actual ) [all...] |
regexparg-1.js | 41 var testcases = new Array(); 47 testcases[tc++] = new TestCase( SECTION, 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, 87 for ( tc=0; tc < testcases.length; tc++ ) { 88 testcases[tc].passed = writeTestCaseResult [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...] |