net.sf.gridarta.gui.mapmenu
public class MapMenuTest extends Object
MapMenu
.Constructor and Description |
---|
MapMenuTest() |
Modifier and Type | Method and Description |
---|---|
private static void |
checkDir(MutableTreeNode dir,
String... paths)
Checks that a
MapMenuEntryDir instance contains the given child
nodes. |
static void |
setUp()
Initializes the test case.
|
void |
testSubDir1()
Checks that
MapMenu.getOrCreateDirectory(MutableTreeNode, String)
works as expected. |
void |
testSubDir2()
Checks that
MapMenu.getOrCreateDirectory(MutableTreeNode, String)
rejects invalid path names. |
public MapMenuTest()
public void testSubDir1()
MapMenu.getOrCreateDirectory(MutableTreeNode, String)
works as expected.public void testSubDir2()
MapMenu.getOrCreateDirectory(MutableTreeNode, String)
rejects invalid path names.private static void checkDir(@NotNull MutableTreeNode dir, @NotNull String... paths)
MapMenuEntryDir
instance contains the given child
nodes.dir
- the map menu entry dir instancepaths
- the paths of the child nodespublic static void setUp()
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.