/** * Copyright (c) 2015-2016 Obeo, Inria * * 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: * - William Piers <william.piers@obeo.fr> * - Philippe Merle <philippe.merle@inria.fr> */ package org.occiware.clouddesigner.occi.tests; import junit.framework.TestCase; import junit.textui.TestRunner; import org.occiware.clouddesigner.occi.Extension; import org.occiware.clouddesigner.occi.OCCIFactory; /** * <!-- begin-user-doc --> * A test case for the model object '<em><b>Extension</b></em>'. * <!-- end-user-doc --> * <p> * The following operations are tested: * <ul> * <li>{@link org.occiware.clouddesigner.occi.Extension#KindsSchemeValid(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Kinds Scheme Valid</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Extension#KindParentLocalOrImported(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Kind Parent Local Or Imported</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Extension#MixinsSchemeValid(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Mixins Scheme Valid</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Extension#TermUnicity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Term Unicity</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Extension#MixinAppliesLocalOrImported(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Mixin Applies Local Or Imported</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Extension#SchemeUnique(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Scheme Unique</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Extension#MixinDependsLocalOrImported(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Mixin Depends Local Or Imported</em>}</li> * </ul> * </p> * @generated */ public class ExtensionTest extends TestCase { /** * The fixture for this Extension test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected Extension fixture = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static void main(String[] args) { TestRunner.run(ExtensionTest.class); } /** * Constructs a new Extension test case with the given name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ExtensionTest(String name) { super(name); } /** * Sets the fixture for this Extension test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected void setFixture(Extension fixture) { this.fixture = fixture; } /** * Returns the fixture for this Extension test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected Extension getFixture() { return fixture; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see junit.framework.TestCase#setUp() * @generated */ @Override protected void setUp() throws Exception { setFixture(OCCIFactory.eINSTANCE.createExtension()); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see junit.framework.TestCase#tearDown() * @generated */ @Override protected void tearDown() throws Exception { setFixture(null); } /** * Tests the '{@link org.occiware.clouddesigner.occi.Extension#KindsSchemeValid(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Kinds Scheme Valid</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Extension#KindsSchemeValid(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testKindsSchemeValid__DiagnosticChain_Map() { // TODO: implement this operation test method // Ensure that you remove @generated or mark it @generated NOT fail(); } /** * Tests the '{@link org.occiware.clouddesigner.occi.Extension#KindParentLocalOrImported(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Kind Parent Local Or Imported</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Extension#KindParentLocalOrImported(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testKindParentLocalOrImported__DiagnosticChain_Map() { // TODO: implement this operation test method // Ensure that you remove @generated or mark it @generated NOT fail(); } /** * Tests the '{@link org.occiware.clouddesigner.occi.Extension#MixinsSchemeValid(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Mixins Scheme Valid</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Extension#MixinsSchemeValid(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testMixinsSchemeValid__DiagnosticChain_Map() { // TODO: implement this operation test method // Ensure that you remove @generated or mark it @generated NOT fail(); } /** * Tests the '{@link org.occiware.clouddesigner.occi.Extension#TermUnicity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Term Unicity</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Extension#TermUnicity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testTermUnicity__DiagnosticChain_Map() { // TODO: implement this operation test method // Ensure that you remove @generated or mark it @generated NOT fail(); } /** * Tests the '{@link org.occiware.clouddesigner.occi.Extension#MixinAppliesLocalOrImported(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Mixin Applies Local Or Imported</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Extension#MixinAppliesLocalOrImported(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testMixinAppliesLocalOrImported__DiagnosticChain_Map() { // TODO: implement this operation test method // Ensure that you remove @generated or mark it @generated NOT fail(); } /** * Tests the '{@link org.occiware.clouddesigner.occi.Extension#SchemeUnique(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Scheme Unique</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Extension#SchemeUnique(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testSchemeUnique__DiagnosticChain_Map() { // TODO: implement this operation test method // Ensure that you remove @generated or mark it @generated NOT fail(); } /** * Tests the '{@link org.occiware.clouddesigner.occi.Extension#MixinDependsLocalOrImported(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Mixin Depends Local Or Imported</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Extension#MixinDependsLocalOrImported(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testMixinDependsLocalOrImported__DiagnosticChain_Map() { // TODO: implement this operation test method // Ensure that you remove @generated or mark it @generated NOT fail(); } } //ExtensionTest