This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 250630 - Missing @throws in generated Javadoc
Summary: Missing @throws in generated Javadoc
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-23 12:49 UTC by cezariusz
Modified: 2015-02-23 12:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cezariusz 2015-02-23 12:49:51 UTC
Tools -> Create/Update Tests

Generated code:

    /**
     * Test of createConnection method, of class DBConnection.
     */
    @Test
    public void testCreateConnection_0args() throws Exception {
        System.out.println("createConnection");
        Connection expResult = null;
        Connection result = DBConnection.createConnection();
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
        fail("The test case is a prototype.");
    }

Editor shows warning: Missing @throws tag for java.lang.Exception