| /** |
| * All rights reserved by Loetz GmbH und CoKG Heidelberg 2015. |
| * |
| * Contributors: |
| * Florian Pirchner - initial API and implementation |
| */ |
| package org.eclipse.osbp.ecview.extension.model.tests; |
| |
| import junit.framework.TestCase; |
| |
| import junit.textui.TestRunner; |
| |
| import org.eclipse.osbp.ecview.extension.model.YContentSensitiveLayout; |
| import org.eclipse.osbp.ecview.extension.model.YECviewFactory; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A test case for the model object '<em><b>YContent Sensitive Layout</b></em>'. |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public class YContentSensitiveLayoutTest extends TestCase { |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public static final String copyright = "All rights reserved by Loetz GmbH und CoKG Heidelberg 2015.\n\nContributors:\n Florian Pirchner - initial API and implementation"; |
| |
| /** |
| * The fixture for this YContent Sensitive Layout test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected YContentSensitiveLayout fixture = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public static void main(String[] args) { |
| TestRunner.run(YContentSensitiveLayoutTest.class); |
| } |
| |
| /** |
| * Constructs a new YContent Sensitive Layout test case with the given name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public YContentSensitiveLayoutTest(String name) { |
| super(name); |
| } |
| |
| /** |
| * Sets the fixture for this YContent Sensitive Layout test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected void setFixture(YContentSensitiveLayout fixture) { |
| this.fixture = fixture; |
| } |
| |
| /** |
| * Returns the fixture for this YContent Sensitive Layout test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected YContentSensitiveLayout getFixture() { |
| return fixture; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see junit.framework.TestCase#setUp() |
| * @generated |
| */ |
| @Override |
| protected void setUp() throws Exception { |
| setFixture(YECviewFactory.eINSTANCE.createYContentSensitiveLayout()); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see junit.framework.TestCase#tearDown() |
| * @generated |
| */ |
| @Override |
| protected void tearDown() throws Exception { |
| setFixture(null); |
| } |
| |
| } //YContentSensitiveLayoutTest |