/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.openscada.vi.model.VisualInterface.tests;
import junit.framework.TestCase;
import junit.textui.TestRunner;
import org.openscada.vi.model.VisualInterface.Position;
import org.openscada.vi.model.VisualInterface.VisualInterfaceFactory;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Position</b></em>'.
* <!-- end-user-doc -->
* @generated
*/
public class PositionTest extends TestCase
{
/**
* The fixture for this Position test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected Position fixture = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static void main(String[] args)
{
TestRunner.run(PositionTest.class);
}
/**
* Constructs a new Position test case with the given name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public PositionTest(String name)
{
super(name);
}
/**
* Sets the fixture for this Position test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void setFixture(Position fixture)
{
this.fixture = fixture;
}
/**
* Returns the fixture for this Position test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected Position getFixture()
{
return fixture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#setUp()
* @generated
*/
@Override
protected void setUp() throws Exception
{
setFixture(VisualInterfaceFactory.eINSTANCE.createPosition());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#tearDown()
* @generated
*/
@Override
protected void tearDown() throws Exception
{
setFixture(null);
}
} //PositionTest