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"); }
public ExternalResourceAnonymousInnerClass(EmbeddedServerRuleFactory outerInstance) { this.outerInstance = outerInstance; bootstrap = new JerseyServerBootstrap(outerInstance.jaxRsApplication); }
static JerseySpecifics() { TEST_RULE_FACTORIES[typeof(ExceptionHandlerTest)] = new EmbeddedServerRuleFactory(new TestCustomResourceApplication()); TEST_RULE_FACTORIES[typeof(CustomJacksonDateFormatTest)] = new ServletContainerRuleFactory("custom-date-format-web.xml"); }