GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Concrete execution fails for a static method using a static field · Issue #711 · UnitTestBot/UTBotJava Closed Labels comp-fuzzingIssue is related to the fuzzingIssue is related to the fuzzingctg-bugIssue is a bugIssue is a bug Milestone DescriptionDescription Static method without input parameters is using a static field inside. To Reproduce Steps to reproduce the behavior:
public class CheckStatic { public final static Integer keyValue = 420; public static int check() { if (keyValue == 0) { return keyValue; } else { return -keyValue; } } } Expected behavior Tests are supposed to be generated without errors. Actual behavior An error test is generated with information about an error in the concrete executor. Visual proofs (screenshots, logs, images) Error report: public void testCheck_errors() { // Couldn't generate some tests. List of errors: // // 4 occurrences of: // Default concrete execution failed } Child process error: Environment Windows 10 Pro Additional context The example was taken from utbot-sample/src/main/java/org/utbot/examples/mock/CommonMocksExample.java - just added "static" to the clinitMockExample() definition. Activity
MetadataMetadataAssigneesLabelscomp-fuzzingIssue is related to the fuzzingIssue is related to the fuzzingctg-bugIssue is a bugIssue is a bug TypeProjects
MilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |