Merge pull request #20001 from izeye

* pr/20001:
  Polish

Closes gh-20001
pull/20002/head
Stephane Nicoll 5 years ago
commit 199cea206f

@ -34,7 +34,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* *
* @author Johannes Graf * @author Johannes Graf
*/ */
class StackdriverMetricsExportAutoConfigurationTest { class StackdriverMetricsExportAutoConfigurationTests {
private final ApplicationContextRunner contextRunner = new ApplicationContextRunner() private final ApplicationContextRunner contextRunner = new ApplicationContextRunner()
.withConfiguration(AutoConfigurations.of(StackdriverMetricsExportAutoConfiguration.class)); .withConfiguration(AutoConfigurations.of(StackdriverMetricsExportAutoConfiguration.class));
@ -45,7 +45,7 @@ class StackdriverMetricsExportAutoConfigurationTest {
} }
@Test @Test
void failsWithoutAnProjectId() { void failsWithoutAProjectId() {
this.contextRunner.withUserConfiguration(BaseConfiguration.class) this.contextRunner.withUserConfiguration(BaseConfiguration.class)
.run((context) -> assertThat(context).hasFailed()); .run((context) -> assertThat(context).hasFailed());
} }

@ -25,7 +25,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* *
* @author Johannes Graf * @author Johannes Graf
*/ */
class StackdriverPropertiesConfigAdapterTest { class StackdriverPropertiesConfigAdapterTests {
@Test @Test
void whenPropertiesProjectIdIsSetAdapterProjectIdReturnsIt() { void whenPropertiesProjectIdIsSetAdapterProjectIdReturnsIt() {

@ -28,7 +28,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* *
* @author Johannes Graf * @author Johannes Graf
*/ */
class StackdriverPropertiesTest extends StepRegistryPropertiesTests { class StackdriverPropertiesTests extends StepRegistryPropertiesTests {
@Test @Test
void defaultValuesAreConsistent() { void defaultValuesAreConsistent() {
Loading…
Cancel
Save