mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
testdata for IDEA-154278
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
class GoodCodeRed {
|
||||
public void foo(CategoryKey categoryKey) {
|
||||
Category current = getCategory(categoryKey);
|
||||
}
|
||||
|
||||
public <T extends Category<T>> T getCategory(CategoryKey<T> key) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
interface Category<T extends Category> {
|
||||
}
|
||||
|
||||
class CategoryKey<K extends Category> {
|
||||
}
|
||||
@@ -425,6 +425,10 @@ public class GraphInferenceHighlightingTest extends LightDaemonAnalyzerTestCase
|
||||
doTest(true);
|
||||
}
|
||||
|
||||
public void testIDEA154278() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testVariableNamesOfNestedCalls() throws Exception {
|
||||
IdeaTestUtil.setTestVersion(JavaSdkVersion.JDK_1_8, getModule(), getTestRootDisposable());
|
||||
String filePath = BASE_PATH + "/" + getTestName(false) + ".java";
|
||||
|
||||
Reference in New Issue
Block a user