1 package org.displaytag.properties; 2 3 import org.apache.struts.action.ActionServlet; 4 import org.displaytag.localization.I18nResourceProvider; 5 import org.displaytag.localization.I18nStrutsAdapter; 6 import org.displaytag.localization.LocaleResolver; 7 8 9 14 public class TitleKeyAutoColumnStrutsTest extends AbstractTitleKeyAutoColumnTest 15 { 16 17 20 public String getJspName() 21 { 22 return super.getJspName() + ".struts"; 23 } 24 25 28 protected String getExpectedSuffix() 29 { 30 return " struts"; 31 } 32 33 36 protected I18nResourceProvider getI18nResourceProvider() 37 { 38 return new I18nStrutsAdapter(); 39 } 40 41 44 protected LocaleResolver getResolver() 45 { 46 return new I18nStrutsAdapter(); 47 } 48 49 52 public void doTest(String jspName) throws Exception 53 { 54 this.runner.registerServlet("*.struts", ActionServlet.class.getName()); 55 super.doTest(jspName); 56 } 57 58 } 59 | Popular Tags |