public class DmrToSegmentsMigratorImpl_Test extends Object
DmrToSegmentsMigratorImpl
. These tests test the migration behavior based on a mocked
EMFFormsSegmentGenerator
and with an already loaded Resource.
For a "realistic" integration test see DmrToSegmentsMigratorImpl_ITest
.
Constructor and Description |
---|
DmrToSegmentsMigratorImpl_Test() |
Modifier and Type | Method and Description |
---|---|
void |
needsMigration_legacyOnly() |
void |
needsMigration_mixed() |
void |
needsMigration_segmentDmrsOnly() |
void |
performMigration_emptyResource() |
void |
performMigration_mixed()
Tests migration for a view with a legacy and a segment dmr.
|
void |
performMigration_preReplaceProcessor()
Tests that the migration applies given
DmrToSegmentsMigrator.PreReplaceProcessor s and does so in the correct order. |
void |
performMigration_tableWithCrossReference() |
void |
performMigration() |
void |
setUp() |
public void performMigration() throws DmrToSegmentsMigrationException
DmrToSegmentsMigrationException
public void performMigration_tableWithCrossReference() throws DmrToSegmentsMigrationException
DmrToSegmentsMigrationException
public void performMigration_mixed() throws DmrToSegmentsMigrationException
DmrToSegmentsMigrationException
public void performMigration_preReplaceProcessor() throws DmrToSegmentsMigrationException
DmrToSegmentsMigrator.PreReplaceProcessor
s and does so in the correct order.DmrToSegmentsMigrationException
public void performMigration_emptyResource() throws DmrToSegmentsMigrationException
DmrToSegmentsMigrationException
public void needsMigration_mixed()
public void needsMigration_legacyOnly()
public void needsMigration_segmentDmrsOnly()
Copyright © 2019. All rights reserved.