Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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