[
https://issues.apache.org/jira/browse/WICKET-5452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13852056#comment-13852056
]
Martin Grigorov commented on WICKET-5452:
-----------------------------------------
Kill what ?
Others already provide such functionality ;)
https://github.com/apache/wicket/blob/master/wicket-experimental/wicket-native-websocket/wicket-native-websocket-core/src/main/java/org/apache/wicket/protocol/ws/util/tester/WebSocketTester.java?source=cc
https://github.com/apache/wicket/blob/master/wicket-experimental/wicket-native-websocket/wicket-native-websocket-core/src/test/java/org/apache/wicket/protocol/ws/util/tester/WebSocketTesterResourceTest.java?source=cc
> Make Wicket-Atmosphere testable
> -------------------------------
>
> Key: WICKET-5452
> URL: https://issues.apache.org/jira/browse/WICKET-5452
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-atmosphere
> Affects Versions: 6.12.0
> Reporter: Zala Goupil
> Assignee: Emond Papegaaij
>
> Presently, when a wicket-tester based unit test executes such a line:
> Application.get().getEventBus().post(new Event(), pageUuid);
> it throws a NullPointerException.
> I have two requests:
> - please, get rid of this Exception, indeed.
> - then make the generated HTML testable, just like wicket-tester allows to
> test Ajax responses.
> That would be the killer-feature of the wicket-atmosphere framework, IMHO.
> Regards,
> Pierre
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)