org.springframework.extensions.surf.util
Class I18NUtilTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.extensions.surf.util.I18NUtilTest
All Implemented Interfaces:
junit.framework.Test

public class I18NUtilTest
extends junit.framework.TestCase

I18NUtil unit tests

Author:
Roy Wetherall

Constructor Summary
I18NUtilTest()
           
 
Method Summary
protected  void setUp()
           
 void testGetMessage()
          Test getMessage
 void testGetMessageWithParams()
          Test getting a parameterised message
 void testLocaleMatching()
           
 void testLocaleParsing()
           
 void testSetAndGet()
          Test the set and get methods
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

I18NUtilTest

public I18NUtilTest()
Method Detail

setUp

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

testSetAndGet

public void testSetAndGet()
Test the set and get methods


testGetMessage

public void testGetMessage()
Test getMessage


testGetMessageWithParams

public void testGetMessageWithParams()
Test getting a parameterised message


testLocaleMatching

public void testLocaleMatching()

testLocaleParsing

public void testLocaleParsing()


Copyright © 2009 SpringSource, Inc. All Rights Reserved.