Enum class is addressed incorrectly #1210
Labels
comp-codegen
Issue is related to code generator
ctg-bug
Issue is a bug
priority-top-focus
Top priority chosen by dev team
status-verified
Bug fix is verified
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Description
When Enum class is created by className, it addresses not class but the Enum constant.
To Reproduce
with No mocks, No parameterization.
Expected behavior
Assertions in generated tests are supposed to pass.
Actual behavior
There are assertion errors in tests - for every class in the package.
Please see the Class creation:
State$3
is addressing not the State enum, but the third constant in it.Visual proofs (screenshots, logs, images)
same for Symbolic execution:
Additional context
Same issue with Fuzzing and / or Symbolic execution.
These tests are also failing when running in debug IDEA with runIde.
The text was updated successfully, but these errors were encountered: