harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r381662 [5/5] - in /incubator/harmony/enhanced/classlib/trunk/modules/luni/src: main/java/com/ibm/oti/locale/ main/java/java/util/ main/java/org/apache/harmony/luni/internal/locale/ test/java/org/apache/harmony/tests/java/util/
Date Tue, 28 Feb 2006 13:51:10 GMT
Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Locale_zh_SG.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Locale_zh_SG.java?rev=381662&r1=379162&r2=381662&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Locale_zh_SG.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Locale_zh_SG.java
Tue Feb 28 05:49:11 2006
@@ -15,7 +15,7 @@
 
 
 
-package com.ibm.oti.locale;
+package org.apache.harmony.luni.internal.locale;
 public class Locale_zh_SG extends java.util.ListResourceBundle {
 protected Object[][] getContents() {
 	Object[][] contents = {

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Locale_zh_TW.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Locale_zh_TW.java?rev=381662&r1=379162&r2=381662&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Locale_zh_TW.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Locale_zh_TW.java
Tue Feb 28 05:49:11 2006
@@ -15,7 +15,7 @@
 
 
 
-package com.ibm.oti.locale;
+package org.apache.harmony.luni.internal.locale;
 public class Locale_zh_TW extends java.util.ListResourceBundle {
 protected Object[][] getContents() {
 	Object[][] contents = {

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Variant.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Variant.java?rev=381662&r1=379162&r2=381662&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Variant.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Variant.java
Tue Feb 28 05:49:11 2006
@@ -15,7 +15,7 @@
 
 
 
-package com.ibm.oti.locale;
+package org.apache.harmony.luni.internal.locale;
 public class Variant extends java.util.ListResourceBundle {
 protected Object[][] getContents() {
 	Object[][] contents = {

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Variant_no.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Variant_no.java?rev=381662&r1=379162&r2=381662&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Variant_no.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Variant_no.java
Tue Feb 28 05:49:11 2006
@@ -15,7 +15,7 @@
 
 
 
-package com.ibm.oti.locale;
+package org.apache.harmony.luni.internal.locale;
 public class Variant_no extends java.util.ListResourceBundle {
 protected Object[][] getContents() {
 	Object[][] contents = {

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Variant_sl.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Variant_sl.java?rev=381662&r1=379162&r2=381662&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Variant_sl.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Variant_sl.java
Tue Feb 28 05:49:11 2006
@@ -15,7 +15,7 @@
 
 
 
-package com.ibm.oti.locale;
+package org.apache.harmony.luni.internal.locale;
 public class Variant_sl extends java.util.ListResourceBundle {
 protected Object[][] getContents() {
 	Object[][] contents = {

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/java/util/AllTests.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/java/util/AllTests.java?rev=381662&r1=381661&r2=381662&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/java/util/AllTests.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/java/util/AllTests.java
Tue Feb 28 05:49:11 2006
@@ -33,6 +33,7 @@
 		suite.addTestSuite(ArraysTest.class);
 		suite.addTestSuite(IdentityHashMapTest.class);
 		suite.addTestSuite(DateTest.class);
+		suite.addTestSuite(LocaleTest.class);
 		//$JUnit-END$
 		return suite;
 	}

Added: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/java/util/LocaleTest.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/java/util/LocaleTest.java?rev=381662&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/java/util/LocaleTest.java
(added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/java/util/LocaleTest.java
Tue Feb 28 05:49:11 2006
@@ -0,0 +1,32 @@
+/* Copyright 2006 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.tests.java.util;
+
+import java.util.Locale;
+
+import junit.framework.TestCase;
+
+public class LocaleTest extends TestCase {
+
+	/**
+	 * @tests java.util.Locale#getAvailableLocales()
+	 */
+	public void test_getAvailableLocales() {
+		Locale[] locales = Locale.getAvailableLocales();
+		// Assumes that there will be a decent number of locales
+		assertTrue("Assert 0: Cannot find locales", locales.length > 100);
+	}
+}



Mime
View raw message