Yikes !! Fixing this immediately. Sorry. Though I ran the tests before committing.
Regards Felix Am Freitag, den 30.05.2008, 10:17 +0200 schrieb Carsten Ziegeler: > Hi, > > the junit tests in the servlets resolver module fail, because the > provider factory requires the SERVICE.ID in the properties of a service > refereence (ServiceResourceProviderFactory line 225) > > The junit tests use the mock service reference which by default does not > have this property. As from the osgi point of view, each and every > service reference must have this unique id, what do you think about > adding it to the code in the constructor of the service reference? > We can create a random unique number there. If a unit test requires a > special one, it can overwrite it by calling the setProperty method on > the mock object. > > WDYT? > Carsten
