mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
use mockJdk18 by default in LightCodeInsightTestCase; remove dependency on swing/net classes in some tests
This commit is contained in:
+5
-3
@@ -1,6 +1,4 @@
|
||||
// "Create inner class 'MyTableModel'" "true"
|
||||
import javax.swing.*;
|
||||
import javax.swing.table.TableModel;
|
||||
|
||||
public class Test {
|
||||
public static void main() {
|
||||
@@ -9,4 +7,8 @@ public class Test {
|
||||
|
||||
private static class MyTableModel implements TableModel {
|
||||
}
|
||||
}
|
||||
}
|
||||
class JTable {
|
||||
JTable(TableModel t) {}
|
||||
}
|
||||
interface TableModel {}
|
||||
+5
-2
@@ -1,8 +1,11 @@
|
||||
// "Create inner class 'MyTableModel'" "true"
|
||||
import javax.swing.*;
|
||||
|
||||
public class Test {
|
||||
public static void main() {
|
||||
JTable table = new JTable(new MyTable<caret>Model());
|
||||
}
|
||||
}
|
||||
}
|
||||
class JTable {
|
||||
JTable(TableModel t) {}
|
||||
}
|
||||
interface TableModel {}
|
||||
Reference in New Issue
Block a user