[ 
https://issues.apache.org/jira/browse/WICKET-5452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14098331#comment-14098331
 ] 

ASF subversion and git services commented on WICKET-5452:
---------------------------------------------------------

Commit 16fca60fee3ade5c2522f838f6ac4919bda71871 in wicket's branch 
refs/heads/master from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=16fca60 ]

WICKET-5452 Make Wicket-Atmosphere testable - AtmosphereTester

Reuse the already installed EventBus in MyApp#init. Just set TesterBroadcaster 
for testing purposes.

Add APIs to make it possible to assert on the suspended (by Atmosphere) http 
response

(cherry picked from commit 77d0a46ef018a1bb35282fbb374d9de56ac51c39)


> Make Wicket-Atmosphere testable - AtmosphereTester
> --------------------------------------------------
>
>                 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: Martin Grigorov
>
> 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.2#6252)

Reply via email to