Commit 682fcdef authored by Stephanie Gawroriski's avatar Stephanie Gawroriski
Browse files

If the fullscreen test fails, just ignore it.

parent d392b364
Pipeline #39186 passed with stages
in 2 minutes and 21 seconds
...@@ -13,6 +13,7 @@ import cc.squirreljme.runtime.cldc.debug.Debugging; ...@@ -13,6 +13,7 @@ import cc.squirreljme.runtime.cldc.debug.Debugging;
import javax.microedition.lcdui.Canvas; import javax.microedition.lcdui.Canvas;
import javax.microedition.lcdui.Command; import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.Display; import javax.microedition.lcdui.Display;
import net.multiphasicapps.tac.UntestableException;
/** /**
* Tests that a canvas is full-screen via * Tests that a canvas is full-screen via
...@@ -34,6 +35,8 @@ public class TestCanvasFullScreen ...@@ -34,6 +35,8 @@ public class TestCanvasFullScreen
for (int i = 0; i < 3; i++) for (int i = 0; i < 3; i++)
if (this.runSequence(__display, __platform)) if (this.runSequence(__display, __platform))
return; return;
throw new UntestableException("Ignoring full-screen test.");
} }
public boolean runSequence(Display __display, CanvasPlatform __platform) public boolean runSequence(Display __display, CanvasPlatform __platform)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment