projet-mini-genie-logiciel-.../eclipse-workspace/fr.n7.simplepdl.tests/src/simplepdl/tests/WorkDefinitionTest.java
Laurent Fainsin c923ddc564 TP4
2021-10-09 18:39:13 +02:00

71 lines
1.4 KiB
Java

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