blob: 435fe870d6416bbd7ed55d96964a9d55a4e6271a [file] [log] [blame]
package org.eclipse.stem.populationmodels.standard.tests;
/*******************************************************************************
* Copyright (c) 2011 IBM Corporation and others.
* 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
import junit.framework.TestCase;
import junit.textui.TestRunner;
import org.eclipse.stem.definitions.nodes.Region;
import org.eclipse.stem.populationmodels.standard.PopulationModelLabel;
import org.eclipse.stem.populationmodels.standard.StandardFactory;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Population Model Label</b></em>'.
* <!-- end-user-doc -->
* @generated
*/
public class PopulationModelLabelTest extends TestCase {
/**
* The fixture for this Population Model Label test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected PopulationModelLabel fixture = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static void main(String[] args) {
TestRunner.run(PopulationModelLabelTest.class);
}
/**
* Constructs a new Population Model Label test case with the given name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public PopulationModelLabelTest(String name) {
super(name);
}
/**
* Sets the fixture for this Population Model Label test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void setFixture(PopulationModelLabel fixture) {
this.fixture = fixture;
}
/**
* Returns the fixture for this Population Model Label test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected PopulationModelLabel getFixture() {
return fixture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#setUp()
* @generated
*/
@Override
protected void setUp() throws Exception {
setFixture(StandardFactory.eINSTANCE.createPopulationModelLabel());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#tearDown()
* @generated
*/
@Override
protected void tearDown() throws Exception {
setFixture(null);
}
protected static void labelRegion(final PopulationModelLabel popLabel,
final Region region) {
popLabel.setURIOfIdentifiableToBeLabeled(region.getURI());
region.getLabels().add(popLabel);
} // labelRegion
public void testPopulationModelLabel() {
// TODO: Implement test
assertTrue(true);
}
} //PopulationModelLabelTest