blob: 71880e6ce6a161c07d4df6635c0ce1b689ecc4da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
/*******************************************************************************
* Copyright (c) 2011 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.AttributeValueString;
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 String</b></em>'.
*/
public class AttributeValueStringTest extends AttributeValueSimpleTest {
/**
* Returns the fixture for this Attribute Value String test case.
*/
@Override
protected AttributeValueString getFixture() {
return (AttributeValueString)fixture;
}
/**
* @see junit.framework.TestCase#setUp()
*/
@Before
public void setUpAttributeValueStringTest() throws Exception {
setFixture(ReqIF10Factory.eINSTANCE.createAttributeValueString());
}
/**
* @see junit.framework.TestCase#tearDown()
*/
@After
public void tearDownAttributeValueStringTest() throws Exception {
setFixture(null);
}
@Override
public Object getValueObject() {
return "Hello, world!";
}
} //AttributeValueStringTest
|