Uses of Class
com.foreach.across.test.support.AcrossTestContextBuilder
Packages that use AcrossTestContextBuilder
-
Uses of AcrossTestContextBuilder in com.foreach.across.test.support
Subclasses of AcrossTestContextBuilder in com.foreach.across.test.supportMethods in com.foreach.across.test.support that return AcrossTestContextBuilderModifier and TypeMethodDescriptionAcrossTestContextBuilder.additionalModulePackageClasses(Class<?>... classes) Type-safe alternative foradditionalModulePackages(String...)where the packages of the classes will be added for module scanning.AcrossTestContextBuilder.additionalModulePackages(String... packageNames) Additional packages that should be scanned for modules if no customModuleDependencyResolveris configured.AcrossTestContextBuilder.configurer(AcrossContextConfigurer... configurer) Add one or moreAcrossContextConfigurerinstances that are to be called after the initialAcrossContexthas been created.AcrossTestContextBuilder.dataSource(DataSource dataSource) Set the core across datasource.AcrossTestContextBuilder.developmentMode(boolean developmentMode) AcrossTestContextBuilder.dropFirst(boolean dropFirst) Should the database be reset before bootstrapping theAcrossContext.Add one or more types (classes, interfaces, annotations) that should be exposed in this test context.AcrossTestContextBuilder.installerDataSource(DataSource installerDataSource) Set the installer datasource.AcrossTestContextBuilder.moduleConfigurationPackageClasses(Class<?>... classes) Type-safe alternative formoduleConfigurationPackages(String...).AcrossTestContextBuilder.moduleConfigurationPackages(String... packageNames) Add one or more custom packages that should be scanned forModuleConfigurationclasses.AcrossTestContextBuilder.moduleDependencyResolver(ModuleDependencyResolver moduleDependencyResolver) Set theModuleDependencyResolverthat should be used for looking up modules by name.AcrossTestContextBuilder.modules(AcrossModule... modules) Array ofAcrossModuleinstances to add to the context.Array ofAcrossModulenames that should be configured.AcrossTestContextBuilder.properties(Map<String, Object> properties) Add a properties map to the environment of the parentApplicationContext.AcrossTestContextBuilder.properties(Properties properties) Add a properties collection to the environment of the parentApplicationContext.AcrossTestContextBuilder.properties(org.springframework.core.env.PropertySource propertySource) Add aPropertySourceto the environment of the parentApplicationContext.Set a property value on the environment of the parentApplicationContext.Add one or more annotated classes to the parentApplicationContextthat is attached to theAcrossContext.static AcrossTestContextBuilderAcrossTestBuilders.standard()Create a new builder for a standard (non-web)AcrossContext.static AcrossTestContextBuilderAcrossTestBuilders.standard(boolean useTestDataSource) Create a new builder for a standard (non-web)AcrossContext.AcrossTestContextBuilder.useTestDataSource(boolean useTestDataSource) Should default test datasources be created.