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