Author: drobiazko Date: Tue Jul 7 22:53:03 2009 New Revision: 791995 URL: http://svn.apache.org/viewvc?rev=791995&view=rev Log: TAP5-556: Fix TranslatorSourceImplTest
Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/TranslatorSourceImplTest.java Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/TranslatorSourceImplTest.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/TranslatorSourceImplTest.java?rev=791995&r1=791994&r2=791995&view=diff ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/TranslatorSourceImplTest.java (original) +++ tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/TranslatorSourceImplTest.java Tue Jul 7 22:53:03 2009 @@ -24,6 +24,7 @@ import org.apache.tapestry5.ioc.services.ThreadLocale; import org.apache.tapestry5.services.TranslatorSource; import org.testng.annotations.BeforeClass; +import org.testng.annotations.BeforeMethod; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; @@ -42,7 +43,11 @@ public void setup() { source = getService(TranslatorSource.class); - + } + + @BeforeMethod + public void setupThreadLocale() + { getService(ThreadLocale.class).setLocale(Locale.ENGLISH); }