Re: [caconfig][mock] configuration resolver mock?

2017-01-04 Thread Nicolas Peltier
gin. stefan -Original Message- From: Nicolas Peltier [mailto:npelt...@adobe.com] Sent: Wednesday, January 4, 2017 2:31 PM To: users@sling.apache.org<mailto:users@sling.apache.org> Subject: Re: [caconfig][mock] configuration resolver mock? Thanks Stefan! one thing that is not clear to me: how

RE: [caconfig][mock] configuration resolver mock?

2017-01-04 Thread Stefan Seifert
gt;To: users@sling.apache.org >Subject: Re: [caconfig][mock] configuration resolver mock? > >Thanks Stefan! > >one thing that is not clear to me: how should i configure CA services in my >unit tests. >I know we have different views for >DefaultConfigurationResourceResolvingStra

Re: [caconfig][mock] configuration resolver mock?

2017-01-04 Thread Nicolas Peltier
on.html#unit-tests-with-context-aware-configuration stefan -Original Message- From: Stefan Seifert [mailto:sseif...@pro-vision.de] Sent: Thursday, December 1, 2016 9:30 PM To: users@sling.apache.org<mailto:users@sling.apache.org> Subject: RE: [caconfig][mock] configuration resol

RE: [caconfig][mock] configuration resolver mock?

2016-12-10 Thread Stefan Seifert
-configuration.html#unit-tests-with-context-aware-configuration stefan >-Original Message- >From: Stefan Seifert [mailto:sseif...@pro-vision.de] >Sent: Thursday, December 1, 2016 9:30 PM >To: users@sling.apache.org >Subject: RE: [caconfig][mock] configuration resolver mock? > &

RE: [caconfig][mock] configuration resolver mock?

2016-12-01 Thread Stefan Seifert
not yet - but it's definitly planned. i think we do not need a mock of caconfig, we can just use it directly. it only needs a couple of osgi services registered in the mock context, and we can make this a bit easier. until then have a look at [1] and [2] how to do it manually. stefan [1]