/** * 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 org.occiware.clouddesigner.occi.Entity; /** * <!-- begin-user-doc --> * A test case for the model object '<em><b>Entity</b></em>'. * <!-- end-user-doc --> * <p> * The following operations are tested: * <ul> * <li>{@link org.occiware.clouddesigner.occi.Entity#occiCreate() <em>Occi Create</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Entity#occiRetrieve() <em>Occi Retrieve</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Entity#occiUpdate() <em>Occi Update</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Entity#occiDelete() <em>Occi Delete</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Entity#AttributesNameUnique(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Attributes Name Unique</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Entity#KindCompatibleWithOneAppliesOfEachMixin(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Kind Compatible With One Applies Of Each Mixin</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Entity#IdUnique(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Id Unique</em>}</li> * </ul> * </p> * @generated */ public abstract class EntityTest extends TestCase { /** * The fixture for this Entity test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected Entity fixture = null; /** * Constructs a new Entity test case with the given name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EntityTest(String name) { super(name); } /** * Sets the fixture for this Entity test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected void setFixture(Entity fixture) { this.fixture = fixture; } /** * Returns the fixture for this Entity test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected Entity getFixture() { return fixture; } /** * Tests the '{@link org.occiware.clouddesigner.occi.Entity#occiCreate() <em>Occi Create</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Entity#occiCreate() * @generated */ public void testOcciCreate() { // TODO: implement this operation test method // Ensure that you remove @generated or mark it @generated NOT fail(); } /** * Tests the '{@link org.occiware.clouddesigner.occi.Entity#occiRetrieve() <em>Occi Retrieve</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Entity#occiRetrieve() * @generated */ public void testOcciRetrieve() { // TODO: implement this operation test method // Ensure that you remove @generated or mark it @generated NOT fail(); } /** * Tests the '{@link org.occiware.clouddesigner.occi.Entity#occiUpdate() <em>Occi Update</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Entity#occiUpdate() * @generated */ public void testOcciUpdate() { // TODO: implement this operation test method // Ensure that you remove @generated or mark it @generated NOT fail(); } /** * Tests the '{@link org.occiware.clouddesigner.occi.Entity#occiDelete() <em>Occi Delete</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Entity#occiDelete() * @generated */ public void testOcciDelete() { // TODO: implement this operation test method // Ensure that you remove @generated or mark it @generated NOT fail(); } /** * Tests the '{@link org.occiware.clouddesigner.occi.Entity#AttributesNameUnique(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Attributes Name Unique</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Entity#AttributesNameUnique(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testAttributesNameUnique__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.Entity#KindCompatibleWithOneAppliesOfEachMixin(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Kind Compatible With One Applies Of Each Mixin</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Entity#KindCompatibleWithOneAppliesOfEachMixin(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testKindCompatibleWithOneAppliesOfEachMixin__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.Entity#IdUnique(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Id Unique</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Entity#IdUnique(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testIdUnique__DiagnosticChain_Map() { // TODO: implement this operation test method // Ensure that you remove @generated or mark it @generated NOT fail(); } } //EntityTest