1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
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 // ---------------------------------------------------------------------------
12 import cc
.squirreljme
.jvm
.mle
.brackets
.UIDisplayBracket
;
13 import cc
.squirreljme
.jvm
.mle
.brackets
.UIFormBracket
;
14 import cc
.squirreljme
.jvm
.mle
.brackets
.UIItemBracket
;
15 import cc
.squirreljme
.jvm
.mle
.constants
.UIItemType
;
16 import cc
.squirreljme
.runtime
.lcdui
.mle
.UIBackend
;
19 * Tests the creation of items.
23 public class TestCreateItems
31 protected void test(UIBackend __backend
, UIDisplayBracket __display
,
34 for (int i
= 0; i
< UIItemType
.NUM_TYPES
; i
++)
37 UIItemBracket item
= __backend
.itemNew(i
);
39 // Then quickly delete it
40 __backend
.itemDelete(item
);
43 this.secondary("did-" + i
, true);