< prev index next >
test/jdk/java/util/Locale/bcp47u/SystemPropertyTests.java
Print this page
rev 50942 : imported patch 8206350
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -45,10 +45,11 @@
*/
@Test
public class SystemPropertyTests {
private static String LANGPROP = "-Duser.language=en";
+ private static String SCPTPROP = "-Duser.script=";
private static String CTRYPROP = "-Duser.country=US";
@DataProvider(name="data")
Object[][] data() {
return new Object[][] {
@@ -86,11 +87,11 @@
}
@Test(dataProvider="data")
public void runTest(String extprop, String defLoc,
String defFmtLoc, String defDspLoc) throws Exception {
- int exitValue = executeTestJava(LANGPROP, CTRYPROP,
+ int exitValue = executeTestJava(LANGPROP, SCPTPROP, CTRYPROP,
extprop, "DefaultLocaleTest", defLoc, defFmtLoc, defDspLoc)
.outputTo(System.out)
.errorTo(System.out)
.getExitValue();
< prev index next >