tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drobia...@apache.org
Subject svn commit: r791995 - /tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/TranslatorSourceImplTest.java
Date Tue, 07 Jul 2009 22:53:03 GMT
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);
     }
 



Mime
View raw message