HomeSort by relevance Sort by last modified time
    Searched full:testcases (Results 126 - 150 of 1036) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Number/
15.7.3.6-1.js 41 var testcases = getTestCases(); variable
42 test( testcases );
50 for ( tc = 0; tc < testcases.length; tc++ ) {
51 testcases[tc].passed = writeTestCaseResult(
52 testcases[tc].expect,
53 testcases[tc].actual,
54 testcases[tc].description +" = "+ testcases[tc].actual );
56 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value
    [all...]
15.7.4.1.js 39 var testcases = getTestCases(); variable
40 test( testcases );
54 for ( tc = 0; tc < testcases.length; tc++ ) {
55 testcases[tc].passed = writeTestCaseResult(
56 testcases[tc].expect,
57 testcases[tc].actual,
58 testcases[tc].description +" = "+ testcases[tc].actual );
60 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value "
    [all...]
15.7.3.5-2.js 41 var testcases = getTestCases(); variable
42 test( testcases );
61 function test( testcases ) {
62 for ( tc = 0; tc < testcases.length; tc++ ) {
63 testcases[tc].actual = eval( testcases[tc].actual );
64 testcases[tc].passed = writeTestCaseResult(
65 testcases[tc].expect,
66 testcases[tc].actual,
67 testcases[tc].description +" = "+ testcases[tc].actual )
    [all...]
15.7.3.6-2.js 40 var testcases = getTestCases(); variable
41 test( testcases );
53 function test( testcases ) {
54 for ( tc=0; tc < testcases.length; tc++ ) {
55 testcases[tc].actual = eval( testcases[tc].actual );
56 testcases[tc].passed = writeTestCaseResult(
57 testcases[tc].expect,
58 testcases[tc].actual,
59 testcases[tc].description +" = "+ testcases[tc].actual )
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ObjectObjects/
15.2.4.js 41 var testcases = new Array();
42 testcases[tc++] = new TestCase( SECTION, "Object.prototype.__proto__",
50 for ( tc=0; tc < testcases.length; tc++ ) {
51 testcases[tc].passed = writeTestCaseResult(
52 testcases[tc].expect,
53 testcases[tc].actual,
54 testcases[tc].description +" = "+ testcases[tc].actual );
56 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value "
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Statements/
12.6.2-3.js 41 var testcases = new Array();
42 testcases[0] = new TestCase( SECTION, "for statement", 100, "" );
56 testcases[0].actual = testprogram();
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-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-9-n.js 43 var testcases = new Array();
45 testcases[testcases.length] = new TestCase( SECTION,
56 testcases[0].passed = writeTestCaseResult(
57 testcases[0].expect,
58 testcases[0].actual,
59 testcases[0].description +" = "+ testcases[0].actual );
61 testcases[0].reason += ( testcases[0].passed ) ? "" : "wrong value "
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/function/
nesting-1.js 38 var testcases = new Array();
42 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,
54 testcases[tc].description +" = "+
55 testcases[tc].actual );
57 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value "
    [all...]
regexparg-2-n.js 41 var testcases = new Array();
47 testcases[tc++] = new TestCase( SECTION,
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...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/statements/
do_while.js 39 var testcases = new Array();
49 testcases[count++] = new TestCase( SECTION, "do_while ",
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 );
61 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value "
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/version120/
boolean-001.js 38 var testcases = new Array();
54 testcases[tc++] = new TestCase(
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 );
69 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value "
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/Boolean/
boolean-001.js 38 var testcases = new Array();
54 testcases[tc++] = new TestCase(
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 );
69 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value "
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/Script/
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/
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...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/String/
charCodeAt.js 39 var testcases = new Array();
44 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt(-2)", NaN, aString.charCodeAt(-2));
45 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt(-1)", NaN, aString.charCodeAt(-1));
46 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 0)", 116, aString.charCodeAt( 0));
47 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 1)", 69, aString.charCodeAt( 1));
48 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 2)", 115, aString.charCodeAt( 2));
49 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 3)", 53, aString.charCodeAt( 3));
50 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 4)", NaN, aString.charCodeAt( 4));
51 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 5)", NaN, aString.charCodeAt( 5));
52 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( Infinity)", NaN, aString.charCodeAt( Infini (…)
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/operator/
strictEquality.js 39 var testcases = new Array();
42 testcases[count++] = new TestCase( SECTION, "('8' === 8) ",
45 testcases[count++] = new TestCase( SECTION, "(8 === 8) ",
48 testcases[count++] = new TestCase( SECTION, "(8 === true) ",
51 testcases[count++] = new TestCase( SECTION, "(new String('') === new String('')) ",
54 testcases[count++] = new TestCase( SECTION, "(new Boolean(true) === new Boolean(true))",
59 testcases[count++] = new TestCase( SECTION, "(anObject === anObject) ",
62 testcases[count++] = new TestCase( SECTION, "(anObject === { one:1 , two:2 }) ",
65 testcases[count++] = new TestCase( SECTION, "({ one:1 , two:2 } === anObject) ",
68 testcases[count++] = new TestCase( SECTION, "(null === null) "
    [all...]
equality.js 39 var testcases = new Array();
43 //testcases[count++] = new TestCase( SECTION, "(new String('') == new String('')) ",
46 //testcases[count++] = new TestCase( SECTION, "(new Boolean(true) == new Boolean(true)) ",
49 testcases[count++] = new TestCase( SECTION, "(new String('x') == 'x') ",
52 testcases[count++] = new TestCase( SECTION, "('x' == new String('x')) ",
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 +" = "
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/
special_characters.js 39 var testcases = new Array();
42 testcases[count++] = new TestCase ( SECTION, "'^abcdefghi'.match(/\^abc/)", String(["^abc"]), String('^abcdefghi'.match(/\^abc/)));
45 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/^abc/)", String(["abc"]), String('abcdefghi'.match(/^abc/)));
48 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/fghi$/)", String(["ghi"]), String('abcdefghi'.match(/ghi$/)));
51 testcases[count++] = new TestCase ( SECTION, "'eeeefghi'.match(/e*/)", String(["eeee"]), String('eeeefghi'.match(/e*/)));
54 testcases[count++] = new TestCase ( SECTION, "'abcdeeeefghi'.match(/e+/)", String(["eeee"]), String('abcdeeeefghi'.match(/e+/)));
57 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/abc?de/)", String(["abcde"]), String('abcdefghi'.match(/abc?de/)));
60 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/c.e/)", String(["cde"]), String('abcdefghi'.match(/c.e/)));
63 testcases[count++] = new TestCase ( SECTION, "'abcewirjskjdabciewjsdf'.match(/(abc).+\\1'/)",
67 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/xyz|def/)", String(["def"]), String('abcdef (…)
    [all...]
toString.js 39 var testcases = new Array();
43 testcases[count++] = new TestCase ( SECTION, "var re = new RegExp(); re.toString()",
48 testcases[count++] = new TestCase ( SECTION, "re = /.+/; re.toString()",
53 testcases[count++] = new TestCase ( SECTION, "re = /test/gi; re.toString()",
58 testcases[count++] = new TestCase ( SECTION, "re = /test2/ig; re.toString()",
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 +" = "
    [all...]
digit.js 39 var testcases = new Array();
46 testcases[count++] = new TestCase ( SECTION,
51 testcases[count++] = new TestCase ( SECTION,
56 testcases[count++] = new TestCase ( SECTION,
61 testcases[count++] = new TestCase ( SECTION,
68 testcases[count++] = new TestCase ( SECTION,
75 testcases[count++] = new TestCase ( SECTION,
85 testcases[count++] = new TestCase ( SECTION,
88 testcases[count++] = new TestCase ( SECTION,
96 testcases[count++] = new TestCase ( SECTION
    [all...]
global.js 39 var testcases = new Array();
42 testcases[count++] = new TestCase ( SECTION, "/xyz/g.global",
46 testcases[count++] = new TestCase ( SECTION, "/xyz/.global",
50 testcases[count++] = new TestCase ( SECTION, "'123 456 789'.match(/\\d+/g)",
54 testcases[count++] = new TestCase ( SECTION, "'123 456 789'.match(/(\\d+)/g)",
58 testcases[count++] = new TestCase ( SECTION, "'123 456 789'.match(/\\d+/)",
62 testcases[count++] = new TestCase ( SECTION, "(new RegExp('[a-z]','g')).global",
66 testcases[count++] = new TestCase ( SECTION, "(new RegExp('[a-z]','i')).global",
70 testcases[count++] = new TestCase ( SECTION, "'123 456 789'.match(new RegExp('\\\\d+','g'))",
74 testcases[count++] = new TestCase ( SECTION, "'123 456 789'.match(new RegExp('(\\\\d+)','g'))"
    [all...]
vertical_bar.js 39 var testcases = new Array();
42 testcases[count++] = new TestCase ( SECTION, "'abc'.match(new RegExp('xyz|abc'))",
46 testcases[count++] = new TestCase ( SECTION, "'this is a test'.match(new RegExp('quiz|exam|test|homework'))",
50 testcases[count++] = new TestCase ( SECTION, "'abc'.match(new RegExp('xyz|...'))",
54 testcases[count++] = new TestCase ( SECTION, "'abc'.match(new RegExp('(.)..|abc'))",
58 testcases[count++] = new TestCase ( SECTION, "'color: grey'.match(new RegExp('.+: gr(a|e)y'))",
62 testcases[count++] = new TestCase ( SECTION, "'no match'.match(new RegExp('red|white|blue'))",
66 testcases[count++] = new TestCase ( SECTION, "'Hi Bob'.match(new RegExp('(Rob)|(Bob)|(Robert)|(Bobby)'))",
70 testcases[count++] = new TestCase ( SECTION, "'abcdef'.match(new RegExp('abc|bcd|cde|def'))",
74 testcases[count++] = new TestCase ( SECTION, "'Hi Bob'.match(/(Rob)|(Bob)|(Robert)|(Bobby)/)"
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/
jsref.js 23 var testcases; variable
51 testcases[tc++] = new TestCase( SECTION, description, expect, actual );
75 testcases = new Array();
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_3/inherit/
proto_9.js 48 var testcases = new Array();
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 ";
70 return ( testcases );
    [all...]

Completed in 757 milliseconds

1 2 3 4 56 7 8 91011>>