| 1 | /** |
| 2 | * <copyright> |
| 3 | * </copyright> |
| 4 | * |
| 5 | * $Id$ |
| 6 | */ |
| 7 | package de.uka.ipd.sdq.probespec.tests; |
| 8 | |
| 9 | import de.uka.ipd.sdq.probespec.CPUDemandProbe; |
| 10 | import de.uka.ipd.sdq.probespec.probespecFactory; |
| 11 | |
| 12 | import junit.textui.TestRunner; |
| 13 | |
| 14 | /** |
| 15 | * <!-- begin-user-doc --> |
| 16 | * A test case for the model object '<em><b>CPU Demand Probe</b></em>'. |
| 17 | * <!-- end-user-doc --> |
| 18 | * @generated |
| 19 | */ |
| 20 | public class CPUDemandProbeTest extends ProbeTest { |
| 21 | |
| 22 | /** |
| 23 | * <!-- begin-user-doc --> |
| 24 | * <!-- end-user-doc --> |
| 25 | * @generated |
| 26 | */ |
| 27 | public static void main(String[] args) { |
| 28 | TestRunner.run(CPUDemandProbeTest.class); |
| 29 | } |
| 30 | |
| 31 | /** |
| 32 | * Constructs a new CPU Demand Probe test case with the given name. |
| 33 | * <!-- begin-user-doc --> |
| 34 | * <!-- end-user-doc --> |
| 35 | * @generated |
| 36 | */ |
| 37 | public CPUDemandProbeTest(String name) { |
| 38 | super(name); |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * Returns the fixture for this CPU Demand Probe test case. |
| 43 | * <!-- begin-user-doc --> |
| 44 | * <!-- end-user-doc --> |
| 45 | * @generated |
| 46 | */ |
| 47 | @Override |
| 48 | protected CPUDemandProbe getFixture() { |
| 49 | return (CPUDemandProbe)fixture; |
| 50 | } |
| 51 | |
| 52 | /** |
| 53 | * <!-- begin-user-doc --> |
| 54 | * <!-- end-user-doc --> |
| 55 | * @see junit.framework.TestCase#setUp() |
| 56 | * @generated |
| 57 | */ |
| 58 | @Override |
| 59 | protected void setUp() throws Exception { |
| 60 | setFixture(probespecFactory.eINSTANCE.createCPUDemandProbe()); |
| 61 | } |
| 62 | |
| 63 | /** |
| 64 | * <!-- begin-user-doc --> |
| 65 | * <!-- end-user-doc --> |
| 66 | * @see junit.framework.TestCase#tearDown() |
| 67 | * @generated |
| 68 | */ |
| 69 | @Override |
| 70 | protected void tearDown() throws Exception { |
| 71 | setFixture(null); |
| 72 | } |
| 73 | |
| 74 | } //CPUDemandProbeTest |