| 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 = 'number-009.js'; |
| 7 | |
| 8 | /** |
| 9 | * Preferred Argument Conversion. |
| 10 | * |
| 11 | * Pass a JavaScript number to ambiguous method. |
| 12 | * |
| 13 | */ |
| 14 | var SECTION = "Preferred argument conversion: undefined"; |
| 15 | var VERSION = "1_4"; |
| 16 | var TITLE = "LiveConnect 3.0 JavaScript to Java Data Type Conversion " + |
| 17 | SECTION; |
| 18 | startTest(); |
| 19 | |
| 20 | var TEST_CLASS = new |
| 21 | Packages.com.netscape.javascript.qa.lc3.number.Number_009; |
| 22 | |
| 23 | new TestCase( |
| 24 | "TEST_CLASS.ambiguous(1)", |
| 25 | TEST_CLASS.expect(), |
| 26 | TEST_CLASS.ambiguous(1) ); |
| 27 | |
| 28 | test(); |