blob: 21f968f9fce55c11f34c1bb0037bc6cd4f52c24b [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011, 2012 Formal Mind GmbH and University of Dusseldorf.
* 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:
* Michael Jastram - initial API and implementation
******************************************************************************/
package org.eclipse.rmf.reqif10.provider;
import org.eclipse.rmf.reqif10.AttributeValueReal;
import org.eclipse.rmf.reqif10.ReqIF10Factory;
import org.junit.After;
import org.junit.Before;
/**
* A test case for the model object '<em><b>Attribute Value Real</b></em>'.
*/
public class AttributeValueRealTest extends AttributeValueSimpleTest {
/**
* Returns the fixture for this Attribute Value Real test case.
*/
@Override
protected AttributeValueReal getFixture() {
return (AttributeValueReal)fixture;
}
/**
* @see junit.framework.TestCase#setUp()
*/
@Before
public void setUpAttributeValueRealTest() throws Exception {
setFixture(ReqIF10Factory.eINSTANCE.createAttributeValueReal());
}
/**
* @see junit.framework.TestCase#tearDown()
*/
@After
public void tearDownAttributeValueRealTest() throws Exception {
setFixture(null);
}
@Override
public Object getValueObject() {
return new Double(1.5);
}
} //AttributeValueRealTest