Class VitamServerTestRunner

java.lang.Object
fr.gouv.vitam.common.serverv2.VitamServerTestRunner

public class VitamServerTestRunner extends Object
  • Field Details

  • Constructor Details

    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, Class<? extends javax.ws.rs.core.Application> adminApplication)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, Class<? extends javax.ws.rs.core.Application> adminApplication, boolean hasAuthorizationFilter)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, Class<? extends javax.ws.rs.core.Application> adminApplication, boolean hasTenantFilter, boolean hasAuthorizationFilter)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, Class<? extends javax.ws.rs.core.Application> adminApplication, boolean hasTenantFilter, boolean hasAuthorizationFilter, boolean hasSession)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, Class<? extends javax.ws.rs.core.Application> adminApplication, boolean hasTenantFilter, boolean hasAuthorizationFilter, boolean hasSession, boolean hasShiroFilter)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, Class<? extends javax.ws.rs.core.Application> adminApplication, boolean hasTenantFilter, boolean hasAuthorizationFilter, boolean hasSession, boolean hasShiroFilter, boolean hasXsrFilter)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, Class<? extends javax.ws.rs.core.Application> adminApplication, VitamClientFactoryInterface<?> factory)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, Class<? extends javax.ws.rs.core.Application> adminApplication, VitamClientFactoryInterface<?> factory, boolean hasAuthorizationFilter)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, Class<? extends javax.ws.rs.core.Application> adminApplication, VitamClientFactoryInterface<?> factory, boolean hasTenantFilter, boolean hasAuthorizationFilter)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, Class<? extends javax.ws.rs.core.Application> adminApplication, VitamClientFactoryInterface<?> factory, boolean hasTenantFilter, boolean hasAuthorizationFilter, boolean hasSession)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, boolean hasAuthorizationFilter)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, boolean hasTenantFilter, boolean hasAuthorizationFilter)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, boolean hasTenantFilter, boolean hasAuthorizationFilter, boolean hasSession)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, boolean hasTenantFilter, boolean hasAuthorizationFilter, boolean hasSession, boolean hasShiroFilter)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, boolean hasTenantFilter, boolean hasAuthorizationFilter, boolean hasSession, boolean hasShiroFilter, boolean hasXsrFilter)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, VitamClientFactoryInterface<?> factory)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, VitamClientFactoryInterface<?> factory, boolean hasAuthorizationFilter)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, VitamClientFactoryInterface<?> factory, boolean hasTenantFilter, boolean hasAuthorizationFilter)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, VitamClientFactoryInterface<?> factory, boolean hasTenantFilter, boolean hasAuthorizationFilter, boolean hasSession)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, VitamClientFactoryInterface<?> factory, boolean hasTenantFilter, boolean hasAuthorizationFilter, boolean hasSession, boolean hasShiroFilter, boolean hasXsrFilter)
    • VitamServerTestRunner

      public VitamServerTestRunner(Class<? extends javax.ws.rs.core.Application> application, Class<? extends javax.ws.rs.core.Application> adminApplication, SslConfig configuration, VitamClientFactoryInterface<?> factory, boolean hasTenantFilter, boolean hasAuthorizationFilter, boolean hasSession, boolean hasShiroFilter, boolean hasXsrFilter)
  • Method Details

    • after

      protected void after() throws Exception
      Throws:
      Exception
    • getClient

      public MockOrRestClient getClient()
    • runAfter

      public void runAfter() throws Exception
      Throws:
      Exception
    • stop

      public void stop() throws Exception
      Throws:
      Exception
    • start

      public void start() throws Exception
      Throws:
      Exception
    • releasePort

      public final void releasePort()
    • getBusinessPort

      public int getBusinessPort()
    • getAdminPort

      public int getAdminPort()