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
--
Carsten Ziegeler
[EMAIL PROTECTED]

Reply via email to