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 — Unexpected tests for some inherited methods on enums · Issue #457 · UnitTestBot/UTBotJava Closed Labels comp-symbolic-engineIssue is related to the symbolic execution engineIssue is related to the symbolic execution enginectg-bugIssue is a bugIssue is a bug DescriptionDescription Generated tests for enum contain methods testing valueOf To Reproduce
Actual behavior Generated tests contain the following: @Test //@org.junit.jupiter.api.DisplayName("valueOf: arg_0 = blank string -> throw IllegalArgumentException") public void testValueOfThrowsIAEWithBlankString() { /* This test fails because executable under testing com.google.common.base.CaseFormat.valueOf produces Runtime exception java.lang.IllegalArgumentException: No enum constant com.google.common.base.CaseFormat. */ CaseFormat.valueOf(" "); } @Test //@org.junit.jupiter.api.DisplayName("valueOf: arg_0 has special characters -> throw IllegalArgumentException") public void testValueOfThrowsIAEWithBlankString1() { /* This test fails because executable under testing com.google.common.base.CaseFormat.valueOf produces Runtime exception java.lang.IllegalArgumentException: No enum constant com.google.common.base.CaseFormat. */ CaseFormat.valueOf("\n\t\r"); } Activity
MetadataMetadataAssigneesLabelscomp-symbolic-engineIssue is related to the symbolic execution engineIssue is related to the symbolic execution enginectg-bugIssue is a bugIssue is a bug TypeProjects
MilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402520 — 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. |