blob: 0c4585899dc52a67e95eb23a1a21a80d257a03d3 [file] [log] [blame]
/*
* Copyright (c) 2003, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM - Initial API and implementation
*
* $Id: TriggerImplTest.java,v 1.2 2004/05/20 03:03:32 khussey Exp $
*/
package org.eclipse.uml2.impl.tests;
import org.eclipse.uml2.UML2Factory;
import org.eclipse.uml2.impl.TriggerImpl;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Trigger</b></em>'.
* <!-- end-user-doc -->
* @generated
*/
public abstract class TriggerImplTest extends NamedElementImplTest {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static final String copyright = "Copyright (c) 2003, 2004 IBM Corporation and others."; //$NON-NLS-1$
/**
* Constructs a new Trigger test case with the given name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public TriggerImplTest(String name) {
super(name);
}
/**
* Returns the fixture for this Trigger test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private TriggerImpl getFixture() {
return (TriggerImpl) fixture;
}
/* (non-Javadoc)
* @see org.eclipse.uml2.impl.tests.ElementImplTest#setUpOwner()
*/
protected void setUpOwner() {
UML2Factory.eINSTANCE.createClass().getOwnedTriggers().add(getFixture());
}
/* (non-Javadoc)
* @see org.eclipse.uml2.impl.tests.NamedElementImplTest#setUpNamespace()
*/
protected void setUpNamespace() {
UML2Factory.eINSTANCE.createClass().getOwnedTriggers().add(getFixture());
}
} //TriggerImplTest