|
@@ -44,7 +44,7 @@ public class WindowManagerTest {
|
44
|
44
|
public void testAddRoot() {
|
45
|
45
|
final WindowManager manager = new WindowManager();
|
46
|
46
|
final FrameListener tfm = mock(FrameListener.class);
|
47
|
|
- final Window parent = new DummyInputWindow(new TestWritableFrameContainer(512, DummyInputWindow.class), null);
|
|
47
|
+ final Window parent = new DummyInputWindow(new TestWritableFrameContainer(512, DummyInputWindow.class));
|
48
|
48
|
|
49
|
49
|
manager.addListener(tfm);
|
50
|
50
|
|
|
@@ -61,8 +61,8 @@ public class WindowManagerTest {
|
61
|
61
|
public void testAddChild() {
|
62
|
62
|
final WindowManager manager = new WindowManager();
|
63
|
63
|
final FrameListener tfm = mock(FrameListener.class);
|
64
|
|
- final Window parent = new DummyInputWindow(new TestWritableFrameContainer(512, DummyInputWindow.class), null);
|
65
|
|
- final Window child = new DummyInputWindow(new TestWritableFrameContainer(512, DummyInputWindow.class), null);
|
|
64
|
+ final Window parent = new DummyInputWindow(new TestWritableFrameContainer(512, DummyInputWindow.class));
|
|
65
|
+ final Window child = new DummyInputWindow(new TestWritableFrameContainer(512, DummyInputWindow.class));
|
66
|
66
|
manager.addWindow(parent.getContainer());
|
67
|
67
|
manager.addListener(tfm);
|
68
|
68
|
|
|
@@ -76,7 +76,7 @@ public class WindowManagerTest {
|
76
|
76
|
public void testRemoveRoot() {
|
77
|
77
|
final WindowManager manager = new WindowManager();
|
78
|
78
|
final FrameListener tfm = mock(FrameListener.class);
|
79
|
|
- final Window parent = new DummyInputWindow(new TestWritableFrameContainer(512, DummyInputWindow.class), null);
|
|
79
|
+ final Window parent = new DummyInputWindow(new TestWritableFrameContainer(512, DummyInputWindow.class));
|
80
|
80
|
manager.addWindow(parent.getContainer());
|
81
|
81
|
manager.addListener(tfm);
|
82
|
82
|
|
|
@@ -89,8 +89,8 @@ public class WindowManagerTest {
|
89
|
89
|
public void testRemoveChild() {
|
90
|
90
|
final WindowManager manager = new WindowManager();
|
91
|
91
|
final FrameListener tfm = mock(FrameListener.class);
|
92
|
|
- final Window parent = new DummyInputWindow(new TestWritableFrameContainer(512, DummyInputWindow.class), null);
|
93
|
|
- final Window child = new DummyInputWindow(new TestWritableFrameContainer(512, DummyInputWindow.class), null);
|
|
92
|
+ final Window parent = new DummyInputWindow(new TestWritableFrameContainer(512, DummyInputWindow.class));
|
|
93
|
+ final Window child = new DummyInputWindow(new TestWritableFrameContainer(512, DummyInputWindow.class));
|
94
|
94
|
manager.addWindow(parent.getContainer());
|
95
|
95
|
manager.addWindow(parent.getContainer(), child.getContainer());
|
96
|
96
|
manager.addListener(tfm);
|
|
@@ -107,8 +107,8 @@ public class WindowManagerTest {
|
107
|
107
|
public void testRemoveFrameManager() {
|
108
|
108
|
final WindowManager manager = new WindowManager();
|
109
|
109
|
final FrameListener tfm = mock(FrameListener.class);
|
110
|
|
- final Window parent = new DummyInputWindow(new TestWritableFrameContainer(512, DummyInputWindow.class), null);
|
111
|
|
- final Window child = new DummyInputWindow(new TestWritableFrameContainer(512, DummyInputWindow.class), null);
|
|
110
|
+ final Window parent = new DummyInputWindow(new TestWritableFrameContainer(512, DummyInputWindow.class));
|
|
111
|
+ final Window child = new DummyInputWindow(new TestWritableFrameContainer(512, DummyInputWindow.class));
|
112
|
112
|
manager.addWindow(parent.getContainer());
|
113
|
113
|
|
114
|
114
|
manager.addListener(tfm);
|