/******************************************************************************* | |
* Copyright (c) {2007-2008} {INRIA and Engineering}. | |
* 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: | |
* {Adrian Mos (INRIA) and Andrea Zoppello (Engineering)} - initial API and implementation | |
*******************************************************************************/ | |
package org.eclipse.soa.mangrove.tests; | |
import junit.framework.TestCase; | |
import junit.textui.TestRunner; | |
import org.eclipse.soa.mangrove.ImFactory; | |
import org.eclipse.soa.mangrove.ServiceClassification; | |
/** | |
* <!-- begin-user-doc --> | |
* A test case for the model object '<em><b>Service Classification</b></em>'. | |
* <!-- end-user-doc --> | |
* <p> | |
* The following features are tested: | |
* <ul> | |
* <li>{@link org.eclipse.soa.mangrove.ServiceClassification#getServiceClassification() <em>Service Classification</em>}</li> | |
* </ul> | |
* </p> | |
* @generated | |
*/ | |
public class ServiceClassificationTest extends TestCase { | |
/** | |
* The fixture for this Service Classification test case. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
protected ServiceClassification fixture = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public static void main(String[] args) { | |
TestRunner.run(ServiceClassificationTest.class); | |
} | |
/** | |
* Constructs a new Service Classification test case with the given name. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public ServiceClassificationTest(String name) { | |
super(name); | |
} | |
/** | |
* Sets the fixture for this Service Classification test case. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
protected void setFixture(ServiceClassification fixture) { | |
this.fixture = fixture; | |
} | |
/** | |
* Returns the fixture for this Service Classification test case. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
protected ServiceClassification getFixture() { | |
return fixture; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see junit.framework.TestCase#setUp() | |
* @generated | |
*/ | |
@Override | |
protected void setUp() throws Exception { | |
setFixture(ImFactory.eINSTANCE.createServiceClassification()); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see junit.framework.TestCase#tearDown() | |
* @generated | |
*/ | |
@Override | |
protected void tearDown() throws Exception { | |
setFixture(null); | |
} | |
/** | |
* Tests the '{@link org.eclipse.soa.mangrove.ServiceClassification#getServiceClassification() <em>Service Classification</em>}' feature getter. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see org.eclipse.soa.mangrove.ServiceClassification#getServiceClassification() | |
* @generated | |
*/ | |
public void testGetServiceClassification() { | |
// TODO: implement this feature getter test method | |
// Ensure that you remove @generated or mark it @generated NOT | |
fail(); | |
} | |
} //ServiceClassificationTest |