projet-genie-logiciel-systeme/workspace/fr.n7.petrinet.tests/src/petrinet/tests/TransitionTest.java
2021-12-03 08:24:06 +01:00

71 lines
1.3 KiB
Java
Executable file

/**
*/
package petrinet.tests;
import junit.textui.TestRunner;
import petrinet.PetrinetFactory;
import petrinet.Transition;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Transition</b></em>'.
* <!-- end-user-doc -->
* @generated
*/
public class TransitionTest extends NodeTest {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static void main(String[] args) {
TestRunner.run(TransitionTest.class);
}
/**
* Constructs a new Transition test case with the given name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public TransitionTest(String name) {
super(name);
}
/**
* Returns the fixture for this Transition test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected Transition getFixture() {
return (Transition)fixture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#setUp()
* @generated
*/
@Override
protected void setUp() throws Exception {
setFixture(PetrinetFactory.eINSTANCE.createTransition());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#tearDown()
* @generated
*/
@Override
protected void tearDown() throws Exception {
setFixture(null);
}
} //TransitionTest