Debian Codegraph @

rhino/testsrc/tests/lc3/ConvertBoolean/boolean-004.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 = 'boolean-004.js';
7
8 /**
9 * Preferred Argument Conversion.
10 *
11 *
12 */
13 var SECTION = "Preferred argument conversion: boolean";
14 var VERSION = "1_4";
15 var TITLE = "LiveConnect 3.0 JavaScript to Java Data Type Conversion " +
16 SECTION;
17 startTest();
18
19 var TEST_CLASS = new
20 Packages.com.netscape.javascript.qa.lc3.bool.Boolean_004;
21
22 new TestCase(
23 "TEST_CLASS.ambiguous( true )",
24 TEST_CLASS.expect(),
25 TEST_CLASS.ambiguous(true) );
26
27 new TestCase(
28 "TEST_CLASS.ambiguous( false )",
29 TEST_CLASS.expect(),
30 TEST_CLASS.ambiguous( false ) );
31
32 test();