blob: dc09763e0ffd508ef4baed014690c3d454121739 [file] [log] [blame]
/**
* Copyright (c) 2009 Anyware Technologies 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:
* Anyware Technologies - initial API and implementation
*
* $Id: ReferenceTest.java,v 1.1 2009/07/08 16:38:11 bcabe Exp $
*/
package org.eclipse.pde.ds.scr.tests;
import junit.framework.TestCase;
import junit.textui.TestRunner;
import org.eclipse.pde.ds.scr.Reference;
import org.eclipse.pde.ds.scr.ScrFactory;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Reference</b></em>'.
* <!-- end-user-doc -->
* @generated
*/
public class ReferenceTest extends TestCase {
/**
* The fixture for this Reference test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected Reference fixture = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static void main(String[] args) {
TestRunner.run(ReferenceTest.class);
}
/**
* Constructs a new Reference test case with the given name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ReferenceTest(String name) {
super(name);
}
/**
* Sets the fixture for this Reference test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void setFixture(Reference fixture) {
this.fixture = fixture;
}
/**
* Returns the fixture for this Reference test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected Reference getFixture() {
return fixture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#setUp()
* @generated
*/
@Override
protected void setUp() throws Exception {
setFixture(ScrFactory.eINSTANCE.createReference());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#tearDown()
* @generated
*/
@Override
protected void tearDown() throws Exception {
setFixture(null);
}
public void testOk() {
assertTrue(true);
}
} //ReferenceTest