On Tue, Oct 8, 2013 at 12:55 PM, francois meillet <
francois.meil...@gmail.com> wrote:

> Did you include the atmosphere.xml configuration file and configured the
> AtmosphereServlet ?
>

He asks about WicketTester+Atmosphere.


>
> François
>
>
> On Tue, Oct 8, 2013 at 11:26 AM, Vit Rozkovec <rozkovec...@email.cz>
> wrote:
>
> > Any hints, please?
> >
> > Vit
> >
> >
> > On 6.10.2013 17:43, Vit Rozkovec wrote:
> >
> >> How is it possible to unit test Wicket application that uses Atmosphere?
> >>
> >> When I run the application everything is ok, when testing, see excerpt
> of
> >> the stacktrace -
> >>
> >> org.apache.wicket.**WicketRuntimeException: There is no Atmosphere
> >> BroadcasterFactory configured. Did you include the atmosphere.xml
> >> configuration file and configured AtmosphereServlet?
> >>     at org.apache.wicket.atmosphere.**EventBus.**
> >> lookupDefaultBroadcaster(**EventBus.java:131)
> >>     at org.apache.wicket.atmosphere.**EventBus.<init>(EventBus.java:**
> >> 123)
> >>     at name.berries.projects.**doprava42.DopravaApplication.**
> >> init(DopravaApplication.java:**144)
> >> .....
> >>
> >>
> >> I'm creating the EventBus in the init() method as is done in the
> examples:
> >>         eventBus = new EventBus(this);
> >>
> eventBus.getParameters().**setTransport(**AtmosphereTransport.STREAMING)*
> >> *;
> >> eventBus.getParameters().**setLogLevel(**AtmosphereLogLevel.DEBUG);
> >>
> >>
> >> How can I use WicketTester along with properly setted up Atmosphere
> >> application (using AtmosphereServlet)?
> >>
> >>
> >> Thank you.
> >> Vit
> >>
> >>
> ------------------------------**------------------------------**---------
> >> To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.org<
> users-unsubscr...@wicket.apache.org>
> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >>
> >>
> >>
> >
> > ------------------------------**------------------------------**---------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.org<
> users-unsubscr...@wicket.apache.org>
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>

Reply via email to