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