/** * Initialize JerseyTestNg instance. * * This constructor can be used from an extending subclass. When this constructor is used, the extending * concrete subclass must implement {@link #configureStrategy()} method. * <p> * When this constructor is used, the extending concrete subclass must implement one of the * {@link #configure()} or {@link #configureDeployment()} methods to provide the tested application * configuration and deployment context. * </p> */ public JerseyTestNg() throws TestContainerException { super(); strategy = configureStrategy(); }
@BeforeClass @Override public void setUp() throws Exception { super.setUp(); }
@AfterMethod @Override public void tearDown() throws Exception { super.tearDown(); }
/** * Initialize JerseyTestNg instance and specify the test container factory to be used by this test. * * This constructor can be used from an extending subclass. When this constructor is used, the extending * concrete subclass must implement {@link #configureStrategy()} method. * <p> * When this constructor is used, the extending concrete subclass must implement one of the * {@link #configure()} or {@link #configureDeployment()} methods to provide the tested application * configuration and deployment context. * </p> * * @param testContainerFactory the test container factory to use for testing. */ public JerseyTestNg(final TestContainerFactory testContainerFactory) { super(testContainerFactory); strategy = configureStrategy(); }
@AfterClass @Override public void tearDown() throws Exception { super.tearDown(); }
@BeforeMethod @Override public void setUp() throws Exception { super.setUp(); }
/** * Initialize JerseyTestNg instance. * * This constructor can be used from an extending subclass. * <p> * When this constructor is used, the extending concrete subclass the {@link #configure()} * or {@link #configureDeployment()} method are ignored. However it must implement * {@link #configureStrategy()} method. * </p> * <p> * Please note that when this constructor is used, recording of startup logs as well as configuring * other {@code JerseyTestNg} properties and features may not work properly. While using this constructor * should generally be avoided, in certain scenarios it may be necessary to use this constructor. * </p> * * @param jaxrsApplication tested application. */ public JerseyTestNg(final Application jaxrsApplication) throws TestContainerException { super(jaxrsApplication); strategy = configureStrategy(); }
@AfterClass @Override public void tearDown() throws Exception { super.tearDown(); }
@BeforeMethod @Override public void setUp() throws Exception { super.setUp(); }
/** * Initialize JerseyTestNg instance. * * This constructor can be used from an extending subclass. When this constructor is used, the extending * concrete subclass must implement {@link #configureStrategy()} method. * <p> * When this constructor is used, the extending concrete subclass must implement one of the * {@link #configure()} or {@link #configureDeployment()} methods to provide the tested application * configuration and deployment context. * </p> */ public JerseyTestNg() throws TestContainerException { super(); strategy = configureStrategy(); }
@AfterMethod @Override public void tearDown() throws Exception { super.tearDown(); }
@BeforeClass @Override public void setUp() throws Exception { super.setUp(); }
/** * Initialize JerseyTestNg instance and specify the test container factory to be used by this test. * * This constructor can be used from an extending subclass. When this constructor is used, the extending * concrete subclass must implement {@link #configureStrategy()} method. * <p> * When this constructor is used, the extending concrete subclass must implement one of the * {@link #configure()} or {@link #configureDeployment()} methods to provide the tested application * configuration and deployment context. * </p> * * @param testContainerFactory the test container factory to use for testing. */ public JerseyTestNg(final TestContainerFactory testContainerFactory) { super(testContainerFactory); strategy = configureStrategy(); }
/** * Initialize JerseyTestNg instance. * * This constructor can be used from an extending subclass. * <p> * When this constructor is used, the extending concrete subclass the {@link #configure()} * or {@link #configureDeployment()} method are ignored. However it must implement * {@link #configureStrategy()} method. * </p> * <p> * Please note that when this constructor is used, recording of startup logs as well as configuring * other {@code JerseyTestNg} properties and features may not work properly. While using this constructor * should generally be avoided, in certain scenarios it may be necessary to use this constructor. * </p> * * @param jaxrsApplication tested application. */ public JerseyTestNg(final Application jaxrsApplication) throws TestContainerException { super(jaxrsApplication); strategy = configureStrategy(); }