Class PropertySourceTest.no_profile

java.lang.Object
info.ejava.assignments.propertysource.rentals.PropertySourceTest.no_profile
Enclosing class:
PropertySourceTest

@Nested @SpringBootTest(properties="spring.config.location=classpath:/,optional:file:src/locations/") class PropertySourceTest.no_profile extends Object
  • Field Details

    • configLocations

      @Value("${spring.config.location:(default value)}") String configLocations
    • props

      @Autowired private PropertyCheck props
    • configurableEnvironment

      @Autowired org.springframework.core.env.ConfigurableEnvironment configurableEnvironment
  • Constructor Details

    • no_profile

      no_profile()
  • Method Details

    • has_expected_sources

      @Test void has_expected_sources() throws Exception
      Throws:
      Exception
    • exists_in_classpath

      private boolean exists_in_classpath(String resource)
    • has_generic_files_in_classpath

      @Test void has_generic_files_in_classpath()
    • has_no_credential_files_in_classpath

      @Test void has_no_credential_files_in_classpath()
    • sources_have_unique_properties

      @Test void sources_have_unique_properties()