lambda: check unhandled exceptions for method references; disable surround with try/catch accordingly (IDEA-98966)

This commit is contained in:
anna
2013-01-14 16:49:05 +01:00
parent 7d80bca02f
commit 1cc7b6ee11
11 changed files with 184 additions and 4 deletions

View File

@@ -150,6 +150,10 @@ public class LambdaHighlightingTest extends LightDaemonAnalyzerTestCase {
doTest();
}
public void testUnhandledExceptions() throws Exception {
doTest();
}
public void testReturnValue() throws Exception {
doTest();
}

View File

@@ -157,6 +157,10 @@ public class MethodRefHighlightingTest extends LightDaemonAnalyzerTestCase {
doTest(false);
}
public void testUnhandledExceptions() throws Exception {
doTest();
}
private void doTest() throws Exception {
doTest(false);
}