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