| org.netbeans.modules.java.hints.infrastructure.HintsTestBase org.netbeans.modules.java.hints.errors.UncaughtExceptionTest
UncaughtExceptionTest | public class UncaughtExceptionTest extends HintsTestBase (Code) | | Tests for Uncaught Exceptions (add throws, aurround with try-catch)
author: Max Sauer |
UncaughtExceptionTest | public UncaughtExceptionTest(String name)(Code) | | |
createCaches | protected boolean createCaches()(Code) | | |
testBug113380a | public void testBug113380a() throws Exception(Code) | | Offer proper exception types for generic parametrized methods
|
testBug113448 | public void testBug113448() throws Exception(Code) | | Surround with try catch as this() parameter
|
testBug113448b | public void testBug113448b() throws Exception(Code) | | Surround with try catch as this() parameter, deeper in path
|
testBug113448c | public void testBug113448c() throws Exception(Code) | | Surround with try catch as this() parameter
exception-throwing-method call
|
testBug113812 | public void testBug113812() throws Exception(Code) | | Field access inside ctor
|
testBug95535 | public void testBug95535() throws Exception(Code) | | Don't offer surround with t-c for fields
|
testDuplicateHintEntries | public void testDuplicateHintEntries() throws Exception(Code) | | Duplicate entries should not be offered
(ie, two same exception thrown on same line, like:
new Filereader("").read();
|
testInsideCtor | public void testInsideCtor() throws Exception(Code) | | Surround with try catch inside ctor
|
testThisParamInsideAnonymous | public void testThisParamInsideAnonymous() throws Exception(Code) | | Surround with try catch as this() parameter,
but inside anonymous class. Should offer in this case.
|
Methods inherited from org.netbeans.modules.java.hints.infrastructure.HintsTestBase | protected boolean createCaches()(Code)(Java Doc) protected void doSetUp(String resource) throws Exception(Code)(Java Doc) protected String layer()(Code)(Java Doc) public static FileObject makeScratchDir(NbTestCase test) throws IOException(Code)(Java Doc) protected void performHintsPresentCheck(String className, int line, int column, boolean present) throws Exception(Code)(Java Doc) protected void performTest(String className, String performHint, int line, int column) throws Exception(Code)(Java Doc) protected void performTest(String className, String modifiedClassName, String performHint, int line, int column, boolean checkHintList) throws Exception(Code)(Java Doc) protected void performTestDoNotPerform(String className, int line, int column) throws Exception(Code)(Java Doc) protected void prepareTest(String capitalizedName) throws Exception(Code)(Java Doc) protected void setUp() throws Exception(Code)(Java Doc) protected String testDataExtension()(Code)(Java Doc)
|
|
|