blob: d94b633e5be4586716b95da9b696b5f45a414774 [file] [log] [blame]
/**
* <copyright>
* </copyright>
*
* $Id: SecurityRoleRefTest.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.SecurityRoleRef;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Security Role Ref</b></em>'.
* <!-- end-user-doc -->
* @generated
*/
public class SecurityRoleRefTest extends TestCase {
/**
* The fixture for this Security Role Ref test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected SecurityRoleRef fixture = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static void main(String[] args) {
TestRunner.run(SecurityRoleRefTest.class);
}
/**
* Constructs a new Security Role Ref test case with the given name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public SecurityRoleRefTest(String name) {
super(name);
}
/**
* Sets the fixture for this Security Role Ref test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void setFixture(SecurityRoleRef fixture) {
this.fixture = fixture;
}
/**
* Returns the fixture for this Security Role Ref test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private SecurityRoleRef getFixture() {
return fixture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#setUp()
* @generated
*/
protected void setUp() throws Exception {
setFixture(CommonFactory.eINSTANCE.createSecurityRoleRef());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#tearDown()
* @generated
*/
protected void tearDown() throws Exception {
setFixture(null);
}
} //SecurityRoleRefTest