blob: 524a4da7eb8d6bcd03b3ece0fa5fa5398fa3b89f [file] [log] [blame]
/**
*/
package monitoringxml.tests;
import org.polarsys.chess.monitoring.monitoringxml.AnalysisContext;
import org.polarsys.chess.monitoring.monitoringxml.MonitoringxmlFactory;
import junit.framework.TestCase;
import junit.textui.TestRunner;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Analysis Context</b></em>'.
* <!-- end-user-doc -->
* @generated
*/
public class AnalysisContextTest extends TestCase {
/**
* The fixture for this Analysis Context test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected AnalysisContext fixture = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static void main(String[] args) {
TestRunner.run(AnalysisContextTest.class);
}
/**
* Constructs a new Analysis Context test case with the given name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public AnalysisContextTest(String name) {
super(name);
}
/**
* Sets the fixture for this Analysis Context test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void setFixture(AnalysisContext fixture) {
this.fixture = fixture;
}
/**
* Returns the fixture for this Analysis Context test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected AnalysisContext getFixture() {
return fixture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#setUp()
* @generated
*/
@Override
protected void setUp() throws Exception {
setFixture(MonitoringxmlFactory.eINSTANCE.createAnalysisContext());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#tearDown()
* @generated
*/
@Override
protected void tearDown() throws Exception {
setFixture(null);
}
} //AnalysisContextTest