net.sf.gridarta.action
public class SelectedSquareActionsTest extends Object
AbstractMoveSquareAction
implementations.Modifier and Type | Field and Description |
---|---|
private static File |
MAP_FILE1
The first map file.
|
private static String |
MAP_NAME1
The first map name.
|
Constructor and Description |
---|
SelectedSquareActionsTest() |
Modifier and Type | Method and Description |
---|---|
void |
testDoMoveSquareBottomMulti()
Checks that
MoveSquareBottomAction does work for multi-square
game objects. |
void |
testDoMoveSquareBottomSingle()
Checks that
MoveSquareBottomAction does work for single-square
game objects. |
void |
testDoMoveSquareDownMulti()
Checks that
MoveSquareDownAction does work for multi-square game
objects. |
void |
testDoMoveSquareDownSingle()
Checks that
MoveSquareDownAction does work for single-square game
objects. |
void |
testDoMoveSquareEnvMulti3()
Checks that
MoveSquareEnvAction does work for multi-square game
objects. |
void |
testDoMoveSquareEnvMulti4()
Checks that
MoveSquareEnvAction does work for multi-square game
objects. |
void |
testDoMoveSquareEnvSingle1()
Checks that
MoveSquareEnvAction does work for single-square game
objects. |
void |
testDoMoveSquareEnvSingle2()
Checks that
MoveSquareEnvAction does work for single-square game
objects. |
void |
testDoMoveSquareEnvSingle3()
Checks that
MoveSquareEnvAction does work for single-square game
objects. |
void |
testDoMoveSquareInvIntoHead1()
Checks that
MoveSquareInvAction always inserts into the
head-part. |
void |
testDoMoveSquareInvMulti1()
Checks that
MoveSquareInvAction does work for multi-square game
objects. |
void |
testDoMoveSquareInvSingle1()
Checks that
MoveSquareInvAction does work for single-square game
objects. |
void |
testDoMoveSquareTopMulti()
Checks that
MoveSquareTopAction does work for multi-square game
objects. |
void |
testDoMoveSquareTopSingle()
Checks that
MoveSquareTopAction does work for single-square game
objects. |
void |
testDoMoveSquareUpMulti()
Checks that
MoveSquareUpAction does work for multi-square game
objects. |
void |
testDoMoveSquareUpSingle()
Checks that
MoveSquareUpAction does work for single-square game
objects. |
void |
testMoveEnvIntoSelectedMapSquare()
Checks that
MoveSquareEnvAction inserts into selected map
square. |
void |
testMoveTailPart()
Checks that tail parts cannot be moved.
|
private static final String MAP_NAME1
public SelectedSquareActionsTest()
public void testDoMoveSquareTopSingle() throws CannotInsertGameObjectException, DuplicateArchetypeException
MoveSquareTopAction
does work for single-square game
objects.CannotInsertGameObjectException
- if the test failsDuplicateArchetypeException
- if the test failspublic void testDoMoveSquareTopMulti() throws CannotInsertGameObjectException, DuplicateArchetypeException
MoveSquareTopAction
does work for multi-square game
objects.CannotInsertGameObjectException
- if the test failsDuplicateArchetypeException
- if the test failspublic void testDoMoveSquareUpSingle() throws CannotInsertGameObjectException, DuplicateArchetypeException
MoveSquareUpAction
does work for single-square game
objects.CannotInsertGameObjectException
- if the test failsDuplicateArchetypeException
- if the test failspublic void testDoMoveSquareUpMulti() throws CannotInsertGameObjectException, DuplicateArchetypeException
MoveSquareUpAction
does work for multi-square game
objects.CannotInsertGameObjectException
- if the test failsDuplicateArchetypeException
- if the test failspublic void testDoMoveSquareDownSingle() throws CannotInsertGameObjectException, DuplicateArchetypeException
MoveSquareDownAction
does work for single-square game
objects.CannotInsertGameObjectException
- if the test failsDuplicateArchetypeException
- if the test failspublic void testDoMoveSquareDownMulti() throws CannotInsertGameObjectException, DuplicateArchetypeException
MoveSquareDownAction
does work for multi-square game
objects.CannotInsertGameObjectException
- if the test failsDuplicateArchetypeException
- if the test failspublic void testDoMoveSquareBottomSingle() throws CannotInsertGameObjectException, DuplicateArchetypeException
MoveSquareBottomAction
does work for single-square
game objects.CannotInsertGameObjectException
- if the test failsDuplicateArchetypeException
- if the test failspublic void testDoMoveSquareBottomMulti() throws CannotInsertGameObjectException, DuplicateArchetypeException
MoveSquareBottomAction
does work for multi-square
game objects.CannotInsertGameObjectException
- if the test failsDuplicateArchetypeException
- if the test failspublic void testDoMoveSquareEnvSingle1() throws CannotInsertGameObjectException, DuplicateArchetypeException
MoveSquareEnvAction
does work for single-square game
objects.CannotInsertGameObjectException
- if the test failsDuplicateArchetypeException
- if the test failspublic void testDoMoveSquareEnvSingle2() throws CannotInsertGameObjectException, DuplicateArchetypeException
MoveSquareEnvAction
does work for single-square game
objects.CannotInsertGameObjectException
- if the test failsDuplicateArchetypeException
- if the test failspublic void testDoMoveSquareEnvSingle3() throws CannotInsertGameObjectException, DuplicateArchetypeException
MoveSquareEnvAction
does work for single-square game
objects.CannotInsertGameObjectException
- if the test failsDuplicateArchetypeException
- if the test failspublic void testDoMoveSquareEnvMulti3() throws CannotInsertGameObjectException, DuplicateArchetypeException
MoveSquareEnvAction
does work for multi-square game
objects.CannotInsertGameObjectException
- if the test failsDuplicateArchetypeException
- if the test failspublic void testDoMoveSquareEnvMulti4() throws CannotInsertGameObjectException, DuplicateArchetypeException
MoveSquareEnvAction
does work for multi-square game
objects.CannotInsertGameObjectException
- if the test failsDuplicateArchetypeException
- if the test failspublic void testDoMoveSquareInvSingle1() throws CannotInsertGameObjectException, DuplicateArchetypeException
MoveSquareInvAction
does work for single-square game
objects.CannotInsertGameObjectException
- if the test failsDuplicateArchetypeException
- if the test failspublic void testDoMoveSquareInvMulti1() throws CannotInsertGameObjectException, DuplicateArchetypeException
MoveSquareInvAction
does work for multi-square game
objects.CannotInsertGameObjectException
- if the test failsDuplicateArchetypeException
- if the test failspublic void testDoMoveSquareInvIntoHead1() throws CannotInsertGameObjectException, DuplicateArchetypeException
MoveSquareInvAction
always inserts into the
head-part.CannotInsertGameObjectException
- if the test failsDuplicateArchetypeException
- if the test failspublic void testMoveTailPart() throws CannotInsertGameObjectException, DuplicateArchetypeException
CannotInsertGameObjectException
- if the test failsDuplicateArchetypeException
- if the test failspublic void testMoveEnvIntoSelectedMapSquare() throws CannotInsertGameObjectException, DuplicateArchetypeException
MoveSquareEnvAction
inserts into selected map
square.CannotInsertGameObjectException
- if the test failsDuplicateArchetypeException
- if the test failsFeedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.