| 1 | /** |
| 2 | * <copyright> |
| 3 | * </copyright> |
| 4 | * |
| 5 | * $Id$ |
| 6 | */ |
| 7 | package de.uka.ipd.sdq.pipesandfilters.tests; |
| 8 | |
| 9 | import de.uka.ipd.sdq.pipesandfilters.PipesAndFiltersRepository; |
| 10 | import de.uka.ipd.sdq.pipesandfilters.pipesandfiltersFactory; |
| 11 | |
| 12 | import junit.framework.TestCase; |
| 13 | |
| 14 | import junit.textui.TestRunner; |
| 15 | |
| 16 | /** |
| 17 | * <!-- begin-user-doc --> |
| 18 | * A test case for the model object '<em><b>Pipes And Filters Repository</b></em>'. |
| 19 | * <!-- end-user-doc --> |
| 20 | * @generated |
| 21 | */ |
| 22 | public class PipesAndFiltersRepositoryTest extends TestCase { |
| 23 | |
| 24 | /** |
| 25 | * The fixture for this Pipes And Filters Repository test case. |
| 26 | * <!-- begin-user-doc --> |
| 27 | * <!-- end-user-doc --> |
| 28 | * @generated |
| 29 | */ |
| 30 | protected PipesAndFiltersRepository fixture = null; |
| 31 | |
| 32 | /** |
| 33 | * <!-- begin-user-doc --> |
| 34 | * <!-- end-user-doc --> |
| 35 | * @generated |
| 36 | */ |
| 37 | public static void main(String[] args) { |
| 38 | TestRunner.run(PipesAndFiltersRepositoryTest.class); |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * Constructs a new Pipes And Filters Repository test case with the given name. |
| 43 | * <!-- begin-user-doc --> |
| 44 | * <!-- end-user-doc --> |
| 45 | * @generated |
| 46 | */ |
| 47 | public PipesAndFiltersRepositoryTest(String name) { |
| 48 | super(name); |
| 49 | } |
| 50 | |
| 51 | /** |
| 52 | * Sets the fixture for this Pipes And Filters Repository test case. |
| 53 | * <!-- begin-user-doc --> |
| 54 | * <!-- end-user-doc --> |
| 55 | * @generated |
| 56 | */ |
| 57 | protected void setFixture(PipesAndFiltersRepository fixture) { |
| 58 | this.fixture = fixture; |
| 59 | } |
| 60 | |
| 61 | /** |
| 62 | * Returns the fixture for this Pipes And Filters Repository test case. |
| 63 | * <!-- begin-user-doc --> |
| 64 | * <!-- end-user-doc --> |
| 65 | * @generated |
| 66 | */ |
| 67 | protected PipesAndFiltersRepository getFixture() { |
| 68 | return fixture; |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * <!-- begin-user-doc --> |
| 73 | * <!-- end-user-doc --> |
| 74 | * @see junit.framework.TestCase#setUp() |
| 75 | * @generated |
| 76 | */ |
| 77 | @Override |
| 78 | protected void setUp() throws Exception { |
| 79 | setFixture(pipesandfiltersFactory.eINSTANCE.createPipesAndFiltersRepository()); |
| 80 | } |
| 81 | |
| 82 | /** |
| 83 | * <!-- begin-user-doc --> |
| 84 | * <!-- end-user-doc --> |
| 85 | * @see junit.framework.TestCase#tearDown() |
| 86 | * @generated |
| 87 | */ |
| 88 | @Override |
| 89 | protected void tearDown() throws Exception { |
| 90 | setFixture(null); |
| 91 | } |
| 92 | |
| 93 | } //PipesAndFiltersRepositoryTest |