Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 1583 by user.stefanz: **kwargs support for Static Java Test Libraries
http://code.google.com/p/robotframework/issues/detail?id=1583

Currently Java Keywords only support explicit args and *varargs.
*varargs can be defined by using an Array as last argument.
According to issue 1500 I also implemented **kwargs support
based on java.util.Map as last argument,
which will get the additional key=value arguments.
Now you can define either *varargs or **kwargs or both:

- keyword(Object arg, ..., Object[] varargs)

- keyword(Object arg, ..., Map kwargs)

- keyword(Object arg, ..., Object[] varargs, Map kwargs)

You can find the code changes at my robotframework fork's javakwargs bookmark:

https://bitbucket.org/userzimmermann/robotframework/commits/branch/javakwargs

The complete diff view:

https://bitbucket.org/userzimmermann/robotframework/compare/javakwargs..b912f15#diff


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to