| /** |
| */ |
| package org.eclipse.papyrus.layers.stackmodel.layers.tests; |
| |
| import junit.textui.TestRunner; |
| |
| import org.eclipse.papyrus.layers.stackmodel.layers.CustomPropertyOperator; |
| import org.eclipse.papyrus.layers.stackmodel.layers.LayersFactory; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A test case for the model object '<em><b>Custom Property Operator</b></em>'. |
| * <!-- end-user-doc --> |
| * <p> |
| * The following operations are tested: |
| * <ul> |
| * <li>{@link org.eclipse.papyrus.layers.stackmodel.layers.CustomPropertyOperator#resetOperatorInstance() <em>Reset Operator Instance</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @generated |
| */ |
| public class CustomPropertyOperatorTest extends PropertyOperatorTest { |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public static void main(String[] args) { |
| TestRunner.run(CustomPropertyOperatorTest.class); |
| } |
| |
| /** |
| * Constructs a new Custom Property Operator test case with the given name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public CustomPropertyOperatorTest(String name) { |
| super(name); |
| } |
| |
| /** |
| * Returns the fixture for this Custom Property Operator test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| @Override |
| protected CustomPropertyOperator getFixture() { |
| return (CustomPropertyOperator) fixture; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @see junit.framework.TestCase#setUp() |
| * @generated |
| */ |
| @Override |
| protected void setUp() throws Exception { |
| setFixture(LayersFactory.eINSTANCE.createCustomPropertyOperator()); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @see junit.framework.TestCase#tearDown() |
| * @generated |
| */ |
| @Override |
| protected void tearDown() throws Exception { |
| setFixture(null); |
| } |
| |
| /** |
| * Tests the '{@link org.eclipse.papyrus.layers.stackmodel.layers.CustomPropertyOperator#resetOperatorInstance() <em>Reset Operator Instance</em>}' operation. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @see org.eclipse.papyrus.layers.stackmodel.layers.CustomPropertyOperator#resetOperatorInstance() |
| * @generated |
| */ |
| public void testResetOperatorInstance() { |
| // TODO: implement this operation test method |
| // Ensure that you remove @generated or mark it @generated NOT |
| fail(); |
| } |
| |
| } // CustomPropertyOperatorTest |