blob: d5c0d7bd3f6def698c83cbd00ac736d957bcecda [file] [log] [blame]
/*******************************************************************************
* 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.ServiceCollection;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Service Collection</b></em>'.
* <!-- end-user-doc -->
* @generated
*/
public class ServiceCollectionTest extends TestCase {
/**
* The fixture for this Service Collection test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected ServiceCollection fixture = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static void main(String[] args) {
TestRunner.run(ServiceCollectionTest.class);
}
/**
* Constructs a new Service Collection test case with the given name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ServiceCollectionTest(String name) {
super(name);
}
/**
* Sets the fixture for this Service Collection test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void setFixture(ServiceCollection fixture) {
this.fixture = fixture;
}
/**
* Returns the fixture for this Service Collection test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected ServiceCollection getFixture() {
return fixture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#setUp()
* @generated
*/
@Override
protected void setUp() throws Exception {
setFixture(ImFactory.eINSTANCE.createServiceCollection());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#tearDown()
* @generated
*/
@Override
protected void tearDown() throws Exception {
setFixture(null);
}
} //ServiceCollectionTest