Exemple #1
0
 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");
 }
Exemple #2
0
 static JerseySpecifics()
 {
     TEST_RULE_FACTORIES[typeof(ExceptionHandlerTest)]        = new EmbeddedServerRuleFactory(new TestCustomResourceApplication());
     TEST_RULE_FACTORIES[typeof(CustomJacksonDateFormatTest)] = new ServletContainerRuleFactory("custom-date-format-web.xml");
 }
Exemple #3
0
 public ExternalResourceAnonymousInnerClass(ServletContainerRuleFactory outerInstance, TemporaryFolder tempFolder)
 {
     this.outerInstance = outerInstance;
     this.tempFolder    = tempFolder;
     bootstrap          = new JerseyTomcatServerBootstrap(outerInstance.webXmlResource);
 }
Exemple #4
0
 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");
 }