/** * 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.Configuration; import org.occiware.clouddesigner.occi.OCCIFactory; /** * <!-- begin-user-doc --> * A test case for the model object '<em><b>Configuration</b></em>'. * <!-- end-user-doc --> * <p> * The following operations are tested: * <ul> * <li>{@link org.occiware.clouddesigner.occi.Configuration#AllMixinsAreTags(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>All Mixins Are Tags</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Configuration#AllResourcesLinksTargetsInConfiguration(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>All Resources Links Targets In Configuration</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Configuration#AllResourcesKindsInUse(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>All Resources Kinds In Use</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Configuration#AllResourcesLinksMixinsInUse(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>All Resources Links Mixins In Use</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Configuration#AllResourcesMixinsInUse(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>All Resources Mixins In Use</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.Configuration#AllResourcesLinksKindsInUse(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>All Resources Links Kinds In Use</em>}</li> * </ul> * </p> * @generated */ public class ConfigurationTest extends TestCase { /** * The fixture for this Configuration test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected Configuration fixture = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static void main(String[] args) { TestRunner.run(ConfigurationTest.class); } /** * Constructs a new Configuration test case with the given name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ConfigurationTest(String name) { super(name); } /** * Sets the fixture for this Configuration test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected void setFixture(Configuration fixture) { this.fixture = fixture; } /** * Returns the fixture for this Configuration test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected Configuration getFixture() { return fixture; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see junit.framework.TestCase#setUp() * @generated */ @Override protected void setUp() throws Exception { setFixture(OCCIFactory.eINSTANCE.createConfiguration()); } /** * <!-- 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.Configuration#AllMixinsAreTags(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>All Mixins Are Tags</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Configuration#AllMixinsAreTags(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testAllMixinsAreTags__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.Configuration#AllResourcesLinksTargetsInConfiguration(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>All Resources Links Targets In Configuration</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Configuration#AllResourcesLinksTargetsInConfiguration(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testAllResourcesLinksTargetsInConfiguration__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.Configuration#AllResourcesKindsInUse(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>All Resources Kinds In Use</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Configuration#AllResourcesKindsInUse(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testAllResourcesKindsInUse__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.Configuration#AllResourcesLinksMixinsInUse(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>All Resources Links Mixins In Use</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Configuration#AllResourcesLinksMixinsInUse(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testAllResourcesLinksMixinsInUse__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.Configuration#AllResourcesMixinsInUse(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>All Resources Mixins In Use</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Configuration#AllResourcesMixinsInUse(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testAllResourcesMixinsInUse__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.Configuration#AllResourcesLinksKindsInUse(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>All Resources Links Kinds In Use</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.occiware.clouddesigner.occi.Configuration#AllResourcesLinksKindsInUse(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) * @generated */ public void testAllResourcesLinksKindsInUse__DiagnosticChain_Map() { // TODO: implement this operation test method // Ensure that you remove @generated or mark it @generated NOT fail(); } } //ConfigurationTest