Class TestDatabaseAutoConfiguration

    • Method Detail

      • dataSource

        @Bean
        @ConditionalOnProperty(prefix="spring.test.database",
                               name="replace",
                               havingValue="AUTO_CONFIGURED")
        @ConditionalOnMissingBean
        public DataSource dataSource()
      • embeddedDataSourceBeanFactoryPostProcessor

        @Bean
        @ConditionalOnProperty(prefix="spring.test.database",
                               name="replace",
                               havingValue="ANY",
                               matchIfMissing=true)
        public static org.springframework.boot.test.autoconfigure.jdbc.TestDatabaseAutoConfiguration.EmbeddedDataSourceBeanFactoryPostProcessor embeddedDataSourceBeanFactoryPostProcessor()