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 — Minimize exceptions in test methods signature · Issue #344 · UnitTestBot/UTBotJava Closed Labels comp-codegenIssue is related to code generatorIssue is related to code generator DescriptionDescription The generated tests code looks as follows: public void testSetImage2() throws Throwable, Exception { ... } Throwing both Expected behavior The signature looks like
public void testSetImage2() throws Throwable { ... }
public void testSetImage2() throws Exception { ... } Context Possibly the reason of this problem is in //If [InvocationTargetException] is thrown manually in test, we // to add "throws Throwable" and other exceptions are not required so on. if (methodId == getTargetException) { collectedExceptions.clear() addException(Throwable::class.id) return } Activity
MetadataMetadataAssigneesLabelscomp-codegenIssue is related to code generatorIssue is related to code generator 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. |