org.apache.tapestry.junit
Class TestLocalizedProperties
java.lang.Object
BaseComponentTestCase
org.apache.tapestry.junit.TapestryTestCase
org.apache.tapestry.junit.TestLocalizedProperties
public class TestLocalizedProperties
- extends TapestryTestCase
Tests to ensure that LocalizedProperties are fully backward compatible with java.util.Properties
and that non-latin characters are read correctly.
- Since:
- 4.0
- Author:
- mb
Method Summary |
void |
testEncodings()
Tests the reading of files using different encodings. |
void |
testEquivalence()
Test for the equivalence between Properties and LocalizedProperties for latin properties |
Methods inherited from class org.apache.tapestry.junit.TapestryTestCase |
checkException, checkList, checkList, checkProperty, createValueConverter, getSpecificationResourceLocation, newBindingSource, newComponent, parseApp, parseComponent, parseLib, parsePage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestLocalizedProperties
public TestLocalizedProperties()
testEquivalence
public void testEquivalence()
- Test for the equivalence between Properties and LocalizedProperties for latin properties
testEncodings
public void testEncodings()
- Tests the reading of files using different encodings. Compare it with the reading of files
that have gone through native2ascii and read using Properties.
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.