/**
* (c) Urs Zeidler
*/
package de.urszeidler.eclipse.shr5.gameplay.tests;
import junit.framework.TestCase;
import de.urszeidler.eclipse.shr5.gameplay.Command;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Command</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are tested:
* <ul>
* <li>{@link de.urszeidler.eclipse.shr5.gameplay.Command#getCmdCallback() <em>Cmd Callback</em>}</li>
* <li>{@link de.urszeidler.eclipse.shr5.gameplay.Command#isCanExecute() <em>Can Execute</em>}</li>
* </ul>
* </p>
* <p>
* The following operations are tested:
* <ul>
* <li>{@link de.urszeidler.eclipse.shr5.gameplay.Command#redo() <em>Redo</em>}</li>
* <li>{@link de.urszeidler.eclipse.shr5.gameplay.Command#undo() <em>Undo</em>}</li>
* </ul>
* </p>
* @generated
*/
public abstract class CommandTest extends TestCase {
/**
* The fixture for this Command test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected Command fixture = null;
/**
* Constructs a new Command test case with the given name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public CommandTest(String name) {
super(name);
}
/**
* Sets the fixture for this Command test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void setFixture(Command fixture) {
this.fixture = fixture;
}
/**
* Returns the fixture for this Command test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected Command getFixture() {
return fixture;
}
/**
* Tests the '{@link de.urszeidler.eclipse.shr5.gameplay.Command#getCmdCallback() <em>Cmd Callback</em>}' feature getter.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see de.urszeidler.eclipse.shr5.gameplay.Command#getCmdCallback()
* @generated
*/
public void testGetCmdCallback() {
// TODO: implement this feature getter test method
// Ensure that you remove @generated or mark it @generated NOT
fail();
}
/**
* Tests the '{@link de.urszeidler.eclipse.shr5.gameplay.Command#setCmdCallback(de.urszeidler.eclipse.shr5.gameplay.util.CommandCallback) <em>Cmd Callback</em>}' feature setter.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see de.urszeidler.eclipse.shr5.gameplay.Command#setCmdCallback(de.urszeidler.eclipse.shr5.gameplay.util.CommandCallback)
* @generated
*/
public void testSetCmdCallback() {
// TODO: implement this feature setter test method
// Ensure that you remove @generated or mark it @generated NOT
fail();
}
/**
* Tests the '{@link de.urszeidler.eclipse.shr5.gameplay.Command#unsetCmdCallback() <em>unsetCmdCallback()</em>}' method.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see de.urszeidler.eclipse.shr5.gameplay.Command#unsetCmdCallback()
* @generated
*/
public void testUnsetCmdCallback() {
// TODO: implement this test method
// Ensure that you remove @generated or mark it @generated NOT
fail();
}
/**
* Tests the '{@link de.urszeidler.eclipse.shr5.gameplay.Command#isSetCmdCallback() <em>isSetCmdCallback()</em>}' method.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see de.urszeidler.eclipse.shr5.gameplay.Command#isSetCmdCallback()
* @generated
*/
public void testIsSetCmdCallback() {
// TODO: implement this test method
// Ensure that you remove @generated or mark it @generated NOT
fail();
}
/**
* Tests the '{@link de.urszeidler.eclipse.shr5.gameplay.Command#isCanExecute() <em>Can Execute</em>}' feature getter.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see de.urszeidler.eclipse.shr5.gameplay.Command#isCanExecute()
* @generated
*/
public void testIsCanExecute() {
// TODO: implement this feature getter test method
// Ensure that you remove @generated or mark it @generated NOT
fail();
}
/**
* Tests the '{@link de.urszeidler.eclipse.shr5.gameplay.Command#redo() <em>Redo</em>}' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see de.urszeidler.eclipse.shr5.gameplay.Command#redo()
* @generated
*/
public void testRedo() {
// TODO: implement this operation test method
// Ensure that you remove @generated or mark it @generated NOT
fail();
}
/**
* Tests the '{@link de.urszeidler.eclipse.shr5.gameplay.Command#undo() <em>Undo</em>}' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see de.urszeidler.eclipse.shr5.gameplay.Command#undo()
* @generated
*/
public void testUndo() {
// TODO: implement this operation test method
// Ensure that you remove @generated or mark it @generated NOT
fail();
}
} //CommandTest