/**
* <copyright>
*
* Copyright (c) 2010 SAP AG.
* 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:
* Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
*
* </copyright>
*/
package org.eclipse.dd.dc.tests;
import junit.framework.TestCase;
import junit.textui.TestRunner;
import org.eclipse.dd.dc.DcFactory;
import org.eclipse.dd.dc.Font;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Font</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following operations are tested:
* <ul>
* <li>{@link org.eclipse.dd.dc.Font#non_negative_size(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Non negative size</em>}</li>
* </ul>
* </p>
* @generated
*/
public class FontTest extends TestCase {
/**
* The fixture for this Font test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected Font fixture = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static void main(String[] args) {
TestRunner.run(FontTest.class);
}
/**
* Constructs a new Font test case with the given name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public FontTest(String name) {
super(name);
}
/**
* Sets the fixture for this Font test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void setFixture(Font fixture) {
this.fixture = fixture;
}
/**
* Returns the fixture for this Font test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected Font getFixture() {
return fixture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#setUp()
* @generated
*/
@Override
protected void setUp() throws Exception {
setFixture(DcFactory.eINSTANCE.createFont());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#tearDown()
* @generated
*/
@Override
protected void tearDown() throws Exception {
setFixture(null);
}
/**
* Tests the '{@link org.eclipse.dd.dc.Font#non_negative_size(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Non negative size</em>}' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see org.eclipse.dd.dc.Font#non_negative_size(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
public void testNon_negative_size__DiagnosticChain_Map() {
// TODO: implement this operation test method
// Ensure that you remove @generated or mark it @generated NOT
fail();
}
} //FontTest