blob: 29f9a7addda1b124de0f3494077bd2a658c00418 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2016, 2018 Obeo.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors: Obeo - initial API and implementation
*******************************************************************************/
package org.eclipse.eef.tests.internal;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
/**
* Utility services for tests.
*
* @author sbegaudeau
*/
public class EEFTestServices {
/**
* Sets the value of the given structural feature for the given EObject.
*
* @param eObject
* The EObject
* @param eStructuralFeature
* The structural feature
* @param newValue
* The new value
*/
public void eSet(EObject eObject, EStructuralFeature eStructuralFeature, Object newValue) {
eObject.eSet(eStructuralFeature, newValue);
}
}