Skip to content

Commit eb8ad05

Browse files
committed
Simplifying the file name and cleaning up code
1 parent 0451e66 commit eb8ad05

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed
+2-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
/**
2-
*
3-
*/
41
package org.javaee7.websocket.binary.test;
52

63
import static org.junit.Assert.assertArrayEquals;
@@ -35,7 +32,7 @@
3532
* @author Arun Gupta
3633
*/
3734
@RunWith(Arquillian.class)
38-
public class WebsocketBinaryEndpointTest {
35+
public class MyEndpointTest {
3936

4037
private static final String RESPONSE = "Hello World!";
4138

@@ -48,13 +45,11 @@ public class WebsocketBinaryEndpointTest {
4845
*/
4946
@Deployment(testable=false)
5047
public static WebArchive createDeployment() {
51-
WebArchive war = ShrinkWrap.create(WebArchive.class)
48+
return ShrinkWrap.create(WebArchive.class)
5249
.addClasses(MyEndpointByteBuffer.class,
5350
MyEndpointByteArray.class,
5451
MyEndpointInputStream.class,
5552
MyEndpointClient.class);
56-
System.out.println(war.toString(true));
57-
return war;
5853
}
5954

6055
/**

0 commit comments

Comments
 (0)