Class DoNotCopyTypesThatDoNotBelongToTheOriginalMetamodel
- java.lang.Object
-
- org.eclipse.epsilon.hutn.test.model.HutnTestWithFamiliesMetaModel
-
- org.eclipse.epsilon.flock.engine.test.acceptance.util.FlockAcceptanceTest
-
- org.eclipse.epsilon.flock.engine.test.acceptance.copying.DoNotCopyTypesThatDoNotBelongToTheOriginalMetamodel
-
public class DoNotCopyTypesThatDoNotBelongToTheOriginalMetamodel extends FlockAcceptanceTest
When we have an original model that conforms to an original metamodel which may reference types in another metamodel, Flock must not copy into the migrated model types that belong to the referenced metamodel.
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.flock.engine.test.acceptance.util.FlockAcceptanceTest
migrated, result
-
Fields inherited from class org.eclipse.epsilon.hutn.test.model.HutnTestWithFamiliesMetaModel
BANK_ACCOUNTS_MODEL_URI, CONFIG_FILE
-
-
Constructor Summary
Constructors Constructor Description DoNotCopyTypesThatDoNotBelongToTheOriginalMetamodel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
referenceToSharedAccountsShouldBeCopied()
static void
setup()
void
shouldCopyAccountIntoMigratedModel()
void
shouldNotCopyAccountsIntoMigratedModel()
void
shouldProduceOnePerson()
-
Methods inherited from class org.eclipse.epsilon.flock.engine.test.acceptance.util.FlockAcceptanceTest
hutnToFamily, migrateFamilies, migrateFamiliesToFamilies, migrateFamiliesToFamilies
-
Methods inherited from class org.eclipse.epsilon.hutn.test.model.HutnTestWithFamiliesMetaModel
families, registerMetaModels, unregisterMetaModels
-
-
-
-
Method Detail
-
setup
public static void setup() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldProduceOnePerson
public void shouldProduceOnePerson() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
referenceToSharedAccountsShouldBeCopied
public void referenceToSharedAccountsShouldBeCopied() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
shouldCopyAccountIntoMigratedModel
public void shouldCopyAccountIntoMigratedModel() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
shouldNotCopyAccountsIntoMigratedModel
public void shouldNotCopyAccountsIntoMigratedModel() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-