![]() |
Gridarta Editor
|
Regression tests for MapMenuUtils. More...
Public Member Functions | |
void | testRemoveMap1 () |
Checks that MapMenuUtils#removeMap(MutableTreeNode, MapFile) works as expected. More... | |
Static Public Member Functions | |
static void | setUp () |
Initializes the test case. More... | |
Static Private Member Functions | |
static void | checkFile (@NotNull final TreeNode dir, @NotNull final String... files) |
Checks that a MapMenuEntryDir instance contains the given child nodes. More... | |
Regression tests for MapMenuUtils.
Definition at line 37 of file MapMenuUtilsTest.java.
|
staticprivate |
Checks that a MapMenuEntryDir instance contains the given child nodes.
dir | the map menu entry dir instance |
files | the files of the child nodes |
Definition at line 68 of file MapMenuUtilsTest.java.
References files, and net.sf.gridarta.gui.mapmenu.MapMenuEntryMap.getMapFile().
Referenced by net.sf.gridarta.gui.mapmenu.MapMenuUtilsTest.testRemoveMap1().
|
static |
Initializes the test case.
Definition at line 87 of file MapMenuUtilsTest.java.
References net.sf.gridarta.preferences.FilePreferencesFactory.initialize().
void net.sf.gridarta.gui.mapmenu.MapMenuUtilsTest.testRemoveMap1 | ( | ) |
Checks that MapMenuUtils#removeMap(MutableTreeNode, MapFile) works as expected.
Definition at line 44 of file MapMenuUtilsTest.java.
References net.sf.gridarta.gui.mapmenu.MapMenuUtilsTest.checkFile(), and net.sf.gridarta.gui.mapmenu.MapMenuUtils.removeMap().