Uses of Class
io.quarkus.test.QuarkusUnitTest
-
-
Uses of QuarkusUnitTest in io.quarkus.test
Methods in io.quarkus.test that return QuarkusUnitTest Modifier and Type Method Description QuarkusUnitTestQuarkusUnitTest. addAdditionalDependency(org.jboss.shrinkwrap.api.spec.JavaArchive archive)Add the java archive as an additional dependency.QuarkusUnitTestQuarkusUnitTest. addBuildChainCustomizer(Consumer<io.quarkus.builder.BuildChainBuilder> customizer)QuarkusUnitTestQuarkusUnitTest. addClassLoaderEventListener(io.quarkus.bootstrap.classloading.ClassLoaderEventListener listener)QuarkusUnitTestQuarkusUnitTest. assertException(Consumer<Throwable> assertException)QuarkusUnitTestQuarkusUnitTest. assertLogRecords(Consumer<List<LogRecord>> assertLogRecords)QuarkusUnitTestQuarkusUnitTest. overrideConfigKey(String propertyKey, String propertyValue)QuarkusUnitTestQuarkusUnitTest. setAfterAllCustomizer(Runnable afterAllCustomizer)QuarkusUnitTestQuarkusUnitTest. setAfterUndeployListener(Runnable afterUndeployListener)QuarkusUnitTestQuarkusUnitTest. setAllowTestClassOutsideDeployment(boolean allowTestClassOutsideDeployment)Normally access to any test classes that are not packaged in the deployment will result in a ClassNotFoundException.QuarkusUnitTestQuarkusUnitTest. setArchiveProducer(Supplier<org.jboss.shrinkwrap.api.spec.JavaArchive> archiveProducer)QuarkusUnitTestQuarkusUnitTest. setBeforeAllCustomizer(Runnable beforeAllCustomizer)QuarkusUnitTestQuarkusUnitTest. setCommandLineParameters(String... commandLineParameters)QuarkusUnitTestQuarkusUnitTest. setExpectedException(Class<? extends Throwable> expectedException)QuarkusUnitTestQuarkusUnitTest. setExpectedException(Class<? extends Throwable> expectedException, boolean logMessage)QuarkusUnitTestQuarkusUnitTest. setFlatClassPath(boolean flatClassPath)If this test should use a single ClassLoader to load all the classes.QuarkusUnitTestQuarkusUnitTest. 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)QuarkusUnitTestQuarkusUnitTest. setLogFileName(String logFileName)QuarkusUnitTestQuarkusUnitTest. setLogRecordPredicate(Predicate<LogRecord> predicate)QuarkusUnitTestQuarkusUnitTest. withAdditionalDependency(Consumer<org.jboss.shrinkwrap.api.spec.JavaArchive> dependencyConsumer)Add the java archive as an additional dependency.QuarkusUnitTestQuarkusUnitTest. withApplicationRoot(Consumer<org.jboss.shrinkwrap.api.spec.JavaArchive> applicationRootConsumer)Customize the application root.QuarkusUnitTestQuarkusUnitTest. withConfigurationResource(String resourceName)QuarkusUnitTestQuarkusUnitTest. withEmptyApplication()Use an empty application for the teststatic QuarkusUnitTestQuarkusUnitTest. withSecuredConnection()
-