diff options
Diffstat (limited to 'tests/org.eclipse.m2m.atl.emftvm.tests/src/org/eclipse/m2m/atl/emftvm/tests/InvokeCbTest.java')
-rw-r--r-- | tests/org.eclipse.m2m.atl.emftvm.tests/src/org/eclipse/m2m/atl/emftvm/tests/InvokeCbTest.java | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/tests/org.eclipse.m2m.atl.emftvm.tests/src/org/eclipse/m2m/atl/emftvm/tests/InvokeCbTest.java b/tests/org.eclipse.m2m.atl.emftvm.tests/src/org/eclipse/m2m/atl/emftvm/tests/InvokeCbTest.java new file mode 100644 index 00000000..c3e5ed4b --- /dev/null +++ b/tests/org.eclipse.m2m.atl.emftvm.tests/src/org/eclipse/m2m/atl/emftvm/tests/InvokeCbTest.java @@ -0,0 +1,80 @@ +/******************************************************************************* + * Copyright (c) 2011 Vrije Universiteit Brussel. + * 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: + * Dennis Wagelaar, Vrije Universiteit Brussel - initial API and + * implementation and/or initial documentation + *******************************************************************************/ +package org.eclipse.m2m.atl.emftvm.tests; + +import junit.textui.TestRunner; + +import org.eclipse.m2m.atl.emftvm.EmftvmFactory; +import org.eclipse.m2m.atl.emftvm.InvokeCb; + +/** + * <!-- begin-user-doc --> + * A test case for the model object '<em><b>Invoke cb</b></em>'. + * @author <a href="mailto:dennis.wagelaar@vub.ac.be">Dennis Wagelaar</a> + * <!-- end-user-doc --> + * @generated + */ +public class InvokeCbTest extends CodeBlockInstructionTest { + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static void main(String[] args) { + TestRunner.run(InvokeCbTest.class); + } + + /** + * Constructs a new Invoke Cb test case with the given name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public InvokeCbTest(String name) { + super(name); + } + + /** + * Returns the fixture for this Invoke Cb test case. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected InvokeCb getFixture() { + return (InvokeCb)fixture; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see junit.framework.TestCase#setUp() + * @generated + */ + @Override + protected void setUp() throws Exception { + setFixture(EmftvmFactory.eINSTANCE.createInvokeCb()); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see junit.framework.TestCase#tearDown() + * @generated + */ + @Override + protected void tearDown() throws Exception { + setFixture(null); + } + +} //Invoke_cbTest |