mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
MultipleJdksHighlightingTest: yet another test
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package p;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.concurrent.*;
|
||||
|
||||
abstract class B extends A {
|
||||
void foo() throws Exception {
|
||||
call().<error descr="Cannot resolve method 'stream()'">stream</error>();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package p;
|
||||
import java.util.*;
|
||||
import java.util.concurrent.*;
|
||||
|
||||
public abstract class A implements Callable<Collection<String>> {
|
||||
}
|
||||
@@ -110,6 +110,13 @@ public class MultipleJdksHighlightingTest extends UsefulTestCase {
|
||||
myFixture.checkHighlighting();
|
||||
}
|
||||
|
||||
@Bombed(month = Calendar.FEBRUARY, day = 20)
|
||||
public void testGenericComparator() throws Exception {
|
||||
final String name = getTestName(false);
|
||||
myFixture.configureByFiles("java7/p/" + name + ".java", "java8/p/" + name + ".java");
|
||||
myFixture.checkHighlighting();
|
||||
}
|
||||
|
||||
private void doTest() {
|
||||
final String name = getTestName(false);
|
||||
for (Module module : new Module[] {myJava7Module, myJava8Module}) {
|
||||
|
||||
Reference in New Issue
Block a user