Uses of Class
io.quarkus.test.QuarkusProdModeTest
Packages that use QuarkusProdModeTest
-
Uses of QuarkusProdModeTest in io.quarkus.test
Methods in io.quarkus.test that return QuarkusProdModeTestModifier and TypeMethodDescriptionQuarkusProdModeTest.addBuildChainCustomizerEntries
(QuarkusProdModeTest.BuildChainCustomizerEntry entry) QuarkusProdModeTest.addCustomResourceEntry
(Path outputPath, String classPathLocation) QuarkusProdModeTest.assertBuildException
(Consumer<Throwable> assertException) QuarkusProdModeTest.overrideConfigKey
(String propertyKey, String propertyValue) Overriden configuration properties take precedence over anapplication.properties
asset added in the testJavaArchive
.QuarkusProdModeTest.setApplicationName
(String applicationName) Effectively sets the quarkus.application.name property.QuarkusProdModeTest.setApplicationVersion
(String applicationVersion) Effectively sets the quarkus.application.version property.QuarkusProdModeTest.setArchiveProducer
(Supplier<org.jboss.shrinkwrap.api.spec.JavaArchive> archiveProducer) QuarkusProdModeTest.setBuildNative
(boolean buildNative) Effectively sets the quarkus.packaging.type property.QuarkusProdModeTest.setCommandLineParameters
(String... commandLineParameters) QuarkusProdModeTest.setExpectedException
(Class<? extends Throwable> expectedException) QuarkusProdModeTest.setExpectExit
(boolean expectExit) If this is true then the Quarkus application is expected to exit immediately (i.e. is a command mode app)QuarkusProdModeTest.setForcedDependencies
(List<io.quarkus.maven.dependency.Dependency> forcedDependencies) Provides a convenient way to either add additional dependencies to the application (if it doesn't already contain a dependency), or override a version (if the dependency already exists)QuarkusProdModeTest.setJVMArgs
(List<String> jvmArgs) The complete set of JVM args to be used if the built artifact is configured to be runQuarkusProdModeTest.setLogFileName
(String logFileName) File where the running application logs its output This property effectively sets the quarkus.log.file.path runtime configuration property and will override that value if it has been set in the configuration properties of the testQuarkusProdModeTest.setLogRecordPredicate
(Predicate<LogRecord> predicate) QuarkusProdModeTest.setRun
(boolean run) If set to true, the built artifact will be run before starting the testsQuarkusProdModeTest.setRuntimeProperties
(Map<String, String> runtimeProperties) The runtime configuration properties to be used if the built artifact is configured to be runQuarkusProdModeTest.withApplicationRoot
(Consumer<org.jboss.shrinkwrap.api.spec.JavaArchive> applicationRootConsumer) Customize the application root.QuarkusProdModeTest.withConfigurationResource
(String resourceName) Add anapplication.properties
asset loaded from the specified resource file in the testJavaArchive
.QuarkusProdModeTest.withEmptyApplication()
Use an empty application for the test