diff --git a/framework/base/src/main/java/org/apache/ofbiz/base/util/test/UtilMiscTests.java b/framework/base/src/test/java/org/apache/ofbiz/base/util/UtilMiscTests.java similarity index 76% rename from framework/base/src/main/java/org/apache/ofbiz/base/util/test/UtilMiscTests.java rename to framework/base/src/test/java/org/apache/ofbiz/base/util/UtilMiscTests.java index 4ed72bb9b6..adc6ee795c 100644 --- a/framework/base/src/main/java/org/apache/ofbiz/base/util/test/UtilMiscTests.java +++ b/framework/base/src/test/java/org/apache/ofbiz/base/util/UtilMiscTests.java @@ -1,4 +1,4 @@ -/******************************************************************************* +/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -15,21 +15,20 @@ * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - *******************************************************************************/ -package org.apache.ofbiz.base.util.test; + */ +package org.apache.ofbiz.base.util; + +import static org.junit.Assert.fail; import java.util.List; import java.util.Locale; -import org.apache.ofbiz.base.test.GenericTestCaseBase; import org.apache.ofbiz.base.util.UtilMisc; +import org.junit.Test; -public class UtilMiscTests extends GenericTestCaseBase { - - public UtilMiscTests(String name) { - super(name); - } +public class UtilMiscTests { + @Test public void testLocales() throws Exception { List availableLocales = UtilMisc.availableLocales(); for (Locale availableLocale : availableLocales) { diff --git a/framework/base/testdef/basetests.xml b/framework/base/testdef/basetests.xml index 0bebbaaebf..baea9d406d 100644 --- a/framework/base/testdef/basetests.xml +++ b/framework/base/testdef/basetests.xml @@ -23,7 +23,6 @@ xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/test-suite.xsd"> -