| Description: Call Objects |
| Author: christine@netscape.com |
| var TITLE = "The Call Constructor"; |
| writeHeaderToLog( SECTION + " "+ TITLE); |
| var testcases = new Array(); |
| testcases[tc++] = new TestCase( SECTION, |
| "var b = new Boolean(); b instanceof Boolean", |
| testcases[tc++] = new TestCase( SECTION, |
| testcases[tc++] = new TestCase( SECTION, |
| testcases[tc++] = new TestCase( SECTION, |
| "true instanceof Boolean", |
| true instanceof Boolean ); |
| testcases[tc++] = new TestCase( SECTION, |
| "Boolean instanceof Object", |
| Boolean instanceof Object ); |
| for ( tc=0; tc < testcases.length; tc++ ) { |
| testcases[tc].passed = writeTestCaseResult( |
| testcases[tc].description +" = "+ |
| testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value "; |