org.apache.tapestry.junit
Class TestLocalizedProperties

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.junit.TapestryTestCase
          extended by 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

Field Summary
 
Fields inherited from class org.apache.tapestry.junit.TapestryTestCase
IS_JDK13
 
Constructor Summary
TestLocalizedProperties()
           
 
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
 

Constructor Detail

TestLocalizedProperties

public TestLocalizedProperties()
Method Detail

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.