Index

A B C E G H M P R S T U 
All Classes All Packages

A

AbstractAllOrEachExtension - Class in com.linecorp.armeria.testing.junit5.common
A base class for JUnit5 extensions that allows implementations to control whether the callbacks are run around the entire class, like BeforeAll or AfterAll, or around each test method, like BeforeEach or AfterEach.
AbstractAllOrEachExtension() - Constructor for class com.linecorp.armeria.testing.junit5.common.AbstractAllOrEachExtension
 
after(ExtensionContext) - Method in class com.linecorp.armeria.testing.junit5.common.AbstractAllOrEachExtension
A method that should be run at the end of a test lifecycle.
after(ExtensionContext) - Method in class com.linecorp.armeria.testing.junit5.server.SelfSignedCertificateExtension
Deletes the generated SelfSignedCertificate.
after(ExtensionContext) - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Calls stop(), without waiting until the Server is stopped completely.
afterAll(ExtensionContext) - Method in class com.linecorp.armeria.testing.junit5.common.AbstractAllOrEachExtension
 
afterEach(ExtensionContext) - Method in class com.linecorp.armeria.testing.junit5.common.AbstractAllOrEachExtension
 

B

before(ExtensionContext) - Method in class com.linecorp.armeria.testing.junit5.common.AbstractAllOrEachExtension
A method that should be run at the beginning of a test lifecycle.
before(ExtensionContext) - Method in class com.linecorp.armeria.testing.junit5.server.SelfSignedCertificateExtension
before(ExtensionContext) - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Calls start() if auto-start is enabled.
beforeAll(ExtensionContext) - Method in class com.linecorp.armeria.testing.junit5.common.AbstractAllOrEachExtension
 
beforeEach(ExtensionContext) - Method in class com.linecorp.armeria.testing.junit5.common.AbstractAllOrEachExtension
 
beforeTestExecution(ExtensionContext) - Method in class com.linecorp.armeria.testing.junit5.server.mock.MockWebServerExtension
 

C

certificate() - Method in class com.linecorp.armeria.testing.junit5.server.SelfSignedCertificateExtension
Returns the generated X509Certificate.
certificateFile() - Method in class com.linecorp.armeria.testing.junit5.server.SelfSignedCertificateExtension
Returns the self-signed certificate file.
com.linecorp.armeria.testing.junit5.common - package com.linecorp.armeria.testing.junit5.common
Common testing utilities.
com.linecorp.armeria.testing.junit5.server - package com.linecorp.armeria.testing.junit5.server
Server-side testing utilities.
com.linecorp.armeria.testing.junit5.server.mock - package com.linecorp.armeria.testing.junit5.server.mock
A mock server for use when testing clients.
configure(ServerBuilder) - Method in class com.linecorp.armeria.testing.junit5.server.mock.MockWebServerExtension
 
configure(ServerBuilder) - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Configures the Server with the given ServerBuilder.
configureServer(ServerBuilder) - Method in class com.linecorp.armeria.testing.junit5.server.mock.MockWebServerExtension
Configures the ServerBuilder beyond the defaults of enabling HTTPs and registering a service for handling enqueued responses.
context() - Method in class com.linecorp.armeria.testing.junit5.server.mock.RecordedRequest
The ServiceRequestContext created when handling the request.

E

endpoint(SessionProtocol) - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Returns the Endpoint of the specified SessionProtocol for the Server.
enqueue(AggregatedHttpResponse) - Method in class com.linecorp.armeria.testing.junit5.server.mock.MockWebServerExtension
Enqueues the AggregatedHttpResponse to return to a client of this MockWebServerExtension.
enqueue(HttpResponse) - Method in class com.linecorp.armeria.testing.junit5.server.mock.MockWebServerExtension
Enqueues the HttpResponse to return to a client of this MockWebServerExtension.
equals(Object) - Method in class com.linecorp.armeria.testing.junit5.server.mock.RecordedRequest
 
EventLoopExtension - Class in com.linecorp.armeria.testing.junit5.common
An Extension that provides an EventLoopGroup.
EventLoopExtension() - Constructor for class com.linecorp.armeria.testing.junit5.common.EventLoopExtension
Creates a new Extension that provides an EventLoop.
EventLoopExtension(boolean) - Constructor for class com.linecorp.armeria.testing.junit5.common.EventLoopExtension
Creates a new Extension that provides an EventLoop.
EventLoopExtension(String) - Constructor for class com.linecorp.armeria.testing.junit5.common.EventLoopExtension
Creates a new Extension that provides an EventLoop.
EventLoopExtension(String, boolean) - Constructor for class com.linecorp.armeria.testing.junit5.common.EventLoopExtension
Creates a new Extension that provides an EventLoop.
EventLoopGroupExtension - Class in com.linecorp.armeria.testing.junit5.common
An Extension that provides an EventLoopGroup.
EventLoopGroupExtension(int) - Constructor for class com.linecorp.armeria.testing.junit5.common.EventLoopGroupExtension
Creates a new Extension that provides an EventLoopGroup.
EventLoopGroupExtension(int, boolean) - Constructor for class com.linecorp.armeria.testing.junit5.common.EventLoopGroupExtension
Creates a new Extension that provides an EventLoopGroup.
EventLoopGroupExtension(int, String) - Constructor for class com.linecorp.armeria.testing.junit5.common.EventLoopGroupExtension
Creates a new Extension that provides an EventLoopGroup.
EventLoopGroupExtension(int, String, boolean) - Constructor for class com.linecorp.armeria.testing.junit5.common.EventLoopGroupExtension
Creates a new Extension that provides an EventLoopGroup.

G

get() - Method in class com.linecorp.armeria.testing.junit5.common.EventLoopExtension
Returns the EventLoop.
get() - Method in class com.linecorp.armeria.testing.junit5.common.EventLoopGroupExtension
Returns the EventLoopGroup.

H

hashCode() - Method in class com.linecorp.armeria.testing.junit5.server.mock.RecordedRequest
 
hasHttp() - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Returns true if the Server is started and it has an HTTP port open.
hasHttps() - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Returns true if the Server is started and it has an HTTPS port open.
httpEndpoint() - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Returns the HTTP Endpoint for the Server.
httpPort() - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Returns the HTTP port number of the Server.
httpsEndpoint() - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Returns the HTTPS Endpoint for the Server.
httpSocketAddress() - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Returns the HTTP InetSocketAddress of the Server.
httpsPort() - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Returns the HTTPS port number of the Server.
httpsSocketAddress() - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Returns the HTTPS InetSocketAddress of the Server.
httpsUri() - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Returns the HTTPS URI for the Server.
httpsUri(SerializationFormat) - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Returns the HTTPS URI for the Server.
httpUri() - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Returns the HTTP URI for the Server.
httpUri(SerializationFormat) - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Returns the HTTP URI for the Server.

M

MockWebServerExtension - Class in com.linecorp.armeria.testing.junit5.server.mock
An Extension primarily for testing clients.
MockWebServerExtension() - Constructor for class com.linecorp.armeria.testing.junit5.server.mock.MockWebServerExtension
 

P

port(SessionProtocol) - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Returns the port number of the Server for the specified SessionProtocol.
privateKey() - Method in class com.linecorp.armeria.testing.junit5.server.SelfSignedCertificateExtension
Returns the PrivateKey of the self-signed certificate.
privateKeyFile() - Method in class com.linecorp.armeria.testing.junit5.server.SelfSignedCertificateExtension
Returns the private key file of the self-signed certificate.

R

RecordedRequest - Class in com.linecorp.armeria.testing.junit5.server.mock
A request that has been made to a MockWebServerExtension.
request() - Method in class com.linecorp.armeria.testing.junit5.server.mock.RecordedRequest
The AggregatedHttpRequest received by the server.
runForEachTest() - Method in class com.linecorp.armeria.testing.junit5.common.AbstractAllOrEachExtension
Returns whether this extension should run around each test method instead of the entire test class.

S

SelfSignedCertificateExtension - Class in com.linecorp.armeria.testing.junit5.server
An Extension that provides a temporary self-signed certificate.
SelfSignedCertificateExtension() - Constructor for class com.linecorp.armeria.testing.junit5.server.SelfSignedCertificateExtension
Creates a new instance.
SelfSignedCertificateExtension(String) - Constructor for class com.linecorp.armeria.testing.junit5.server.SelfSignedCertificateExtension
Creates a new instance.
SelfSignedCertificateExtension(String, SecureRandom, int) - Constructor for class com.linecorp.armeria.testing.junit5.server.SelfSignedCertificateExtension
Creates a new instance.
SelfSignedCertificateExtension(String, SecureRandom, int, TemporalAccessor, TemporalAccessor) - Constructor for class com.linecorp.armeria.testing.junit5.server.SelfSignedCertificateExtension
Creates a new instance.
SelfSignedCertificateExtension(String, TemporalAccessor, TemporalAccessor) - Constructor for class com.linecorp.armeria.testing.junit5.server.SelfSignedCertificateExtension
Creates a new instance.
SelfSignedCertificateExtension(TemporalAccessor, TemporalAccessor) - Constructor for class com.linecorp.armeria.testing.junit5.server.SelfSignedCertificateExtension
Creates a new instance.
server() - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Returns the started Server.
ServerExtension - Class in com.linecorp.armeria.testing.junit5.server
An Extension that allows easy set-up and tear-down of a Server.
ServerExtension() - Constructor for class com.linecorp.armeria.testing.junit5.server.ServerExtension
Creates a new instance with auto-start enabled.
ServerExtension(boolean) - Constructor for class com.linecorp.armeria.testing.junit5.server.ServerExtension
Creates a new instance.
socketAddress(SessionProtocol) - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Returns the InetSocketAddress of the specified SessionProtocol for the Server.
start() - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Starts the Server configured by configure(ServerBuilder).
stop() - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Stops the Server asynchronously.

T

takeRequest() - Method in class com.linecorp.armeria.testing.junit5.server.mock.MockWebServerExtension
Returns the next RecordedRequest the server received.
takeRequest(int, TimeUnit) - Method in class com.linecorp.armeria.testing.junit5.server.mock.MockWebServerExtension
Returns the next RecordedRequest the server received.
toString() - Method in class com.linecorp.armeria.testing.junit5.server.mock.RecordedRequest
 

U

uri(SessionProtocol) - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Returns the URI for the Server of the specified SessionProtocol.
uri(SessionProtocol, SerializationFormat) - Method in class com.linecorp.armeria.testing.junit5.server.ServerExtension
Returns the URI for the Server of the specified SessionProtocol and SerializationFormat.
A B C E G H M P R S T U 
All Classes All Packages