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/. */
9
Description: 'Tests the switch statement'
11
http://scopus.mcom.com/bugsplat/show_bug.cgi?id=323696
17
var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"';
18
var VERSION = 'no version';
19
var TITLE = 'statements: switch';
20
var BUGNUMBER="323696";
23
writeHeaderToLog("Executing script: switch.js");
24
writeHeaderToLog( SECTION + " "+ TITLE);
27
var var1 = "match string";
43
new TestCase ( SECTION, 'switch statement',
46
new TestCase ( SECTION, 'switch statement',
49
new TestCase ( SECTION, 'switch statement',
81
new TestCase ( SECTION, 'switch statement',
84
new TestCase ( SECTION, 'switch statement',
87
new TestCase ( SECTION, 'switch statement',
90
new TestCase ( SECTION, 'switch statement',
93
new TestCase ( SECTION, 'switch statement',