Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing dictionary to keyword results in empty Map #50

Closed
Vance-Turner opened this issue Mar 20, 2020 · 1 comment
Closed

Passing dictionary to keyword results in empty Map #50

Vance-Turner opened this issue Mar 20, 2020 · 1 comment

Comments

@Vance-Turner
Copy link

Assume I have this method in my Java library (tested with and without the generics on the Map):

 public Map task_with_map(Map<String,Integer> data){
        return data;
    }

And I attempt to call it with:

*** Test Cases ***
Do Task With Map
    &{myMap} =  create dictionary  a=10  b=12
    Log  ${myMap}  INFO
    ${output}  RL1.task with map  ${myMap}
    should be equal  ${output}   ${myMap}

The case fails because the Java library is receiving an empty map. Is this related to robotframework/JavalibCore#33? (I have imported the remote library as RL1)

@Hi-Fi
Copy link
Collaborator

Hi-Fi commented Feb 18, 2021

I think this is directly related to linked issue, and it's just not working without annotationlibrary.

@Hi-Fi Hi-Fi closed this as completed Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants