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

Skip to content

Conversation

sofurihafe
Copy link
Member

Description

Type of a expectedResult is ClassWithStaticAndInnerClasses.PrivateStaticClassWithPrivateField which is private in a superclass. Now we use Object type for private classes in parametrized test generation.

Fixes # (528)

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 utbot-samples pipeline with parametrized tests generation.

Manual Scenario

Generate parametrized test for VoidStaticMethodsTest from utbot-samples. Verify that there is Object instead of ClassWithStaticAndInnerClasses.PrivateInnerClassWithPrivateField type.

@sofurihafe sofurihafe linked an issue Jul 15, 2022 that may be closed by this pull request
@EgorkaKulikov EgorkaKulikov self-requested a review July 15, 2022 06:42
@EgorkaKulikov EgorkaKulikov marked this pull request as draft July 15, 2022 08:22
@EgorkaKulikov EgorkaKulikov marked this pull request as ready for review July 15, 2022 10:26
@EgorkaKulikov EgorkaKulikov marked this pull request as draft July 15, 2022 11:43
@sofurihafe sofurihafe force-pushed the andrey-t/private-class-access-problem branch from e81dcc2 to 77c4d13 Compare July 15, 2022 11:48
@sofurihafe sofurihafe requested a review from Damtev July 15, 2022 11:56
@EgorkaKulikov EgorkaKulikov marked this pull request as ready for review July 15, 2022 13:35
@EgorkaKulikov EgorkaKulikov enabled auto-merge (squash) July 15, 2022 13:36
@EgorkaKulikov EgorkaKulikov merged commit d5d7ea5 into main Jul 15, 2022
@EgorkaKulikov EgorkaKulikov deleted the andrey-t/private-class-access-problem branch July 15, 2022 13: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.

Generated code tries to use private class as a type
3 participants