Fix formatting

This commit is contained in:
Stephane Nicoll
2016-09-27 09:22:47 +02:00
parent 712003b436
commit 90d3704faa
2 changed files with 12 additions and 9 deletions

View File

@@ -16,13 +16,10 @@
package io.spring.initializr.web.project
import static org.junit.Assert.assertEquals
import static org.junit.Assert.assertTrue
import geb.Browser
import io.spring.initializr.test.generator.ProjectAssert
import io.spring.initializr.web.AbstractInitializrControllerIntegrationTests
import io.spring.initializr.web.project.test.HomePage
import org.junit.After
import org.junit.Assume
import org.junit.Before
@@ -32,8 +29,12 @@ import org.openqa.selenium.WebDriver
import org.openqa.selenium.firefox.FirefoxDriver
import org.openqa.selenium.firefox.FirefoxProfile
import org.openqa.selenium.interactions.Actions
import org.springframework.test.context.ActiveProfiles
import static org.junit.Assert.assertEquals
import static org.junit.Assert.assertTrue
/**
*
* @author Stephane Nicoll
@@ -50,7 +51,8 @@ class ProjectGenerationSmokeTests extends AbstractInitializrControllerIntegratio
@Before
void setup() {
Assume.assumeTrue("Not in smoke test (System property smoke.test not set)", Boolean.getBoolean("smoke.test"))
Assume.assumeTrue("Smoke tests disabled (set System property 'smoke.test')",
Boolean.getBoolean("smoke.test"))
downloadDir = folder.newFolder()
FirefoxProfile fxProfile = new FirefoxProfile();

View File

@@ -16,19 +16,19 @@
package io.spring.initializr.web.support
import static org.junit.Assert.assertNotNull
import static org.junit.Assert.fail
import static org.springframework.test.web.client.match.MockRestRequestMatchers.requestTo
import static org.springframework.test.web.client.response.MockRestResponseCreators.withSuccess
import io.spring.initializr.metadata.InitializrMetadata
import io.spring.initializr.metadata.InitializrMetadataBuilder
import org.junit.Test
import org.springframework.core.io.ClassPathResource
import org.springframework.http.MediaType
import org.springframework.test.web.client.MockRestServiceServer
import org.springframework.web.client.RestTemplate
import static org.junit.Assert.assertNotNull
import static org.junit.Assert.fail
import static org.springframework.test.web.client.match.MockRestRequestMatchers.requestTo
import static org.springframework.test.web.client.response.MockRestResponseCreators.withSuccess
/**
* @author Stephane Nicoll
* @author Dave Syer
@@ -61,4 +61,5 @@ class SpringBootMetadataReaderTests {
}
server.verify()
}
}