diff options
Diffstat (limited to 'plugins/org.eclipse.emf.compare.rcp.tests/src/org/eclipse/emf/compare/rcp/tests/data/EcoreInputData.java')
-rw-r--r-- | plugins/org.eclipse.emf.compare.rcp.tests/src/org/eclipse/emf/compare/rcp/tests/data/EcoreInputData.java | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.compare.rcp.tests/src/org/eclipse/emf/compare/rcp/tests/data/EcoreInputData.java b/plugins/org.eclipse.emf.compare.rcp.tests/src/org/eclipse/emf/compare/rcp/tests/data/EcoreInputData.java new file mode 100644 index 000000000..978052811 --- /dev/null +++ b/plugins/org.eclipse.emf.compare.rcp.tests/src/org/eclipse/emf/compare/rcp/tests/data/EcoreInputData.java @@ -0,0 +1,33 @@ +/******************************************************************************* + * Copyright (c) 2014 Obeo. + * 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: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.emf.compare.rcp.tests.data; + +import java.io.IOException; + +import org.eclipse.emf.compare.tests.edit.data.ResourceScopeProvider; +import org.eclipse.emf.compare.tests.framework.AbstractInputData; +import org.eclipse.emf.ecore.resource.Resource; + +@SuppressWarnings("nls") +public class EcoreInputData extends AbstractInputData implements ResourceScopeProvider { + + public Resource getLeft() throws IOException { + return loadFromClassLoader("extlibraryLeft.ecore"); + } + + public Resource getRight() throws IOException { + return loadFromClassLoader("extlibraryRight.ecore"); + } + + public Resource getOrigin() throws IOException { + return loadFromClassLoader("extlibraryOrigin.ecore"); + } +} |