| /** |
| */ |
| package monitoringxml.tests; |
| |
| import org.polarsys.chess.monitoring.monitoringxml.Monitoring; |
| 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>Monitoring</b></em>'. |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public class MonitoringTest extends TestCase { |
| |
| /** |
| * The fixture for this Monitoring test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected Monitoring fixture = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public static void main(String[] args) { |
| TestRunner.run(MonitoringTest.class); |
| } |
| |
| /** |
| * Constructs a new Monitoring test case with the given name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public MonitoringTest(String name) { |
| super(name); |
| } |
| |
| /** |
| * Sets the fixture for this Monitoring test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected void setFixture(Monitoring fixture) { |
| this.fixture = fixture; |
| } |
| |
| /** |
| * Returns the fixture for this Monitoring test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected Monitoring getFixture() { |
| return fixture; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see junit.framework.TestCase#setUp() |
| * @generated |
| */ |
| @Override |
| protected void setUp() throws Exception { |
| setFixture(MonitoringxmlFactory.eINSTANCE.createMonitoring()); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see junit.framework.TestCase#tearDown() |
| * @generated |
| */ |
| @Override |
| protected void tearDown() throws Exception { |
| setFixture(null); |
| } |
| |
| } //MonitoringTest |