blob: c1fffbaaffed8a5e1fede6d2204bb03ab28d175d [file] [log] [blame]
/**
* Copyright (c) 2009, 2019 Mia-Software and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* Gregoire DUPE (Mia-Software) - initial API and implementation
*/
package org.eclipse.modisco.infra.facet.tests.emf;
import org.eclipse.modisco.infra.facet.FacetAttribute;
import org.eclipse.modisco.infra.facet.FacetFactory;
import junit.framework.TestCase;
import junit.textui.TestRunner;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Attribute</b></em>'.
* <!-- end-user-doc -->
* @generated
*/
public class FacetAttributeTest extends TestCase {
/**
* The fixture for this Attribute test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected FacetAttribute fixture = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static void main(String[] args) {
TestRunner.run(FacetAttributeTest.class);
}
/**
* Constructs a new Attribute test case with the given name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public FacetAttributeTest(String name) {
super(name);
}
/**
* Sets the fixture for this Attribute test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void setFixture(FacetAttribute fixture) {
this.fixture = fixture;
}
/**
* Returns the fixture for this Attribute test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected FacetAttribute getFixture() {
return this.fixture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#setUp()
* @generated
*/
@Override
protected void setUp() throws Exception {
setFixture(FacetFactory.eINSTANCE.createFacetAttribute());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#tearDown()
* @generated
*/
@Override
protected void tearDown() throws Exception {
setFixture(null);
}
} //FacetAttributeTest