We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description
Generated code tries to use private class as a type for expectedResult argument.
expectedResult
To Reproduce
VoidStaticMethodsTest
utbot-samples
Actual behavior
ClassWithStaticAndInnerClasses.PrivateInnerClassWithPrivateField type for expectedResult in arguments cannot be accessed because it's private.
ClassWithStaticAndInnerClasses.PrivateInnerClassWithPrivateField
@ParameterizedTest @MethodSource("provideDataForUsePrivateInnerClassWithPrivateField") public void parameterizedTestsForUsePrivateInnerClassWithPrivateField( ClassWithStaticAndInnerClasses classWithStaticAndInnerClasses, int int1, ClassWithStaticAndInnerClasses.PrivateInnerClassWithPrivateField expectedResult, Class<Throwable> expectedError ) throws IllegalAccessException, NoSuchFieldException { <...> }
The text was updated successfully, but these errors were encountered:
Change expectedResult variable type to Object if required #528 (#529)
d5d7ea5
EgorkaKulikov
sofurihafe
Successfully merging a pull request may close this issue.
Description
Generated code tries to use private class as a type for
expectedResult
argument.To Reproduce
VoidStaticMethodsTest
fromutbot-samples
.Actual behavior
ClassWithStaticAndInnerClasses.PrivateInnerClassWithPrivateField
type for expectedResult in arguments cannot be accessed because it's private.The text was updated successfully, but these errors were encountered: