| org.apache.velocity.test.BaseTestCase org.apache.velocity.test.EncodingTestCase
EncodingTestCase | public class EncodingTestCase extends BaseTestCase implements TemplateTestBase(Code) | | Tests input encoding handling. The input target is UTF-8, having
chinese and and a spanish enyay (n-twiddle)
Thanks to Kent Johnson for the example input file.
author: Geir Magnusson Jr. version: $Id: EncodingTestCase.java 477002 2006-11-20 01:07:43Z henning $ |
suite | public static Test suite()(Code) | | |
testChineseEncoding | public void testChineseEncoding() throws Exception(Code) | | Runs the test.
|
testHighByteChinese | public void testHighByteChinese() throws Exception(Code) | | |
testHighByteChinese2 | public void testHighByteChinese2() throws Exception(Code) | | |
Methods inherited from org.apache.velocity.test.BaseTestCase | protected static void assureResultsDirectoryExists(String resultsDirectory)(Code)(Java Doc) protected static String getFileName(String dir, String base, String ext)(Code)(Java Doc) protected static String getFileName(String dir, String base, String ext, boolean mustExist)(Code)(Java Doc) final protected static String getTestCaseName(String s)(Code)(Java Doc) protected boolean isMatch(String resultsDir, String compareDir, String baseFileName, String resultExt, String compareExt) throws Exception(Code)(Java Doc) protected boolean isMatch(String result, String compareDir, String baseFileName, String compareExt) throws Exception(Code)(Java Doc) protected String normalizeNewlines(String source)(Code)(Java Doc)
|
|
|