blob: 73eb68b1279a7b91ecb70861d6ab2d4cd5b759d4 [file] [log] [blame]
/**
*/
package org.eclipse.osbp.ecview.semantic.uimodel.tests;
import java.util.Map;
import junit.framework.TestCase;
import junit.textui.TestRunner;
import org.eclipse.osbp.ecview.semantic.uimodel.UiModelFactory;
import org.eclipse.osbp.ecview.semantic.uimodel.UiModelPackage;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Ui String To String Map Entry</b></em>'.
* <!-- end-user-doc -->
* @generated
*/
public class UiStringToStringMapEntryTest extends TestCase {
/**
* The fixture for this Ui String To String Map Entry test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected Map.Entry<String, String> fixture = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static void main(String[] args) {
TestRunner.run(UiStringToStringMapEntryTest.class);
}
/**
* Constructs a new Ui String To String Map Entry test case with the given name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public UiStringToStringMapEntryTest(String name) {
super(name);
}
/**
* Sets the fixture for this Ui String To String Map Entry test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void setFixture(Map.Entry<String, String> fixture) {
this.fixture = fixture;
}
/**
* Returns the fixture for this Ui String To String Map Entry test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected Map.Entry<String, String> getFixture() {
return fixture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#setUp()
* @generated
*/
@Override
@SuppressWarnings("unchecked")
protected void setUp() throws Exception {
setFixture((Map.Entry<String, String>)UiModelFactory.eINSTANCE.create(UiModelPackage.Literals.UI_STRING_TO_STRING_MAP_ENTRY));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#tearDown()
* @generated
*/
@Override
protected void tearDown() throws Exception {
setFixture(null);
}
} //UiStringToStringMapEntryTest