Skip to content

Added the ClassId for ParametrizedType #766

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

Merged
merged 2 commits into from
Aug 23, 2022
Merged

Added the ClassId for ParametrizedType #766

merged 2 commits into from
Aug 23, 2022

Conversation

EgorkaKulikov
Copy link
Collaborator

@EgorkaKulikov EgorkaKulikov commented Aug 23, 2022

Description

After upgrading the versions of JDK, Kotlin and Gradle we have a regression in parametrized tests generation

In method createParametersDeclaration we need to define the types of test method parameters.
If parameter type is ParametrizedType, we need to be able to convert in to ClassId. Such logic is added.

Type of Change

Please delete options that are not relevant.

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

How Has This Been Tested?

Automated Testing

Run org.utbot.examples.algorithms.CorrectBracketSequencesTest or some other tests containing generics in PARAMETRIZED mode.

@EgorkaKulikov EgorkaKulikov requested a review from dtim August 23, 2022 12:32
@EgorkaKulikov EgorkaKulikov enabled auto-merge (squash) August 23, 2022 12:45
Copy link
Collaborator

@dtim dtim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@EgorkaKulikov EgorkaKulikov merged commit d9fe2ad into main Aug 23, 2022
@EgorkaKulikov EgorkaKulikov deleted the egor/rawtype_id branch August 23, 2022 15:52
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.

2 participants