Class LocaleConverterTest

  • All Implemented Interfaces:
    junit.framework.Test

    public class LocaleConverterTest
    extends junit.framework.TestCase
    Since:
    1.0
    Author:
    Tony Chemit - chemit@codelutin.com
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void assertConvertFailed​(String toConvert)  
      protected void assertEquals​(String toConvert, Locale expected)  
      protected void setUp()  
      void testConvertFailed()  
      void testConvertFull()  
      void testConvertMedium()  
      • Methods inherited from class junit.framework.TestCase

        assertEquals, assertEquals, assertEquals, 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, tearDown, toString
    • Constructor Detail

      • LocaleConverterTest

        public LocaleConverterTest()
    • Method Detail

      • setUp

        protected void setUp()
                      throws Exception
        Overrides:
        setUp in class junit.framework.TestCase
        Throws:
        Exception
      • assertEquals

        protected void assertEquals​(String toConvert,
                                    Locale expected)
      • assertConvertFailed

        protected void assertConvertFailed​(String toConvert)