org.eclipse.gmt.modisco.common.tests
Class TestModelUtils
java.lang.Object
org.eclipse.gmt.modisco.common.tests.TestModelUtils
public class TestModelUtils
- extends java.lang.Object
|
Method Summary |
static boolean |
compareModels(java.io.File leftUri,
java.io.File rightUri,
boolean ignoreIds,
boolean delete)
Compare two ecore files as models. |
static boolean |
compareModels(Resource leftModel,
Resource rightModel,
boolean ignoreIds)
Compare two ecore files as models. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestModelUtils
public TestModelUtils()
compareModels
public static boolean compareModels(java.io.File leftUri,
java.io.File rightUri,
boolean ignoreIds,
boolean delete)
throws java.io.IOException,
java.lang.InterruptedException
- Compare two ecore files as models.
- Parameters:
leftUri - the left file urirightUri - the right file uriignoreIds - if true, ignore xmi idsdelete - if true, delete the right file after comparison
- Throws:
java.io.IOException
java.lang.InterruptedException
compareModels
public static boolean compareModels(Resource leftModel,
Resource rightModel,
boolean ignoreIds)
throws java.io.IOException,
java.lang.InterruptedException
- Compare two ecore files as models.
- Parameters:
leftUri - the left file urirightUri - the right file uriignoreIds - if true, ignore xmi idsdelete - if true, delete the right file after comparison
- Throws:
java.io.IOException
java.lang.InterruptedException