static ResteasySpecifics() { TEST_RULE_FACTORIES[typeof(ExceptionHandlerTest)] = new EmbeddedServerRuleFactory(new TestCustomResourceApplication()); TEST_RULE_FACTORIES[typeof(ServletAuthenticationFilterTest)] = new ServletContainerRuleFactory("auth-filter-servlet-web.xml"); TEST_RULE_FACTORIES[typeof(NoServletAuthenticationFilterTest)] = new ServletContainerRuleFactory("auth-filter-no-servlet-web.xml"); TEST_RULE_FACTORIES[typeof(ServletEmptyBodyFilterTest)] = new ServletContainerRuleFactory("empty-body-filter-servlet-web.xml"); TEST_RULE_FACTORIES[typeof(NoServletEmptyBodyFilterTest)] = new ServletContainerRuleFactory("empty-body-filter-no-servlet-web.xml"); TEST_RULE_FACTORIES[typeof(CustomJacksonDateFormatTest)] = new ServletContainerRuleFactory("custom-date-format-web.xml"); }
static JerseySpecifics() { TEST_RULE_FACTORIES[typeof(ExceptionHandlerTest)] = new EmbeddedServerRuleFactory(new TestCustomResourceApplication()); TEST_RULE_FACTORIES[typeof(CustomJacksonDateFormatTest)] = new ServletContainerRuleFactory("custom-date-format-web.xml"); }
public ExternalResourceAnonymousInnerClass(ServletContainerRuleFactory outerInstance, TemporaryFolder tempFolder) { this.outerInstance = outerInstance; this.tempFolder = tempFolder; bootstrap = new JerseyTomcatServerBootstrap(outerInstance.webXmlResource); }
static WinkSpecifics() { TEST_RULE_FACTORIES[typeof(ExceptionHandlerTest)] = new ServletContainerRuleFactory("custom-application-web.xml"); TEST_RULE_FACTORIES[typeof(CustomJacksonDateFormatTest)] = new ServletContainerRuleFactory("custom-date-format-web.xml"); }