blob: 0daeb61ff165cc3633466af1ab8f7e53047a0174 [file] [log] [blame]
/**
*
* Copyright (c) 2011, 2015 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Florian Pirchner - Initial implementation
*
*/
package org.eclipse.osbp.ecview.extension.model.converter.tests;
import junit.framework.TestCase;
import junit.textui.TestRunner;
import org.eclipse.osbp.ecview.extension.model.converter.YConverterFactory;
import org.eclipse.osbp.ecview.extension.model.converter.YSimpleDecimalConverter;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>YSimple Decimal Converter</b></em>'.
* <!-- end-user-doc -->
* @generated
*/
public class YSimpleDecimalConverterTest extends TestCase {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static final String copyright = "All rights reserved by Loetz GmbH und CoKG Heidelberg 2015.\n\nContributors:\n Florian Pirchner - initial API and implementation";
/**
* The fixture for this YSimple Decimal Converter test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected YSimpleDecimalConverter fixture = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static void main(String[] args) {
TestRunner.run(YSimpleDecimalConverterTest.class);
}
/**
* Constructs a new YSimple Decimal Converter test case with the given name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public YSimpleDecimalConverterTest(String name) {
super(name);
}
/**
* Sets the fixture for this YSimple Decimal Converter test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void setFixture(YSimpleDecimalConverter fixture) {
this.fixture = fixture;
}
/**
* Returns the fixture for this YSimple Decimal Converter test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected YSimpleDecimalConverter getFixture() {
return fixture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#setUp()
* @generated
*/
@Override
protected void setUp() throws Exception {
setFixture(YConverterFactory.eINSTANCE.createYSimpleDecimalConverter());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#tearDown()
* @generated
*/
@Override
protected void tearDown() throws Exception {
setFixture(null);
}
} //YSimpleDecimalConverterTest