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 Summary
FieldsModifier and TypeFieldDescription(package private) String
(package private) org.springframework.core.env.ConfigurableEnvironment
private PropertyCheck
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
exists_in_classpath
(String resource) (package private) void
(package private) void
(package private) void
(package private) void
-
Field Details
-
configLocations
-
props
-
configurableEnvironment
@Autowired org.springframework.core.env.ConfigurableEnvironment configurableEnvironment
-
-
Constructor Details
-
no_profile
no_profile()
-
-
Method Details
-
has_expected_sources
- Throws:
Exception
-
exists_in_classpath
-
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()
-