blob: 6880dffe5576c8652278a3b743b11b97adc02677 [file] [log] [blame]
/**
* <copyright>
* </copyright>
*
* $Id: IdentityTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
*/
package org.eclipse.jst.j2ee.common.tests;
import junit.framework.TestCase;
import junit.textui.TestRunner;
import org.eclipse.jst.j2ee.common.CommonFactory;
import org.eclipse.jst.j2ee.common.Identity;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Identity</b></em>'.
* <!-- end-user-doc -->
* @generated
*/
public class IdentityTest extends TestCase {
/**
* The fixture for this Identity test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected Identity fixture = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static void main(String[] args) {
TestRunner.run(IdentityTest.class);
}
/**
* Constructs a new Identity test case with the given name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public IdentityTest(String name) {
super(name);
}
/**
* Sets the fixture for this Identity test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void setFixture(Identity fixture) {
this.fixture = fixture;
}
/**
* Returns the fixture for this Identity test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private Identity getFixture() {
return fixture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#setUp()
* @generated
*/
protected void setUp() throws Exception {
setFixture(CommonFactory.eINSTANCE.createIdentity());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#tearDown()
* @generated
*/
protected void tearDown() throws Exception {
setFixture(null);
}
} //IdentityTest