mirror of
https://gitee.com/dcren/initializr.git
synced 2025-09-18 17:48:14 +08:00
Fix formatting
This commit is contained in:
@@ -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();
|
||||
|
||||
|
@@ -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()
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user