We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1a283a commit 03c7e55Copy full SHA for 03c7e55
gdsc-core-ij/src/test/java/uk/ac/sussex/gdsc/core/ij/plugin/WindowOrganiserTest.java
@@ -86,7 +86,8 @@ void testAdd() {
86
@DisabledIfHeadless
87
void testAdd2() {
88
final WindowOrganiser wo = new WindowOrganiser();
89
- final PlotWindow pw = new Plot("dummy", "x", "y").show();
+ final Plot plot = new Plot("dummy", "x", "y");
90
+ final PlotWindow pw = new PlotWindow(plot.getImagePlus(), plot);
91
wo.setIgnore(true);
92
wo.add(pw);
93
Assertions.assertTrue(wo.isEmpty());
0 commit comments