/******************************************************************************* * This file is protected by Copyright. * Please refer to the COPYRIGHT file distributed with this source distribution. * * This file is part of REDHAWK IDE. * * 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 *******************************************************************************/ // BEGIN GENERATED CODE package gov.redhawk.model.sca.tests; import gov.redhawk.model.sca.ScaPortContainer; import junit.framework.TestCase; /** * <!-- begin-user-doc --> * A test case for the model object '<em><b>Port Container</b></em>'. * <!-- end-user-doc --> * <p> * The following features are tested: * <ul> * <li>{@link gov.redhawk.model.sca.IStatusProvider#getStatus() <em>Status</em>}</li> * </ul> * </p> * <p> * The following operations are tested: * <ul> * <li>{@link gov.redhawk.model.sca.ScaPortContainer#getScaPort(java.lang.String) <em>Get Sca Port</em>}</li> * <li>{@link gov.redhawk.model.sca.ScaPortContainer#fetchPorts(org.eclipse.core.runtime.IProgressMonitor) <em>Fetch * Ports</em>}</li> * <li> * {@link gov.redhawk.model.sca.IStatusProvider#setStatus(org.eclipse.emf.ecore.EStructuralFeature, org.eclipse.core.runtime.IStatus) * <em>Set Status</em>}</li> * <li>{@link gov.redhawk.model.sca.IStatusProvider#clearAllStatus() <em>Clear All Status</em>}</li> * <li>{@link gov.redhawk.model.sca.IStatusProvider#getStatus(org.eclipse.emf.ecore.EStructuralFeature) <em>Get * Status</em>}</li> * </ul> * </p> * @generated */ public abstract class ScaPortContainerTest extends TestCase { /** * The fixture for this Port Container test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected ScaPortContainer fixture = null; /** * Constructs a new Port Container test case with the given name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ScaPortContainerTest(String name) { super(name); } /** * Sets the fixture for this Port Container test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected void setFixture(ScaPortContainer fixture) { this.fixture = fixture; } /** * Returns the fixture for this Port Container test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected ScaPortContainer getFixture() { return fixture; } /** * Tests the '{@link gov.redhawk.model.sca.IStatusProvider#getStatus() <em>Status</em>}' feature getter. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see gov.redhawk.model.sca.IStatusProvider#getStatus() * @generated */ public void testGetStatus() { // TODO: implement this feature getter test method // Ensure that you remove @generated or mark it @generated NOT fail(); } /** * Tests the '{@link gov.redhawk.model.sca.ScaPortContainer#getScaPort(java.lang.String) <em>Get Sca Port</em>}' * operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see gov.redhawk.model.sca.ScaPortContainer#getScaPort(java.lang.String) * @generated */ public void testGetScaPort__String() { // TODO: implement this operation test method // Ensure that you remove @generated or mark it @generated NOT fail(); } /** * Tests the '{@link gov.redhawk.model.sca.ScaPortContainer#fetchPorts(org.eclipse.core.runtime.IProgressMonitor) * <em>Fetch Ports</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see gov.redhawk.model.sca.ScaPortContainer#fetchPorts(org.eclipse.core.runtime.IProgressMonitor) * @generated */ public void testFetchPorts__IProgressMonitor() { // TODO: implement this operation test method // Ensure that you remove @generated or mark it @generated NOT fail(); } /** * Tests the ' * {@link gov.redhawk.model.sca.IStatusProvider#setStatus(org.eclipse.emf.ecore.EStructuralFeature, org.eclipse.core.runtime.IStatus) * <em>Set Status</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see gov.redhawk.model.sca.IStatusProvider#setStatus(org.eclipse.emf.ecore.EStructuralFeature, * org.eclipse.core.runtime.IStatus) * @generated */ public void testSetStatus__EStructuralFeature_IStatus() { // TODO: implement this operation test method // Ensure that you remove @generated or mark it @generated NOT fail(); } /** * Tests the '{@link gov.redhawk.model.sca.IStatusProvider#clearAllStatus() <em>Clear All Status</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see gov.redhawk.model.sca.IStatusProvider#clearAllStatus() * @generated */ public void testClearAllStatus() { // TODO: implement this operation test method // Ensure that you remove @generated or mark it @generated NOT fail(); } /** * Tests the '{@link gov.redhawk.model.sca.IStatusProvider#getStatus(org.eclipse.emf.ecore.EStructuralFeature) * <em>Get Status</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see gov.redhawk.model.sca.IStatusProvider#getStatus(org.eclipse.emf.ecore.EStructuralFeature) * @generated */ public void testGetStatus__EStructuralFeature() { // TODO: implement this operation test method // Ensure that you remove @generated or mark it @generated NOT fail(); } } // ScaPortContainerTest