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.
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