Added checkstyle for tests
This commit is contained in:
@@ -25,7 +25,7 @@ public class Emitter implements Supplier<String> {
|
||||
|
||||
private int i = 0;
|
||||
|
||||
private String[] values = { "one", "two", "three", "four" };
|
||||
private String[] values = {"one", "two", "three", "four"};
|
||||
|
||||
@Override
|
||||
public String get() {
|
||||
|
||||
@@ -21,6 +21,7 @@ import java.io.IOException;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
// @checkstyle:off
|
||||
|
||||
/**
|
||||
* @author Mark Fisher
|
||||
* @author Dave Syer
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2019-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cloud.function.deployer;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
@@ -39,7 +39,7 @@ import static org.hamcrest.Matchers.containsString;
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = FunctionDeployerConfiguration.class, webEnvironment = SpringBootTest.WebEnvironment.NONE)
|
||||
@TestPropertySource(properties = {
|
||||
"function.location=file:target/it/support/target/function-sample-1.0.0.M1-exec.jar", })
|
||||
"function.location=file:target/it/support/target/function-sample-1.0.0.M1-exec.jar" })
|
||||
public abstract class SpringFunctionAppConfigurationTests {
|
||||
|
||||
@Autowired
|
||||
|
||||
@@ -39,7 +39,7 @@ import static org.hamcrest.Matchers.containsString;
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = FunctionDeployerConfiguration.class, webEnvironment = SpringBootTest.WebEnvironment.NONE)
|
||||
@TestPropertySource(properties = {
|
||||
"function.location=file:target/it/support/target/dependency", })
|
||||
"function.location=file:target/it/support/target/dependency" })
|
||||
public abstract class SpringFunctionAppExplodedConfigurationTests {
|
||||
|
||||
@Autowired
|
||||
|
||||
@@ -98,10 +98,10 @@ class Foo {
|
||||
|
||||
private String value;
|
||||
|
||||
public Foo() {
|
||||
Foo() {
|
||||
}
|
||||
|
||||
public Foo(String value) {
|
||||
Foo(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
@@ -11,4 +11,4 @@ Start-Class: org.springframework.cloud.function.test.FunctionApp
|
||||
Created-By: Apache Maven 3.5.0
|
||||
Build-Jdk: 1.8.0_131
|
||||
Implementation-URL: http://projects.spring.io/spring-boot/function-sam
|
||||
ple/
|
||||
ple/
|
||||
|
||||
Reference in New Issue
Block a user