mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
testdata for IDEA-153632
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
import java.util.Comparator;
|
||||
import java.util.PriorityQueue;
|
||||
import java.util.Queue;
|
||||
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
Queue<Node> q = new PriorityQueue<>(Comparator.comparing(node -> node.n));
|
||||
}
|
||||
}
|
||||
|
||||
class Node {
|
||||
final int n;
|
||||
|
||||
Node(int n) {
|
||||
this.n = n;
|
||||
}
|
||||
}
|
||||
+4
@@ -414,6 +414,10 @@ public class GraphInferenceHighlightingTest extends LightDaemonAnalyzerTestCase
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testIDEA153632() 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