Merge pull request #17592 from izeye

* pr/17592:
  Remove println invocations in tests

Closes gh-17592
pull/17600/head
Stephane Nicoll 5 years ago
commit 52660d959e

@ -4,7 +4,6 @@ import static org.junit.Assert.assertEquals
import static org.junit.Assert.assertTrue import static org.junit.Assert.assertTrue
def file = new File(basedir, "target/classes/META-INF/build-info.properties") def file = new File(basedir, "target/classes/META-INF/build-info.properties")
println file.getAbsolutePath()
Properties properties = Verify.verifyBuildInfo(file, Properties properties = Verify.verifyBuildInfo(file,
'org.springframework.boot.maven.it', 'build-info-additional-properties', 'org.springframework.boot.maven.it', 'build-info-additional-properties',
'Generate build info', '0.0.1.BUILD-SNAPSHOT') 'Generate build info', '0.0.1.BUILD-SNAPSHOT')

@ -3,7 +3,6 @@ import org.springframework.boot.maven.Verify
import static org.junit.Assert.assertEquals import static org.junit.Assert.assertEquals
def file = new File(basedir, "target/classes/META-INF/build-info.properties") def file = new File(basedir, "target/classes/META-INF/build-info.properties")
println file.getAbsolutePath()
Properties properties = Verify.verifyBuildInfo(file, Properties properties = Verify.verifyBuildInfo(file,
'org.springframework.boot.maven.it', 'build-info-custom-build-time', 'org.springframework.boot.maven.it', 'build-info-custom-build-time',
'Generate build info with custom build time', '0.0.1.BUILD-SNAPSHOT') 'Generate build info with custom build time', '0.0.1.BUILD-SNAPSHOT')

@ -3,7 +3,6 @@ import org.springframework.boot.maven.Verify
import static org.junit.Assert.assertTrue import static org.junit.Assert.assertTrue
def file = new File(basedir, "target/build.info") def file = new File(basedir, "target/build.info")
println file.getAbsolutePath()
Properties properties = Verify.verifyBuildInfo(file, Properties properties = Verify.verifyBuildInfo(file,
'org.springframework.boot.maven.it', 'build-info-custom-file', 'org.springframework.boot.maven.it', 'build-info-custom-file',
'Generate custom build info', '0.0.1.BUILD-SNAPSHOT') 'Generate custom build info', '0.0.1.BUILD-SNAPSHOT')

@ -3,7 +3,6 @@ import org.springframework.boot.maven.Verify
import static org.junit.Assert.assertFalse import static org.junit.Assert.assertFalse
def file = new File(basedir, "target/classes/META-INF/build-info.properties") def file = new File(basedir, "target/classes/META-INF/build-info.properties")
println file.getAbsolutePath()
Properties properties = Verify.verifyBuildInfo(file, Properties properties = Verify.verifyBuildInfo(file,
'org.springframework.boot.maven.it', 'build-info-disable-build-time', 'org.springframework.boot.maven.it', 'build-info-disable-build-time',
'Generate build info with disabled build time', '0.0.1.BUILD-SNAPSHOT') 'Generate build info with disabled build time', '0.0.1.BUILD-SNAPSHOT')

@ -3,7 +3,6 @@ import org.springframework.boot.maven.Verify
import static org.junit.Assert.assertTrue import static org.junit.Assert.assertTrue
def file = new File(basedir, "target/classes/META-INF/build-info.properties") def file = new File(basedir, "target/classes/META-INF/build-info.properties")
println file.getAbsolutePath()
Properties properties = Verify.verifyBuildInfo(file, Properties properties = Verify.verifyBuildInfo(file,
'org.springframework.boot.maven.it', 'build-info', 'org.springframework.boot.maven.it', 'build-info',
'Generate build info', '0.0.1.BUILD-SNAPSHOT') 'Generate build info', '0.0.1.BUILD-SNAPSHOT')

Loading…
Cancel
Save