On Friday 23 February 2018 14:09:30 'Christoph Läubrich' via OPS4J wrote:
> What should PaxExam Inject if the component does not publish a service?
> What should it check for? All this can better be handled bei a JUnit
> rule as described before.
Please read my previous answers.
> Am 23.02.2018 um 13:55 schrieb Oliver Lietz:
> > On Wednesday 21 February 2018 13:47:46 'Christoph Läubrich' via OPS4J
> >> Well it might depend on the concrete case, but there is nothing PaxExam
> >> can really do, of course if you have such a very special case you can
> >> always fetch the ScrService and "wait"/check state for the component,
> >> but in general such things are bad in OSGi and you should better use
> >> some kind of Whitebord-pattern or notifications.
> > Which things are bad in OSGi? Better use whiteboard or notifications for
> > what?
> > We have components which are not published as services and in some tests
> > it is useful to "wait" for them. The boilerplate code for that could be
> > provided by Pax Exam (similar to @Inject for services).
> > Neil gave a good explanation for components on SO:
> > https://stackoverflow.com/a/8887216
OPS4J - http://www.ops4j.org - firstname.lastname@example.org
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.