michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* michael@0: * Any copyright is dedicated to the Public Domain. michael@0: * http://creativecommons.org/licenses/publicdomain/ michael@0: * Contributor: michael@0: */ michael@0: michael@0: michael@0: /** michael@0: * File Name: template.js michael@0: * Reference: ** replace with bugzilla URL or document reference ** michael@0: * Description: ** replace with description of test ** michael@0: * Author: ** replace with your e-mail address ** michael@0: */ michael@0: michael@0: var SECTION = ""; // provide a document reference (ie, ECMA section) michael@0: var VERSION = "ECMA"; // Version of JavaScript or ECMA michael@0: var TITLE = ""; // Provide ECMA section title or a description michael@0: var BUGNUMBER = ""; // Provide URL to bugsplat or bugzilla report michael@0: michael@0: startTest(); // leave this alone michael@0: michael@0: /* michael@0: * Calls to AddTestCase here. AddTestCase is a function that is defined michael@0: * in shell.js and takes three arguments: michael@0: * - a string representation of what is being tested michael@0: * - the expected result michael@0: * - the actual result michael@0: * michael@0: * For example, a test might look like this: michael@0: * michael@0: * AddTestCase("** description", michael@0: * "** expected value", michael@0: * "** actual value"); michael@0: */ michael@0: michael@0: // leave this alone. this executes the test cases and michael@0: // displays results. michael@0: test();