Debian Codegraph @

rhino/testsrc/tests/ecma/template.js

raw symbols SCIP
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6 gTestfile = 'template.js';
7
8 /**
9 * File Name: template.js
10 * Reference: ** replace with bugzilla URL or document reference **
11 * Description: ** replace with description of test **
12 * Author: ** replace with your e-mail address **
13 */
14
15 var SECTION = ""; // provide a document reference (ie, ECMA section)
16 var VERSION = "ECMA"; // Version of JavaScript or ECMA
17 var TITLE = ""; // Provide ECMA section title or a description
18 var BUGNUMBER = ""; // Provide URL to bugsplat or bugzilla report
19
20 startTest(); // leave this alone
21
22 /*
23 * Calls to AddTestCase here. AddTestCase is a function that is defined
24 * in shell.js and takes three arguments:
25 * - a string representation of what is being tested
26 * - the expected result
27 * - the actual result
28 *
29 * For example, a test might look like this:
30 *
31 * AddTestCase("** description",
32 * "** expected value",
33 * "** actual value");
34 */
35
36 // leave this alone. this executes the test cases and
37 // displays results.
38 test();