Revert StaticDisplayState; For hosted only allow debug to be used.
[SquirrelJME.git] / modules / midp-lcdui / src / test / java / TestDisplayNoForm.java
blob81902759a7e51ec973e218e606066bea0059743f
1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // Multi-Phasic Applications: SquirrelJME
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the GNU General Public License v3+, or later.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 import cc.squirreljme.jvm.mle.brackets.UIDisplayBracket;
11 import cc.squirreljme.runtime.cldc.debug.Debugging;
12 import cc.squirreljme.runtime.lcdui.mle.UIBackend;
13 import mleui.BaseBackend;
15 /**
16 * Tests that a display is shown without a form.
18 * @since 2023/01/14
20 public class TestDisplayNoForm
21 extends BaseBackend
23 /**
24 * {@inheritDoc}
25 * @since 2023/01/14
27 @Override
28 public void test(UIBackend __backend, UIDisplayBracket __display)
29 throws Throwable
31 // Show it
32 __backend.displayShow(__display, true);
34 // Hide it
35 __backend.displayShow(__display, false);