Home | History | Annotate | Download | only in ExecutionContexts

Lines Matching defs:testcases

48     var testcases = getTestCases();
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";
82 testcases[0].reason += " Infinity == null";
86 testcases[0].reason += " eval == null";
89 testcases[0].reason += " parseInt == null";
92 if ( testcases[0].reason != "" ) {
93 testcases[0].actual = "fail";
95 testcases[0].actual = "pass";
97 testcases[0].expect = "pass";
99 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 );
107 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value ";
110 return ( testcases );