Home | History | Annotate | Download | only in ExecutionContexts

Lines Matching defs:testcases

49     var testcases = getTestCases();
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";
80 testcases[0].reason += " Infinity == null";
84 testcases[0].reason += " eval == null";
87 testcases[0].reason += " parseInt == null";
90 if ( testcases[0].reason != "" ) {
91 testcases[0].actual = "fail";
93 testcases[0].actual = "pass";
95 testcases[0].expect = "pass";
100 for ( tc=0; tc < testcases.length; tc++ ) {
101 testcases[tc].passed = writeTestCaseResult(
102 testcases[tc].expect,
103 testcases[tc].actual,
104 testcases[tc].description +" = "+
105 testcases[tc].actual );
109 return ( testcases );