HashMap with Enum as key - test generation fails #436
Labels
ctg-bug
Issue is a bug
spec-release-tailings
Failed to include in the current release, let's include it in the next one
Milestone
Description
Test generation fails for a method with HashMap using Enum as key.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Tests are supposed to be generated.
Actual behavior
"Failed to generate unit tests for class MapWithEnum" error popup is shown in IDEA.
It is shown immediately after test generation is started.
Map.remove() method is crucial for the issue - without it generation passes.
Visual proofs (screenshots, logs, images)
Environment
Windows 10 Pro
IntelliJ IDEA 2022.1.3
checked on JDK 8 and 11, Gradle, Maven projects - same error
Additional context
Adding some input parameters to the method helps - fuzzer is generating tests.
Map.remove() method is crucial for the issue - without it generation passes.
Map with Enum as values - test generation passes.
The text was updated successfully, but these errors were encountered: