Thanks for the follow-up

I've created a Jira issue here :

https://jira.codehaus.org/browse/JBEHAVE-1049

2014-10-01 1:02 GMT+02:00 Mauro Talevi <mauro.tal...@aquilonia.org>:

>  Yes, there is a problem but not in the converter.   Rather, the
> StepCreator tries to use the parameter types instead of the generic
> parameter types.
>
> Could you please raise a Jira issue for this?
>
> Cheers
>
>
> On 30/09/2014 15:19, Matthieu Mestrez wrote:
>
> Since i'm behind a proxy at work i can only give you a zip file to work
> with by this way :
>
>  http://www.filedropper.com/meta-string-list
>
> 2014-09-30 15:52 GMT+02:00 Matthieu Mestrez <mestrez.matth...@gmail.com>:
>
>> Since i'm behind a proxy at work i can only give you a zip file to work
>> with by this way :
>>
>>  http://www.filedropper.com/meta-string-list
>>
>>  Or attached here, not sure it will work through a mailing list though :
>>
>>
>> 2014-09-30 15:00 GMT+02:00 Mauro Talevi <mauro.tal...@aquilonia.org>:
>>
>>> Could you provide a sample project that reproduces the desired behaviour?
>>>
>>>
>>> > On 30 Sep 2014, at 13:01, Matthieu Mestrez <mestrez.matth...@gmail.com>
>>> wrote:
>>> >
>>>  > Hello,
>>> >
>>> > I've been trying to make use of a list of strings in a Meta in this
>>> context :
>>> >
>>> > Scenario: 1. First Case
>>> > Meta :
>>> > @Dataset firstDataset.xml, secondDataset.xml
>>> > Given ...
>>> > When ..
>>> > Then ...
>>> >
>>> > And in the
>>> > @BeforeScenario
>>> > public void initializeDataset(@Named("Dataset") List<String>
>>> dbUnitFiles) {
>>> > ...
>>> > }
>>> >
>>> >
>>> > The scenario fails because
>>> "org.jbehave.core.steps.ParameterConverters$ParameterConvertionFailed: No
>>> parameter converter for interface java.util.List'
>>> >
>>> >
>>> > If i debug, he passes through the StringListConverter, but in the
>>> accept method the type is not an instance of ParameterizedType, because in
>>> the StepCreator class you use method.getParameterTypes() that doesn't
>>> retrieve de generics but the Class type (so java.util.List)
>>> >
>>> > I think that you should use for that Parameter class the Type and not
>>> the Class
>>> >
>>> >
>>> > Or maybe i've made a mistake somewhere
>>>
>>>   ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>     http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>
>>
>>   --
>> Mestrez Matthieu
>> avenue Jolé 11
>> 1160 Auderghem
>> GSM : 0494/77.26.87
>> e-mail : mestrez.matth...@gmail.com
>>
>
>
>
>  --
> Mestrez Matthieu
> avenue Jolé 11
> 1160 Auderghem
> GSM : 0494/77.26.87
> e-mail : mestrez.matth...@gmail.com
>
>
>


-- 
Mestrez Matthieu
avenue Jolé 11
1160 Auderghem
GSM : 0494/77.26.87
e-mail : mestrez.matth...@gmail.com

Reply via email to