Class EtlTest
- java.lang.Object
-
- org.eclipse.epsilon.etl.engine.test.acceptance.EtlTest
-
- Direct Known Subclasses:
OO2DBTest
,TransformationRuleTests
,Tree2GraphTest
public abstract class EtlTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description EtlTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.io.File
getFile(java.lang.String fileName)
protected java.lang.String
getFullPath(java.lang.String path)
protected static java.lang.String
getFullPath(java.lang.String path, java.lang.Class<?> currentClass)
protected org.eclipse.emf.ecore.resource.Resource
getResource(java.lang.String path)
protected static org.eclipse.emf.ecore.resource.Resource
getResource(java.lang.String path, java.lang.Class<?> currentClass)
protected EmfModel
loadModel(java.lang.String name, java.lang.String modelFile, java.lang.String metamodelUri, boolean read, boolean store)
protected static void
registerMetamodel(java.lang.String path, java.lang.Class<?> currentClass)
protected void
testForEquivalence(org.eclipse.emf.ecore.resource.Resource expected, EmfModel actual, org.eclipse.emf.ecore.resource.Resource cleanRes)
-
-
-
Method Detail
-
loadModel
protected EmfModel loadModel(java.lang.String name, java.lang.String modelFile, java.lang.String metamodelUri, boolean read, boolean store) throws java.lang.Exception
- Throws:
java.lang.Exception
-
testForEquivalence
protected void testForEquivalence(org.eclipse.emf.ecore.resource.Resource expected, EmfModel actual, org.eclipse.emf.ecore.resource.Resource cleanRes) throws java.lang.Exception
- Parameters:
expected
-actual
-cleanRes
-- Throws:
java.lang.Exception
- Since:
- 1.6
-
getResource
protected org.eclipse.emf.ecore.resource.Resource getResource(java.lang.String path) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getResource
protected static org.eclipse.emf.ecore.resource.Resource getResource(java.lang.String path, java.lang.Class<?> currentClass) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getFile
protected final java.io.File getFile(java.lang.String fileName) throws java.io.IOException
- Throws:
java.io.IOException
-
getFullPath
protected final java.lang.String getFullPath(java.lang.String path) throws java.io.IOException
- Throws:
java.io.IOException
-
getFullPath
protected static final java.lang.String getFullPath(java.lang.String path, java.lang.Class<?> currentClass) throws java.io.IOException
- Throws:
java.io.IOException
-
registerMetamodel
protected static final void registerMetamodel(java.lang.String path, java.lang.Class<?> currentClass) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-