| 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 = 'println-001.js'; |
| 7 | |
| 8 | /** |
| 9 | File Name: println-001.js |
| 10 | Section: LiveConnect |
| 11 | Description: |
| 12 | |
| 13 | Regression test for |
| 14 | http://scopus.mcom.com/bugsplat/show_bug.cgi?id=114820 |
| 15 | |
| 16 | Verify that java.lang.System.out.println does not cause an error. |
| 17 | Not sure how to get to the error any other way. |
| 18 | |
| 19 | Author: [email protected] |
| 20 | Date: 12 november 1997 |
| 21 | */ |
| 22 | var SECTION = "println-001.js"; |
| 23 | var VERSION = "JS1_3"; |
| 24 | var TITLE = "java.lang.System.out.println"; |
| 25 | |
| 26 | startTest(); |
| 27 | writeHeaderToLog( SECTION + " "+ TITLE); |
| 28 | |
| 29 | new TestCase( |
| 30 | SECTION, |
| 31 | "java.lang.System.out.println( \"output from test live/Methods/println-001.js\")", |
| 32 | void 0, |
| 33 | java.lang.System.out.println( "output from test live/Methods/println-001.js" ) ); |
| 34 | |
| 35 | test(); |
| 36 |