Package ee.jakarta.tck.ws.rs.sebootstrap
Class SeBootstrapIT
java.lang.Object
ee.jakarta.tck.ws.rs.sebootstrap.SeBootstrapIT
Compliance Test for Java SE Bootstrap API of Jakarta REST API
- Since:
- 3.1
- Author:
- Markus KARG (markus@headcrashing.eu)
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
Verifies that an instance will ignore unknown configuration parameters.final void
Verifies that an instance will boot using explicit configuration given by convenience methods.final void
Verifies that an instance will boot using default configuration.final void
Verifies that an instance will boot using external configuration.final void
Verifies that an instance will boot using the implementation's default IP port.final void
Verifies that an instance will boot using explicit configuration given by properties.final void
Verifies that an instance will boot using a self-detected free IP port.
-
Constructor Details
-
SeBootstrapIT
public SeBootstrapIT()
-
-
Method Details
-
shouldBootInstanceUsingDefaults
@Test @Tag("se_bootstrap") public final void shouldBootInstanceUsingDefaults() throws InterruptedException, ExecutionExceptionVerifies that an instance will boot using default configuration.- Throws:
ExecutionException
- if the instance didn't boot correctlyInterruptedException
- if the test took much longer than usually expected
-
shouldBootInstanceUsingProperties
@Test @Tag("se_bootstrap") public final void shouldBootInstanceUsingProperties() throws InterruptedException, ExecutionException, IOExceptionVerifies that an instance will boot using explicit configuration given by properties.- Throws:
ExecutionException
- if the instance didn't boot correctlyInterruptedException
- if the test took much longer than usually expectedIOException
- if no IP port was free
-
shouldBootInstanceUsingConvenienceMethods
@Test @Tag("se_bootstrap") public final void shouldBootInstanceUsingConvenienceMethods() throws InterruptedException, ExecutionException, IOExceptionVerifies that an instance will boot using explicit configuration given by convenience methods.- Throws:
ExecutionException
- if the instance didn't boot correctlyInterruptedException
- if the test took much longer than usually expectedIOException
- if no IP port was free
-
shouldBootInstanceUsingExternalConfiguration
@Test @Tag("se_bootstrap") public final void shouldBootInstanceUsingExternalConfiguration() throws InterruptedException, ExecutionException, IOExceptionVerifies that an instance will boot using external configuration.- Throws:
ExecutionException
- if the instance didn't boot correctlyInterruptedException
- if the test took much longer than usually expectedIOException
- if no IP port was free
-
shouldBootInstanceDespiteUnknownConfigurationParameters
@Test @Tag("se_bootstrap") public final void shouldBootInstanceDespiteUnknownConfigurationParameters() throws InterruptedException, ExecutionException, IOExceptionVerifies that an instance will ignore unknown configuration parameters.- Throws:
ExecutionException
- if the instance didn't boot correctlyInterruptedException
- if the test took much longer than usually expectedIOException
- if no IP port was free
-
shouldBootInstanceUsingSelfDetectedFreeIpPort
@Test @Tag("se_bootstrap") public final void shouldBootInstanceUsingSelfDetectedFreeIpPort() throws InterruptedException, ExecutionExceptionVerifies that an instance will boot using a self-detected free IP port.- Throws:
ExecutionException
- if the instance didn't boot correctlyInterruptedException
- if the test took much longer than usually expected
-
shouldBootInstanceUsingImplementationsDefaultIpPort
@Test @Tag("se_bootstrap") public final void shouldBootInstanceUsingImplementationsDefaultIpPort() throws InterruptedException, ExecutionExceptionVerifies that an instance will boot using the implementation's default IP port.- Throws:
ExecutionException
- if the instance didn't boot correctlyInterruptedException
- if the test took much longer than usually expected
-