| package org.eclipse.stem.definitions.edges.tests; |
| |
| /******************************************************************************* |
| * Copyright (c) 2011 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| import junit.framework.TestCase; |
| import junit.textui.TestRunner; |
| |
| import org.eclipse.stem.definitions.edges.EdgesFactory; |
| import org.eclipse.stem.definitions.edges.PopulationEdge; |
| import org.eclipse.stem.tests.util.Activator; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A test case for the model object '<em><b>Population Edge</b></em>'. |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public class PopulationEdgeTest extends TestCase { |
| |
| |
| public void testNeedsTests() |
| { |
| assertTrue(true); |
| } |
| |
| /** |
| * The fixture for this Population Edge test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected PopulationEdge fixture = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public static void main(String[] args) { |
| TestRunner.run(PopulationEdgeTest.class); |
| } |
| |
| /** |
| * Constructs a new Population Edge test case with the given name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public PopulationEdgeTest(String name) { |
| super(name); |
| } |
| |
| /** |
| * Sets the fixture for this Population Edge test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected void setFixture(PopulationEdge fixture) { |
| this.fixture = fixture; |
| } |
| |
| /** |
| * Returns the fixture for this Population Edge test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected PopulationEdge getFixture() { |
| return fixture; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see junit.framework.TestCase#setUp() |
| * @generated |
| */ |
| @Override |
| protected void setUp() throws Exception { |
| setFixture(EdgesFactory.eINSTANCE.createPopulationEdge()); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see junit.framework.TestCase#tearDown() |
| * @generated |
| */ |
| @Override |
| protected void tearDown() throws Exception { |
| setFixture(null); |
| } |
| |
| } //PopulationEdgeTest |