blob: b1159ad2ca721fcce28f88468e5b2562e9e27340 [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: ServiceTest.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.ScrFactory;
import org.eclipse.pde.ds.scr.Service;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Service</b></em>'.
* <!-- end-user-doc -->
* @generated
*/
public class ServiceTest extends TestCase {
/**
* The fixture for this Service test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected Service fixture = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static void main(String[] args) {
TestRunner.run(ServiceTest.class);
}
/**
* Constructs a new Service test case with the given name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ServiceTest(String name) {
super(name);
}
/**
* Sets the fixture for this Service test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void setFixture(Service fixture) {
this.fixture = fixture;
}
/**
* Returns the fixture for this Service test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected Service getFixture() {
return fixture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#setUp()
* @generated
*/
@Override
protected void setUp() throws Exception {
setFixture(ScrFactory.eINSTANCE.createService());
}
/**
* <!-- 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);
}
} //ServiceTest