| package org.eclipse.stem.core.model.tests; |
| |
| /******************************************************************************* |
| * Copyright (c) 2008 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; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A test case for the model object '<em><b>Comparable</b></em>'. |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public abstract class ComparableTest extends TestCase { |
| |
| /** |
| * The fixture for this Comparable test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected Comparable<?> fixture = null; |
| |
| /** |
| * Constructs a new Comparable test case with the given name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public ComparableTest(String name) { |
| super(name); |
| } |
| |
| /** |
| * Sets the fixture for this Comparable test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected void setFixture(Comparable<?> fixture) { |
| this.fixture = fixture; |
| } |
| |
| /** |
| * Returns the fixture for this Comparable test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected Comparable<?> getFixture() { |
| return fixture; |
| } |
| |
| } //ComparableTest |