Fix white space issues
This commit is contained in:
parent
772552b9ef
commit
4a332bd0b2
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2014 the original author or authors.
|
* Copyright 2002-2015 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -15,6 +15,11 @@
|
||||||
*/
|
*/
|
||||||
package org.springframework.test.web.servlet.samples.standalone;
|
package org.springframework.test.web.servlet.samples.standalone;
|
||||||
|
|
||||||
|
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*;
|
||||||
|
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;
|
||||||
|
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.request;
|
||||||
|
import static org.springframework.test.web.servlet.setup.MockMvcBuilders.*;
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.concurrent.Callable;
|
import java.util.concurrent.Callable;
|
||||||
import java.util.concurrent.CopyOnWriteArrayList;
|
import java.util.concurrent.CopyOnWriteArrayList;
|
||||||
|
|
@ -34,10 +39,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
import org.springframework.web.context.request.async.DeferredResult;
|
import org.springframework.web.context.request.async.DeferredResult;
|
||||||
|
|
||||||
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*;
|
|
||||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;
|
|
||||||
import static org.springframework.test.web.servlet.setup.MockMvcBuilders.*;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests with asynchronous request handling.
|
* Tests with asynchronous request handling.
|
||||||
*
|
*
|
||||||
|
|
@ -56,6 +57,7 @@ public class AsyncTests {
|
||||||
this.mockMvc = standaloneSetup(this.asyncController).build();
|
this.mockMvc = standaloneSetup(this.asyncController).build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testCallable() throws Exception {
|
public void testCallable() throws Exception {
|
||||||
MvcResult mvcResult = this.mockMvc.perform(get("/1").param("callable", "true"))
|
MvcResult mvcResult = this.mockMvc.perform(get("/1").param("callable", "true"))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue