![]() |
Gridarta Editor
|
Regression tests for MapFile. More...
Public Member Functions | |
void | testGetFile1 () |
Checks that creating new instances with MapFile#getFile() works as expected. More... | |
void | testGetRelativeMapFile1 () throws DifferentMapBaseException |
Checks that creating new instances with MapFile#getRelativeMapFileTo(MapFile) works as expected. More... | |
void | testGetRelativeMapFile2 () throws DifferentMapBaseException |
Checks that creating new instances with MapFile#getRelativeMapFileTo(MapFile) works as expected. More... | |
void | testNew1 () |
Checks that creating new instances with MapFile#MapFile(File) works as expected. More... | |
void | testNew2 () |
Checks that creating new instances with String) works as expected. More... | |
void | testNew3 () |
Checks that creating new instances with MapPath) works as expected. More... | |
Regression tests for MapFile.
Definition at line 30 of file MapFileTest.java.
void net.sf.gridarta.model.mapmodel.MapFileTest.testGetFile1 | ( | ) |
Checks that creating new instances with MapFile#getFile() works as expected.
Definition at line 114 of file MapFileTest.java.
References net.sf.gridarta.model.mapmodel.MapFile.getFile(), and net.sf.gridarta.model.mapmodel.MapPathUtils.newMapPath().
void net.sf.gridarta.model.mapmodel.MapFileTest.testGetRelativeMapFile1 | ( | ) | throws DifferentMapBaseException |
Checks that creating new instances with MapFile#getRelativeMapFileTo(MapFile) works as expected.
DifferentMapBaseException | if the test fails |
Definition at line 128 of file MapFileTest.java.
References net.sf.gridarta.model.mapmodel.MapFile.getRelativeMapFileTo(), and net.sf.gridarta.model.mapmodel.MapPathUtils.newMapPath().
void net.sf.gridarta.model.mapmodel.MapFileTest.testGetRelativeMapFile2 | ( | ) | throws DifferentMapBaseException |
Checks that creating new instances with MapFile#getRelativeMapFileTo(MapFile) works as expected.
DifferentMapBaseException | if the test fails |
Definition at line 144 of file MapFileTest.java.
References net.sf.gridarta.model.mapmodel.MapFile.getRelativeMapFileTo(), and net.sf.gridarta.model.mapmodel.MapPathUtils.newMapPath().
void net.sf.gridarta.model.mapmodel.MapFileTest.testNew1 | ( | ) |
Checks that creating new instances with MapFile#MapFile(File) works as expected.
Definition at line 37 of file MapFileTest.java.
References net.sf.gridarta.model.mapmodel.MapFile.getMapPath(), net.sf.gridarta.model.mapmodel.MapFile.getMapsDir(), and net.sf.gridarta.model.mapmodel.AbsoluteMapPath.toString().
void net.sf.gridarta.model.mapmodel.MapFileTest.testNew2 | ( | ) |
Checks that creating new instances with String) works as expected.
Definition at line 48 of file MapFileTest.java.
References net.sf.gridarta.model.mapmodel.MapFile.getMapPath(), net.sf.gridarta.model.mapmodel.MapFile.getMapsDir(), and net.sf.gridarta.model.mapmodel.AbsoluteMapPath.toString().
void net.sf.gridarta.model.mapmodel.MapFileTest.testNew3 | ( | ) |
Checks that creating new instances with MapPath) works as expected.
Definition at line 83 of file MapFileTest.java.
References net.sf.gridarta.model.mapmodel.MapFile.getMapPath(), net.sf.gridarta.model.mapmodel.MapFile.getMapsDir(), net.sf.gridarta.model.mapmodel.MapPathUtils.newMapPath(), and net.sf.gridarta.model.mapmodel.AbsoluteMapPath.toString().