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