Package org.apache.ofbiz.base.util.test
Class UtilPropertiesTests
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.apache.ofbiz.base.test.GenericTestCaseBase
-
- org.apache.ofbiz.base.util.test.UtilPropertiesTests
-
- All Implemented Interfaces:
junit.framework.Test
public class UtilPropertiesTests extends GenericTestCaseBase
-
-
Constructor Summary
Constructors Constructor Description UtilPropertiesTests(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testReadXmlLangNewStyle()
New (and correct) style xml:lang value is en-AU.void
testReadXmlLangOldStyle()
Old style xml:lang attribute value was of form en_AU.-
Methods inherited from class org.apache.ofbiz.base.test.GenericTestCaseBase
assertComparison, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsIterable, assertEqualsIterable, assertEqualsIterable, assertEqualsIterable, assertFuture, assertNotEquals, assertNotEquals, assertStaticHelperClass, list, list, map, set, set, set, set, useAllMemory
-
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
-
-
-
-
Method Detail
-
testReadXmlLangOldStyle
public void testReadXmlLangOldStyle() throws java.lang.Exception
Old style xml:lang attribute value was of form en_AU. Test this format still works.- Throws:
java.lang.Exception
-
testReadXmlLangNewStyle
public void testReadXmlLangNewStyle() throws java.lang.Exception
New (and correct) style xml:lang value is en-AU. Test it works.- Throws:
java.lang.Exception
-
-