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

Wrong wrapper for valueOf in parametrized tests #512 #513

Merged
merged 1 commit into from
Jul 13, 2022

Conversation

sofurihafe
Copy link
Member

Description

Change Integer wrapper to Character wrapper when it's meant to be in parametrized test generation.

Fixes # (512)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Automated Testing

Run utbot-samples pipeline with parametrized tests generation.

Manual Scenario

Generate parametrized test for CharacterWrapper.java from utbot-samples for method wrapperToPrimitive. Verify that there is Character.valueOf(...) instead of Integer.valueOf(...).

@sofurihafe sofurihafe linked an issue Jul 13, 2022 that may be closed by this pull request
@EgorkaKulikov EgorkaKulikov self-requested a review July 13, 2022 08:49
@EgorkaKulikov EgorkaKulikov enabled auto-merge (squash) July 13, 2022 09:05
@EgorkaKulikov EgorkaKulikov merged commit 9bdaf1c into main Jul 13, 2022
@EgorkaKulikov EgorkaKulikov deleted the andrey-t/valueof-wrapper-mismatch branch July 13, 2022 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

valueOf on a wrong wrapper in a parametrized test
2 participants