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

valueOf on a wrong wrapper in a parametrized test #512

Closed
sofurihafe opened this issue Jul 13, 2022 · 0 comments · Fixed by #513
Closed

valueOf on a wrong wrapper in a parametrized test #512

sofurihafe opened this issue Jul 13, 2022 · 0 comments · Fixed by #513
Assignees
Labels
comp-codegen Issue is related to code generator ctg-bug Issue is a bug

Comments

@sofurihafe
Copy link
Member

Description

Generated parametrized test contains valueOf() on a wrong wrapper.

To Reproduce

Steps to reproduce the behavior:

  1. Use plugin to generate parametrized tests for CharacterWrapper.java from utbot-samples for method wrapperToPrimitive.

Expected behavior

Instead of Integer wrapper there should be Character wrapper.

Actual behavior

image

@sofurihafe sofurihafe added ctg-bug Issue is a bug comp-codegen Issue is related to code generator labels Jul 13, 2022
@sofurihafe sofurihafe moved this to Todo in UTBot Java Jul 13, 2022
@sofurihafe sofurihafe linked a pull request Jul 13, 2022 that will close this issue
@EgorkaKulikov EgorkaKulikov moved this from Todo to In Progress in UTBot Java Jul 13, 2022
EgorkaKulikov pushed a commit that referenced this issue Jul 13, 2022
Repository owner moved this from In Progress to Done in UTBot Java Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-codegen Issue is related to code generator ctg-bug Issue is a bug
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants