/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/TypeConversion/ |
D | 9.3.1-3.js | 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, 116 testcases[tc++] = new TestCase( SECTION, [all …]
|
D | 9.2.js | 50 testcases[tc++] = new TestCase( SECTION, "Boolean()", false, Boolean() ); 51 …testcases[tc++] = new TestCase( SECTION, "Boolean(var x)", false, Boolean(eval("… 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… 59 … testcases[tc++] = new TestCase( SECTION, "Boolean('')", false, Boolean("") ); [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/LexicalConventions/ |
D | 7.6.js | 45 testcases[tc++] = new TestCase( SECTION, 52 testcases[tc++] = new TestCase( SECTION, 58 testcases[tc++] = new TestCase( SECTION, 64 testcases[tc++] = new TestCase( SECTION, 70 testcases[tc++] = new TestCase( SECTION, 76 testcases[tc++] = new TestCase( SECTION, 82 testcases[tc++] = new TestCase( SECTION, 87 testcases[tc++] = new TestCase( SECTION, 92 testcases[tc++] = new TestCase( SECTION, 97 testcases[tc++] = new TestCase( SECTION, [all …]
|
D | 7.7.3-1.js | 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, 95 testcases[tc++] = new TestCase( SECTION, [all …]
|
D | 7.7.3-2.js | 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, 84 testcases[tc].actual, 85 testcases[tc].description +" = "+ testcases[tc].actual ); [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
D | 11.4.9.js | 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) ); 54 …testcases[tc++] = new TestCase( SECTION, "!(Infinity)", false, !(Number.POSITIVE_INF… [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
D | 15.1.2.2-2.js | 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, 89 testcases[tc++] = new TestCase( SECTION, [all …]
|
/external/expat/tests/ |
D | minicheck.c | 28 TCase *tc = (TCase *) calloc(1, sizeof(TCase)); in tcase_create() local 29 if (tc != NULL) { in tcase_create() 30 tc->name = name; in tcase_create() 32 return tc; in tcase_create() 36 suite_add_tcase(Suite *suite, TCase *tc) in suite_add_tcase() argument 39 assert(tc != NULL); in suite_add_tcase() 40 assert(tc->next_tcase == NULL); in suite_add_tcase() 42 tc->next_tcase = suite->tests; in suite_add_tcase() 43 suite->tests = tc; in suite_add_tcase() 47 tcase_add_checked_fixture(TCase *tc, in tcase_add_checked_fixture() argument [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/inherit/ |
D | proto_1.js | 75 for ( tc=0; tc < testcases.length; tc++ ) { 76 testcases[tc].passed = writeTestCaseResult( 77 testcases[tc].expect, 78 testcases[tc].actual, 79 testcases[tc].description +" = "+ 80 testcases[tc].actual ); 82 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value "; 89 testcases[tc++] = new TestCase( SECTION, 95 testcases[tc++] = new TestCase( SECTION, 102 testcases[tc++] = new TestCase( SECTION, [all …]
|
D | proto_6.js | 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 "; 107 testcases[tc++] = new TestCase( SECTION, 112 testcases[tc++] = new TestCase( SECTION, 117 testcases[tc++] = new TestCase( SECTION, [all …]
|
D | proto_5.js | 77 for ( tc=0; tc < testcases.length; tc++ ) { 78 testcases[tc].passed = writeTestCaseResult( 79 testcases[tc].expect, 80 testcases[tc].actual, 81 testcases[tc].description +" = "+ 82 testcases[tc].actual ); 84 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value "; 95 testcases[tc++] = new TestCase( SECTION, 100 testcases[tc++] = new TestCase( SECTION, 105 testcases[tc++] = new TestCase( SECTION, [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/SourceText/ |
D | 6-2.js | 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; 104 tc++; 106 testcases[tc]= new TestCase( SECTION, 112 testcases[tc].actual = s; 118 for ( tc=0; tc < testcases.length; tc++ ) { [all …]
|
D | 6-1.js | 72 testcases[tc] = new TestCase( SECTION, 79 tc++; 81 testcases[tc] = new TestCase( SECTION, 88 tc++; 90 testcases[tc] = new TestCase( SECTION, 97 testcases[tc++] = new TestCase( SECTION, 103 testcases[tc] = new TestCase( SECTION, 113 for ( tc=0; tc < testcases.length; tc++ ) { 114 testcases[tc].passed = writeTestCaseResult( 115 testcases[tc].expect, [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
D | 15.9.5.2.js | 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, 105 testcases[tc++] = new TestCase( SECTION, [all …]
|
D | 15.9.5.2-1.js | 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, 105 testcases[tc++] = new TestCase( SECTION, [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/Script/ |
D | new-001.js | 52 testcases[tc++] = new TestCase( 58 testcases[tc++] = new TestCase( 64 testcases[tc++] = new TestCase( 70 testcases[tc++] = new TestCase( 76 testcases[tc++] = new TestCase( 82 testcases[tc++] = new TestCase( 88 testcases[tc++] = new TestCase( 94 testcases[tc++] = new TestCase( 100 testcases[tc++] = new TestCase( 109 for ( tc=0; tc < testcases.length; tc++ ) { [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/regress/ |
D | new-001.js | 52 testcases[tc++] = new TestCase( 58 testcases[tc++] = new TestCase( 64 testcases[tc++] = new TestCase( 70 testcases[tc++] = new TestCase( 76 testcases[tc++] = new TestCase( 82 testcases[tc++] = new TestCase( 88 testcases[tc++] = new TestCase( 94 testcases[tc++] = new TestCase( 100 testcases[tc++] = new TestCase( 109 for ( tc=0; tc < testcases.length; tc++ ) { [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/ |
D | 15.4.5.1-2.js | 80 testcases[tc++] = new TestCase( SECTION, 85 testcases[tc++] = new TestCase( SECTION, 92 testcases[tc++] = new TestCase( SECTION, 97 testcases[tc++] = new TestCase( SECTION, 102 testcases[tc++] = new TestCase( SECTION, 107 testcases[tc++] = new TestCase( SECTION, 115 testcases[tc++] = new TestCase( SECTION, 120 testcases[tc++] = new TestCase( SECTION, 131 testcases[tc++] = new TestCase( SECTION, 139 for ( tc=0; tc < testcases.length; tc++ ) { [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/ |
D | jsref.js | 24 var tc = 0; variable 51 testcases[tc++] = new TestCase( SECTION, description, expect, actual ); 76 tc = 0; 80 for ( tc=0; tc < testcases.length; tc++ ) { 81 testcases[tc].passed = writeTestCaseResult( 82 testcases[tc].expect, 83 testcases[tc].actual, 84 testcases[tc].description +" = "+ 85 testcases[tc].actual ); 87 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value "; [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/function/ |
D | regexparg-1.js | 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( 89 testcases[tc].expect, [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ExecutionContexts/ |
D | 10.2.2-2.js | 68 …testcases[tc++] = new TestCase( SECTION, "eval( 'this == THIS' )", true, … 69 …testcases[tc++] = new TestCase( SECTION, "this in a with() block", GLOBAL, this+… 70 …testcases[tc++] = new TestCase( SECTION, "new MyObject('hello').value", "hello", … 71 …testcases[tc++] = new TestCase( SECTION, "eval(new MyObject('hello').value)", "hello", … 72 …testcases[tc++] = new TestCase( SECTION, "new MyObject('hello').getClass()", "[object Objec… 73 …testcases[tc++] = new TestCase( SECTION, "eval(new MyObject('hello').getClass())", "[object Objec… 74 …testcases[tc++] = new TestCase( SECTION, "eval(new MyObject('hello').toString())", "hello", eval… 75 …testcases[tc++] = new TestCase( SECTION, "eval('getClass') == Object.prototype.toString", true, … 78 testcases[tc++] = new TestCase( SECTION, GLOBAL_PROPERTIES[i] + 88 for ( tc=0; tc < testcases.length; tc++ ) { [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/instanceof/ |
D | instanceof-002.js | 18 var tc = 0; variable 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/Statements/ |
D | 12.5-2.js | 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, 88 testcases[tc].actual, [all …]
|
D | 12.5-1.js | 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, 90 testcases[tc].actual, [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/Array/ |
D | tostring_1.js | 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++ ) { 128 testcases[tc].passed = writeTestCaseResult( [all …]
|