Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractTomcatJunit4Test - Class in com.github.mjeanroy.junit.servers.tomcat.junit4
-
Simple abstraction that define a server rule using tomcat as embedded server.
- AbstractTomcatJunit4Test() - Constructor for class com.github.mjeanroy.junit.servers.tomcat.junit4.AbstractTomcatJunit4Test
B
- build() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration.Builder
- build(Class<?>) - Method in interface com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfigurationProvider
-
Create
EmbeddedTomcatConfiguration
for given test class. - builder() - Static method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration
-
Get configuration builder.
C
- canEqual(Object) - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration
- com.github.mjeanroy.junit.servers.tomcat - package com.github.mjeanroy.junit.servers.tomcat
- com.github.mjeanroy.junit.servers.tomcat.exceptions - package com.github.mjeanroy.junit.servers.tomcat.exceptions
- com.github.mjeanroy.junit.servers.tomcat.junit4 - package com.github.mjeanroy.junit.servers.tomcat.junit4
- com.github.mjeanroy.junit.servers.tomcat.jupiter - package com.github.mjeanroy.junit.servers.tomcat.jupiter
- createContext() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcat
-
Deprecated.Protected visibility may be removed in a next release, please submit an issue here to discuss it.
- createFrom(Class<?>) - Static method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatFactory
-
Instantiate embedded tomcat from given test class.
- createFrom(Class<?>, AbstractConfiguration) - Static method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatFactory
-
Instantiate embedded tomcat from given test class, with given provided configuration (may be
null
).
D
- defaultConfiguration() - Static method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration
-
Get default configuration.
- deleteBaseDir() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration.Builder
-
Delete tomcat base directory on server stop.
- disableForceMetaInf() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration.Builder
-
Disable META-INF creation.
- disableNaming() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration.Builder
-
Disable naming (i.e disable JNDI) on tomcat server.
- doGetPort() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcat
- doStart() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcat
- doStop() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcat
E
- EmbeddedTomcat - Class in com.github.mjeanroy.junit.servers.tomcat
-
Embedded server using tomcat as implementation.
- EmbeddedTomcat() - Constructor for class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcat
-
Build embedded tomcat with default configuration.
- EmbeddedTomcat(EmbeddedTomcatConfiguration) - Constructor for class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcat
-
Build embedded tomcat.
- EmbeddedTomcatConfiguration - Class in com.github.mjeanroy.junit.servers.tomcat
-
Tomcat configuration settings.
- EmbeddedTomcatConfiguration.Builder - Class in com.github.mjeanroy.junit.servers.tomcat
-
Builder for
EmbeddedTomcatConfiguration
. - EmbeddedTomcatConfigurationProvider - Interface in com.github.mjeanroy.junit.servers.tomcat
-
A
EmbeddedTomcatConfiguration
provider. - EmbeddedTomcatFactory - Class in com.github.mjeanroy.junit.servers.tomcat
-
Static factories for
EmbeddedTomcat
that can be used in JUnit 4 Runner implementation or JUnit Jupiter Extension. - EmbeddedTomcatProvider - Class in com.github.mjeanroy.junit.servers.tomcat
-
Embedded Tomcat Provider used by the service provider interface from the JDK.
- EmbeddedTomcatProvider() - Constructor for class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatProvider
- enableForceMetaInf() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration.Builder
-
Enable META-INF creation.
- enableNaming() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration.Builder
-
Enable naming (i.e enable JNDI) on tomcat server.
- equals(Object) - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration
G
- getBaseDir() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration.Builder
-
Get current
EmbeddedTomcatConfiguration.Builder.baseDir
value. - getBaseDir() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration
-
Get
EmbeddedTomcatConfiguration.baseDir
. - getDelegate() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcat
- getScheme() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcat
- getServletContext() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcat
H
- hashCode() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration
I
- IllegalTomcatConfigurationException - Exception in com.github.mjeanroy.junit.servers.tomcat.exceptions
-
Error thrown when Tomcat configuration is not valid.
- IllegalTomcatConfigurationException() - Constructor for exception com.github.mjeanroy.junit.servers.tomcat.exceptions.IllegalTomcatConfigurationException
-
Create exception with default error message.
- instantiate() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatProvider
- instantiate(EmbeddedTomcatConfiguration) - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatProvider
- instantiateServer(Class<?>, AbstractConfiguration) - Method in class com.github.mjeanroy.junit.servers.tomcat.jupiter.TomcatServerExtension
- isEnableNaming() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration.Builder
-
Get current
EmbeddedTomcatConfiguration.Builder.enableNaming
value. - isEnableNaming() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration
-
Get
EmbeddedTomcatConfiguration.enableNaming
. - isForceMetaInf() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration.Builder
-
Get current
EmbeddedTomcatConfiguration.Builder.forceMetaInf
value. - isForceMetaInf() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration
-
Get
EmbeddedTomcatConfiguration.forceMetaInf
. - isKeepBaseDir() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration.Builder
-
Get current
EmbeddedTomcatConfiguration.Builder.keepBaseDir
value. - isKeepBaseDir() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration
-
Get current
EmbeddedTomcatConfiguration.keepBaseDir
value.
K
- keepBaseDir() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration.Builder
-
Keep tomcat base directory content on server stop.
P
- providedBy() - Element in annotation type com.github.mjeanroy.junit.servers.tomcat.TomcatConfiguration
-
The configuration provider.
S
- self() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration.Builder
- server - Static variable in class com.github.mjeanroy.junit.servers.tomcat.junit4.AbstractTomcatJunit4Test
-
The started embedded server.
T
- TomcatConfiguration - Annotation Type in com.github.mjeanroy.junit.servers.tomcat
-
Annotation that can be used to specify
EmbeddedTomcatConfiguration
provider that will be used to create newEmbeddedTomcatConfiguration
and use it for the test suite. - TomcatServerExtension - Class in com.github.mjeanroy.junit.servers.tomcat.jupiter
-
A specialized
JunitServerExtension
that will instantiate anEmbeddedTomcat
server automatically instead of using the Service Provider API. - TomcatServerExtension() - Constructor for class com.github.mjeanroy.junit.servers.tomcat.jupiter.TomcatServerExtension
-
Create the jupiter with default behavior.
- TomcatServerExtension(EmbeddedTomcat) - Constructor for class com.github.mjeanroy.junit.servers.tomcat.jupiter.TomcatServerExtension
-
Create the jupiter and specify the embedded tomcat instance to use.
- TomcatServerExtension(EmbeddedTomcatConfiguration) - Constructor for class com.github.mjeanroy.junit.servers.tomcat.jupiter.TomcatServerExtension
-
Create the jupiter and specify the embedded tomcat configuration to use (when using jupiter with
RegisterExtension
). - TomcatServerJunit4Rule - Class in com.github.mjeanroy.junit.servers.tomcat.junit4
-
Rule that can be used to start and stop embedded tomcat server.
- TomcatServerJunit4Rule() - Constructor for class com.github.mjeanroy.junit.servers.tomcat.junit4.TomcatServerJunit4Rule
-
Create rule using tomcat as embedded server.
- TomcatServerJunit4Rule(EmbeddedTomcat) - Constructor for class com.github.mjeanroy.junit.servers.tomcat.junit4.TomcatServerJunit4Rule
-
Create rule.
- TomcatServerJunit4Rule(EmbeddedTomcatConfiguration) - Constructor for class com.github.mjeanroy.junit.servers.tomcat.junit4.TomcatServerJunit4Rule
-
Create rule.
- TomcatServerJunit4Runner - Class in com.github.mjeanroy.junit.servers.tomcat.junit4
-
Rule that can be used to start and stop embedded tomcat server.
- TomcatServerJunit4Runner(Class<?>) - Constructor for class com.github.mjeanroy.junit.servers.tomcat.junit4.TomcatServerJunit4Runner
-
Create runner.
- TomcatTest - Annotation Type in com.github.mjeanroy.junit.servers.tomcat.jupiter
-
Create test with
TomcatServerExtension
. - toString() - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration
W
- withBaseDir(String) - Method in class com.github.mjeanroy.junit.servers.tomcat.EmbeddedTomcatConfiguration.Builder
-
Change tomcat base directory.
All Classes and Interfaces|All Packages|Serialized Form