Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormegumi.telles2015-03-10 14:26:50 -0400
committerMegumi Telles2015-04-06 12:10:55 -0400
commitbcba0177fd23bf156c8e58c53ea03053077edea9 (patch)
treeb266125f45c3720de69badffac498ea7fe25c017 /plugins/org.eclipse.osee.orcs.db.test
parent4179c126f649b0add97c76339e974f095fa947a5 (diff)
downloadorg.eclipse.osee-bcba0177fd23bf156c8e58c53ea03053077edea9.tar.gz
org.eclipse.osee-bcba0177fd23bf156c8e58c53ea03053077edea9.tar.xz
org.eclipse.osee-bcba0177fd23bf156c8e58c53ea03053077edea9.zip
bug[ats_ATS4800]: Update replace with baseline to include relations
Diffstat (limited to 'plugins/org.eclipse.osee.orcs.db.test')
-rw-r--r--plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/loader/DataFactoryImplTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/loader/DataFactoryImplTest.java b/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/loader/DataFactoryImplTest.java
index 0e01df089f..3b819795c6 100644
--- a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/loader/DataFactoryImplTest.java
+++ b/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/loader/DataFactoryImplTest.java
@@ -281,12 +281,12 @@ public class DataFactoryImplTest {
assertEquals(570, actualVer.getBranchId());
assertEquals(222L, actualVer.getGammaId());
assertEquals(RelationalConstants.TRANSACTION_SENTINEL, actualVer.getTransactionId());
- assertEquals(RelationalConstants.TRANSACTION_SENTINEL, actualVer.getStripeId());
+ assertEquals(artData.getVersion().getStripeId(), actualVer.getStripeId());
assertEquals(false, actualVer.isHistorical());
assertEquals(false, actualVer.isInStorage());
assertEquals(555, actual.getLocalId().intValue());
- assertEquals(ModificationType.INTRODUCED, actual.getModType());
+ assertEquals(artData.getModType(), actual.getModType());
assertEquals(666L, actual.getTypeUuid());
assertEquals(ModificationType.NEW, actual.getBaseModType());
assertEquals(777L, actual.getBaseTypeUuid());
@@ -302,12 +302,12 @@ public class DataFactoryImplTest {
assertEquals(570, actualVer.getBranchId());
assertEquals(222L, actualVer.getGammaId());
assertEquals(RelationalConstants.TRANSACTION_SENTINEL, actualVer.getTransactionId());
- assertEquals(RelationalConstants.TRANSACTION_SENTINEL, actualVer.getStripeId());
+ assertEquals(attrData.getVersion().getStripeId(), actualVer.getStripeId());
assertEquals(false, actualVer.isHistorical());
assertEquals(false, actualVer.isInStorage());
assertEquals(555, actual.getLocalId().intValue());
- assertEquals(ModificationType.INTRODUCED, actual.getModType());
+ assertEquals(attrData.getModType(), actual.getModType());
assertEquals(666L, actual.getTypeUuid());
assertEquals(ModificationType.NEW, actual.getBaseModType());
assertEquals(777L, actual.getBaseTypeUuid());

Back to the top