/** * 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.textui.TestRunner; import org.occiware.clouddesigner.occi.Kind; import org.occiware.clouddesigner.occi.OCCIFactory; /** * <!-- begin-user-doc --> * A test case for the model object '<em><b>Kind</b></em>'. * <!-- end-user-doc --> * <p> * The following features are tested: * <ul> * <li>{@link org.occiware.clouddesigner.occi.Kind#getEntities() <em>Entities</em>}</li> * </ul> * </p> * <p> * The following operations are tested: * <ul> * <li>{@link org.occiware.clouddesigner.occi.Kind#CorrectScheme(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Correct Scheme</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Kind#NoCyclicInheritance(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>No Cyclic Inheritance</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Kind#AttributesNameNotAlreadyDefinedInParent(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Attributes Name Not Already Defined In Parent</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Kind#ActionTermUnicity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Action Term Unicity</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Kind#EntityKindIsRootParent(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Entity Kind Is Root Parent</em>}</li> * </ul> * </p> * @generated */ public class KindTest extends CategoryTest { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static void main(String[] args) { TestRunner.run(KindTest.class); } /** * Constructs a new Kind test case with the given name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public KindTest(String name) { super(name); } /** * Returns the fixture for this Kind test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected Kind getFixture() { return (Kind)fixture; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see junit.framework.TestCase#setUp() * @generated */ @Override protected void setUp() throws Exception { setFixture(OCCIFactory.eINSTANCE.createKind()); } /** * <!-- 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.Kind#getEntities() <em>Entities</em>}' feature getter. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Kind#getEntities() * @generated */ public void testGetEntities() { // TODO: implement this feature getter test method // Ensure that you remove @generated or mark it @generated NOT fail(); } /** * Tests the '{@link org.occiware.clouddesigner.occi.Kind#CorrectScheme(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Correct Scheme</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Kind#CorrectScheme(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testCorrectScheme__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.Kind#NoCyclicInheritance(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>No Cyclic Inheritance</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Kind#NoCyclicInheritance(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testNoCyclicInheritance__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.Kind#AttributesNameNotAlreadyDefinedInParent(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Attributes Name Not Already Defined In Parent</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Kind#AttributesNameNotAlreadyDefinedInParent(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testAttributesNameNotAlreadyDefinedInParent__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.Kind#ActionTermUnicity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Action Term Unicity</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Kind#ActionTermUnicity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testActionTermUnicity__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.Kind#EntityKindIsRootParent(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Entity Kind Is Root Parent</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Kind#EntityKindIsRootParent(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testEntityKindIsRootParent__DiagnosticChain_Map() { // TODO: implement this operation test method // Ensure that you remove @generated or mark it @generated NOT fail(); } } //KindTest