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,6 +1,3 @@
import javax.swing.*;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
final class Bug
extends JFrame {
@@ -14,7 +11,15 @@ final class Bug
private class MyWindowListener
extends WindowAdapter {
public void windowActivated(WindowEvent e) {
public void windowActivated(int e) {
}
}
}
class JFrame {
public void addWindowListener(WindowAdapter e) {}
static class WindowAdapter {
public void windowActivated(int e) {
}
}
}