click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r958188 - /click/trunk/click/framework/test/org/apache/click/ConfigServiceTest.java
Date Sat, 26 Jun 2010 06:25:04 GMT
Author: sabob
Date: Sat Jun 26 06:25:03 2010
New Revision: 958188

URL: http://svn.apache.org/viewvc?rev=958188&view=rev
Log:
fix tests

Modified:
    click/trunk/click/framework/test/org/apache/click/ConfigServiceTest.java

Modified: click/trunk/click/framework/test/org/apache/click/ConfigServiceTest.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/test/org/apache/click/ConfigServiceTest.java?rev=958188&r1=958187&r2=958188&view=diff
==============================================================================
--- click/trunk/click/framework/test/org/apache/click/ConfigServiceTest.java (original)
+++ click/trunk/click/framework/test/org/apache/click/ConfigServiceTest.java Sat Jun 26 06:25:03
2010
@@ -41,7 +41,6 @@ import org.apache.click.service.ClickRes
 import org.apache.click.service.CommonsFileUploadService;
 import org.apache.click.service.ConfigService;
 import org.apache.click.service.ConsoleLogService;
-import org.apache.click.service.DefaultMessagesMapService;
 import org.apache.click.service.MessagesMapService;
 import org.apache.click.service.VelocityTemplateService;
 import org.apache.click.service.ConfigService.AutoBinding;
@@ -529,7 +528,7 @@ public class ConfigServiceTest extends T
         container.stop();
         deleteDir(tmpdir);
     }
-    
+
     static public class MyMessagesMapService implements MessagesMapService {
 
         public void onInit(ServletContext servletContext) throws Exception {
@@ -537,14 +536,13 @@ public class ConfigServiceTest extends T
 
         public void onDestroy() {
         }
-        
+
         public Map<String, String> createMessagesMap(Class<?> baseClass,
-                String globalResource) {
-            return new MessagesMap(baseClass, globalResource);
+                String globalResource, Locale locale) {
+            return new MessagesMap(baseClass, globalResource, locale);
         }
     }
     
-    
     public void testControls() throws Exception {
         File tmpdir = makeTmpDir();
 
@@ -667,4 +665,3 @@ public class ConfigServiceTest extends T
         tmpdir.delete();
     }
 }
-



Mime
View raw message