mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
tests
This commit is contained in:
+12
-5
@@ -37,12 +37,19 @@ public class HeavySmartTypeCompletion15Test extends CompletionTestCase {
|
||||
"public class Bar<T> {" +
|
||||
" protected Bar(java.util.List<T> list) {}" +
|
||||
"}");
|
||||
doTest();
|
||||
}
|
||||
|
||||
configureByFile(BASE_PATH + "/ProtectedAnonymousConstructor.java");
|
||||
checkResultByFile(BASE_PATH + "/ProtectedAnonymousConstructor-out.java");
|
||||
|
||||
configureByFile(BASE_PATH + "/ProtectedAnonymousConstructor2.java");
|
||||
checkResultByFile(BASE_PATH + "/ProtectedAnonymousConstructor2-out.java");
|
||||
public void testProtectedAnonymousConstructor2() throws Throwable {
|
||||
createClass("package pkg;" +
|
||||
"public class Foo {" +
|
||||
" protected Foo(int a) {}" +
|
||||
"}");
|
||||
createClass("package pkg;" +
|
||||
"public class Bar<T> {" +
|
||||
" protected Bar(java.util.List<T> list) {}" +
|
||||
"}");
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testUnlockDocument() throws Throwable {
|
||||
|
||||
Reference in New Issue
Block a user