parent
0a99c20a73
commit
1bb25adbdc
|
@ -63,7 +63,7 @@ public class JsrSessionTest
|
|||
ConfiguredEndpoint ei = new ConfiguredEndpoint(new DummyEndpoint(), config);
|
||||
|
||||
// Session
|
||||
session = new JsrSession(container, id, requestURI, ei, connection);
|
||||
session = new JsrSession(container, id, requestURI, ei, policy, connection);
|
||||
session.start();
|
||||
}
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ public class JsrEndpointFunctions_OnCloseTest
|
|||
DummyConnection connection = new DummyConnection(policy);
|
||||
ClientEndpointConfig config = new EmptyClientEndpointConfig();
|
||||
ConfiguredEndpoint ei = new ConfiguredEndpoint(websocket, config);
|
||||
return new JsrSession(container, id, requestURI, ei, connection);
|
||||
return new JsrSession(container, id, requestURI, ei, policy, connection);
|
||||
}
|
||||
|
||||
private void assertOnCloseInvocation(TrackingSocket socket, String expectedEventFormat, Object... args) throws Exception
|
||||
|
|
|
@ -72,7 +72,7 @@ public class JsrEndpointFunctions_OnErrorTest
|
|||
DummyConnection connection = new DummyConnection(policy);
|
||||
ClientEndpointConfig config = new EmptyClientEndpointConfig();
|
||||
ConfiguredEndpoint ei = new ConfiguredEndpoint(websocket, config);
|
||||
return new JsrSession(container, id, requestURI, ei, connection);
|
||||
return new JsrSession(container, id, requestURI, ei, policy, connection);
|
||||
}
|
||||
|
||||
private void assertOnErrorInvocation(TrackingSocket socket, String expectedEventFormat, Object... args) throws Exception
|
||||
|
|
|
@ -84,7 +84,7 @@ public class JsrEndpointFunctions_OnMessage_BinaryTest
|
|||
DummyConnection connection = new DummyConnection(policy);
|
||||
ClientEndpointConfig config = new EmptyClientEndpointConfig();
|
||||
ConfiguredEndpoint ei = new ConfiguredEndpoint(websocket, config);
|
||||
return new JsrSession(container, id, requestURI, ei, connection);
|
||||
return new JsrSession(container, id, requestURI, ei, policy, connection);
|
||||
}
|
||||
|
||||
private void assertOnMessageInvocation(TrackingSocket socket, String expectedEventFormat, Object... args) throws Exception
|
||||
|
|
|
@ -82,7 +82,7 @@ public class JsrEndpointFunctions_OnMessage_TextTest
|
|||
DummyConnection connection = new DummyConnection(policy);
|
||||
ClientEndpointConfig config = new EmptyClientEndpointConfig();
|
||||
ConfiguredEndpoint ei = new ConfiguredEndpoint(websocket, config);
|
||||
return new JsrSession(container, id, requestURI, ei, connection);
|
||||
return new JsrSession(container, id, requestURI, ei, policy, connection);
|
||||
}
|
||||
|
||||
private void onText(TrackingSocket socket, String msg) throws Exception
|
||||
|
|
|
@ -71,7 +71,7 @@ public class JsrEndpointFunctions_OnOpenTest
|
|||
DummyConnection connection = new DummyConnection(policy);
|
||||
ClientEndpointConfig config = new EmptyClientEndpointConfig();
|
||||
ConfiguredEndpoint ei = new ConfiguredEndpoint(websocket, config);
|
||||
return new JsrSession(container, id, requestURI, ei, connection);
|
||||
return new JsrSession(container, id, requestURI, ei, policy, connection);
|
||||
}
|
||||
|
||||
private void assertOnOpenInvocation(TrackingSocket socket, String expectedEventFormat, Object... args) throws Exception
|
||||
|
|
Loading…
Reference in New Issue