use mockJdk18 by default in LightCodeInsightTestCase; remove dependency on swing/net classes in some tests

This commit is contained in:
Alexey Kudravtsev
2016-07-20 15:47:18 +03:00
parent 6b15812a4e
commit db48c64473
68 changed files with 359 additions and 210 deletions
@@ -1,3 +1,5 @@
import org.jetbrains.annotations.NotNull;
import java.util.function.Supplier;
class Test {
@@ -6,6 +8,7 @@ class Test {
b(newMethod());
}
@NotNull
private Supplier newMethod() {
return (s) -> {
System.out.println(s);