mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-06 05:10:22 +07:00
testdata for IDEA-60875
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
class A {
|
||||
|
||||
class B {
|
||||
|
||||
private void foo() {}
|
||||
}
|
||||
class C extends B {
|
||||
|
||||
class D {
|
||||
|
||||
void bar() {
|
||||
C.this.<error descr="'foo()' has private access in 'A.B'">foo</error>();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -362,6 +362,7 @@ public class LightAdvHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
public void testExplicitConstructorInvocation() { doTest(false, false); }
|
||||
public void testThisInInterface() { doTest(false, false); }
|
||||
public void testInnerClassConstantReference() { doTest(false, false); }
|
||||
public void testIDEA60875() { doTest(false, false); }
|
||||
|
||||
public void testStaticMethodCalls() {
|
||||
doTestFile(BASE_PATH + "/" + getTestName(false) + ".java").checkSymbolNames().test();
|
||||
|
||||
Reference in New Issue
Block a user