Gridarta Editor
net.sf.gridarta.model.mapmanager.DefaultMapManagerTest Class Reference

Regression tests for DefaultMapManager. More...

+ Collaboration diagram for net.sf.gridarta.model.mapmanager.DefaultMapManagerTest:

Public Member Functions

void testRevertResizedMap () throws DuplicateArchetypeException, IOException
 A map that has been resized must still be revertable. More...
 

Detailed Description

Regression tests for DefaultMapManager.

Author
Andreas Kirschbaum

Definition at line 40 of file DefaultMapManagerTest.java.

Member Function Documentation

◆ testRevertResizedMap()

void net.sf.gridarta.model.mapmanager.DefaultMapManagerTest.testRevertResizedMap ( ) throws DuplicateArchetypeException, IOException

A map that has been resized must still be revertable.

Exceptions
DuplicateArchetypeExceptionif the test fails
IOExceptionif an I/O error occurs

Definition at line 48 of file DefaultMapManagerTest.java.

References net.sf.gridarta.model.mapmodel.MapModel< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.beginTransaction(), net.sf.gridarta.model.mapmodel.TestMapModelHelper.checkMapContents(), net.sf.gridarta.model.mapmodel.MapModel< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.endTransaction(), net.sf.gridarta.model.mapmodel.MapModel< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapArchObject(), net.sf.gridarta.model.io.PathManager.getMapFile(), net.sf.gridarta.model.mapcontrol.TestMapControlCreator.getMapManager(), net.sf.gridarta.model.mapcontrol.MapControl< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapModel(), net.sf.gridarta.model.mapcontrol.TestMapControlCreator.getPathManager(), net.sf.gridarta.model.mapmodel.TestMapModelHelper.insertFloor(), net.sf.gridarta.model.mapcontrol.TestMapControlCreator.newMapControl(), net.sf.gridarta.model.mapcontrol.TestMapControlCreator.newMapModelCreator(), net.sf.gridarta.model.mapmanager.MapManager< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.revert(), and net.sf.gridarta.model.mapcontrol.MapControl< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.save().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: