|
Gridarta Editor
|
Regression tests for MapMenuUtils. More...
Collaboration diagram for net.sf.gridarta.gui.mapmenu.MapMenuUtilsTest: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 TypeMayBeWeakened // IDEA bug |
Definition at line 69 of file MapMenuUtilsTest.java.
References net.sf.gridarta.gui.mapmenu.MapMenuEntryMap.getMapFile().
Referenced by net.sf.gridarta.gui.mapmenu.MapMenuUtilsTest.testRemoveMap1().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Initializes the test case.
Definition at line 88 of file MapMenuUtilsTest.java.
References net.sf.gridarta.preferences.FilePreferencesFactory.initialize().
Here is the call graph for this function:| 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().
Here is the call graph for this function: