- Notifications
You must be signed in to change notification settings - Fork 45
Closed
Labels
comp-uiImprovements of plugin UI appearence and functionalityImprovements of plugin UI appearence and functionalityctg-bugIssue is a bugIssue is a bug
Description
Description
Generate test action is enabled in editor for the file located in test source root
To Reproduce
- Create a class with methods under test in test source root
- An action is disabled in project tree, but enabled in editor
- Click OK in dialog window
Expected behavior
Action is disabled, no generation process starts
Actual behavior
Action is enabled, generation process fails with an exception
java.util.NoSuchElementException: Collection contains no element matching the predicate. at org.utbot.framework.util.SootUtilsKt.jimpleBody(SootUtils.kt:172) at org.utbot.engine.UtBotSymbolicEngine.<init>(UtBotSymbolicEngine.kt:151) at org.utbot.framework.plugin.api.UtBotTestCaseGenerator.createSymbolicEngine(UtBotTestCaseGenerator.kt:273) at org.utbot.framework.plugin.api.UtBotTestCaseGenerator.access$createSymbolicEngine(UtBotTestCaseGenerator.kt:51) at org.utbot.framework.plugin.api.UtBotTestCaseGenerator$generateTestCases$4$1$1.invokeSuspend(UtBotTestCaseGenerator.kt:161)Visual proofs (screenshots, logs, images)
Metadata
Metadata
Assignees
Labels
comp-uiImprovements of plugin UI appearence and functionalityImprovements of plugin UI appearence and functionalityctg-bugIssue is a bugIssue is a bug
Type
Projects
Status
Done
