commit
b7f00c1087
|
|
@ -100,7 +100,7 @@ class BuildInfoTests {
|
|||
}
|
||||
|
||||
@Test
|
||||
void nameCanBeExludedRemovedFromProperties() {
|
||||
void nameCanBeExcludedFromProperties() {
|
||||
BuildInfo task = createTask(createProject("test"));
|
||||
task.getExcludes().add("name");
|
||||
assertThat(buildInfoProperties(task)).doesNotContainKey("build.name");
|
||||
|
|
|
|||
|
|
@ -220,7 +220,7 @@ class ConfigDataEnvironmentPostProcessorIntegrationTests {
|
|||
}
|
||||
|
||||
@Test
|
||||
void runWhenHasActiveProfilesFromMultipleAdditionaLocationsWithOneSwitchedOffLoadsExpectedProperties() {
|
||||
void runWhenHasActiveProfilesFromMultipleAdditionalLocationsWithOneSwitchedOffLoadsExpectedProperties() {
|
||||
ConfigurableApplicationContext context = this.application.run(
|
||||
"--spring.config.additional-location=classpath:enabletwoprofiles.properties,classpath:enableprofile.properties");
|
||||
ConfigurableEnvironment environment = context.getEnvironment();
|
||||
|
|
@ -230,7 +230,7 @@ class ConfigDataEnvironmentPostProcessorIntegrationTests {
|
|||
}
|
||||
|
||||
@Test
|
||||
void runWhenHaslocalFileLoadsWithLocalFileTakingPrecedenceOverClasspath() throws Exception {
|
||||
void runWhenHasLocalFileLoadsWithLocalFileTakingPrecedenceOverClasspath() throws Exception {
|
||||
File localFile = new File(new File("."), "application.properties");
|
||||
assertThat(localFile).doesNotExist();
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -214,7 +214,7 @@ class BindableRuntimeHintsRegistrarTests {
|
|||
}
|
||||
|
||||
@Test
|
||||
void pregisterHintsWhenHasUnresolvedGeneric() {
|
||||
void registerHintsWhenHasUnresolvedGeneric() {
|
||||
RuntimeHints runtimeHints = registerHints(WithGeneric.class);
|
||||
assertThat(runtimeHints.reflection().typeHints()).hasSize(2)
|
||||
.anySatisfy(javaBeanBinding(WithGeneric.class, "getGeneric"))
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@ class LogbackConfigurationAotContributionTests {
|
|||
@Test
|
||||
void componentTypesOfArraysAreRegisteredForReflection() {
|
||||
ComponentModel component = new ComponentModel();
|
||||
component.setClassName(ArrayParmeters.class.getName());
|
||||
component.setClassName(ArrayParameters.class.getName());
|
||||
TestGenerationContext generationContext = applyContribution(component);
|
||||
assertThat(invokePublicConstructorsAndInspectAndInvokePublicMethodsOf(InetSocketAddress.class))
|
||||
.accepts(generationContext.getRuntimeHints());
|
||||
|
|
@ -287,7 +287,7 @@ class LogbackConfigurationAotContributionTests {
|
|||
|
||||
}
|
||||
|
||||
public static class ArrayParmeters {
|
||||
public static class ArrayParameters {
|
||||
|
||||
public void addDestinations(InetSocketAddress... addresses) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue