- Notifications
You must be signed in to change notification settings - Fork 45
Closed
Labels
ctg-bugIssue is a bugIssue is a bugpriority-top-focusTop priority chosen by dev teamTop priority chosen by dev team
Description
Description
Test methods produced by fuzzer
can't be compiled.
To Reproduce
Steps to reproduce the behavior:
- Open UtBotJava project
- Run the contest estimator (
ContestEstimator.kt
) from IDEA on with the following config
val timeLimit = 20 methodFilter = null projectFilter = listOf("guava-26.0") tools = listOf(Tool.UtBot)
Expected behavior
Tests are supposed to be generated and successfully compiled.
Actual behavior
Tests are generated, but are not compilable. If we disable fuzzer, the number of uncompilable methods decreases significantly
Visual proofs (screenshots, logs, images)
@Test public void test<init>ByFuzzer0() { /* This test fails because executable under testing com.google.common.util.concurrent.AtomicDoubleArray.<init> produces Runtime exception java.lang.NegativeArraySizeException */ new AtomicDoubleArray(Integer.MIN_VALUE); } ///endregion
I suppose the fuzzer is getting the wrong method for analyzing.
Environment
Metadata
Metadata
Assignees
Labels
ctg-bugIssue is a bugIssue is a bugpriority-top-focusTop priority chosen by dev teamTop priority chosen by dev team
Type
Projects
Status
Done