Polish sample package names
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package samples.websocket;
|
||||
package samples.websocket.jetty;
|
||||
|
||||
import java.util.concurrent.CountDownLatch;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
@@ -39,10 +39,10 @@ import org.springframework.test.context.web.WebAppConfiguration;
|
||||
import org.springframework.web.socket.client.WebSocketConnectionManager;
|
||||
import org.springframework.web.socket.client.standard.StandardWebSocketClient;
|
||||
|
||||
import samples.websocket.client.GreetingService;
|
||||
import samples.websocket.client.SimpleClientWebSocketHandler;
|
||||
import samples.websocket.client.SimpleGreetingService;
|
||||
|
||||
import samples.websocket.jetty.SampleJettyWebSocketsApplication;
|
||||
import samples.websocket.jetty.client.GreetingService;
|
||||
import samples.websocket.jetty.client.SimpleClientWebSocketHandler;
|
||||
import samples.websocket.jetty.client.SimpleGreetingService;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package samples.websocket.echo;
|
||||
package samples.websocket.jetty.echo;
|
||||
|
||||
import java.util.concurrent.CountDownLatch;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
@@ -42,12 +42,11 @@ import org.springframework.util.SocketUtils;
|
||||
import org.springframework.web.socket.client.WebSocketConnectionManager;
|
||||
import org.springframework.web.socket.client.standard.StandardWebSocketClient;
|
||||
|
||||
import samples.websocket.SampleJettyWebSocketsApplication;
|
||||
import samples.websocket.client.GreetingService;
|
||||
import samples.websocket.client.SimpleClientWebSocketHandler;
|
||||
import samples.websocket.client.SimpleGreetingService;
|
||||
import samples.websocket.echo.CustomContainerWebSocketsApplicationTests.CustomContainerConfiguration;
|
||||
|
||||
import samples.websocket.jetty.SampleJettyWebSocketsApplication;
|
||||
import samples.websocket.jetty.client.GreetingService;
|
||||
import samples.websocket.jetty.client.SimpleClientWebSocketHandler;
|
||||
import samples.websocket.jetty.client.SimpleGreetingService;
|
||||
import samples.websocket.jetty.echo.CustomContainerWebSocketsApplicationTests.CustomContainerConfiguration;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@@ -14,12 +14,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package samples.websocket.snake;
|
||||
package samples.websocket.jetty.snake;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import samples.websocket.jetty.snake.Snake;
|
||||
import samples.websocket.jetty.snake.SnakeTimer;
|
||||
import static org.hamcrest.CoreMatchers.is;
|
||||
import static org.junit.Assert.assertThat;
|
||||
import static org.mockito.BDDMockito.willThrow;
|
||||
Reference in New Issue
Block a user