Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto E. Escobar2014-11-26 14:00:43 -0500
committerAngel Avila2014-11-26 14:00:43 -0500
commit73de4729644cf1d176259476940d4be3abf10e44 (patch)
treea583bd75c0eee5a9085743afeb3bbd47c43294fc /plugins/org.eclipse.osee.orcs.db.test
parent6624ee18274c707958e4afc73684bb0bf122d7f9 (diff)
downloadorg.eclipse.osee-73de4729644cf1d176259476940d4be3abf10e44.tar.gz
org.eclipse.osee-73de4729644cf1d176259476940d4be3abf10e44.tar.xz
org.eclipse.osee-73de4729644cf1d176259476940d4be3abf10e44.zip
refactor: Use JoinUtility in client loading and purging
Update code to use Join classes instead of directly inserting into join tables through sql Change-Id: I8e7382983cfe1a3cd4cc86284e07d3a6d52cf159
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/sql/join/TransactionJoinQueryTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/sql/join/TransactionJoinQueryTest.java b/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/sql/join/TransactionJoinQueryTest.java
index d0097d0d46..542e37564c 100644
--- a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/sql/join/TransactionJoinQueryTest.java
+++ b/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/sql/join/TransactionJoinQueryTest.java
@@ -13,6 +13,7 @@ package org.eclipse.osee.orcs.db.internal.sql.join;
import java.sql.Timestamp;
import java.util.List;
import org.eclipse.osee.framework.core.exception.OseeDataStoreException;
+import org.eclipse.osee.framework.database.core.SQL3DataType;
import org.eclipse.osee.framework.jdk.core.type.OseeCoreException;
import org.junit.Assert;
import org.junit.Test;
@@ -49,11 +50,12 @@ public class TransactionJoinQueryTest {
Assert.assertEquals(1, data.size());
Object[] entry = data.get(0);
- Assert.assertEquals(4, entry.length);
+ Assert.assertEquals(5, entry.length);
Assert.assertEquals(999, entry[0]);
Assert.assertTrue(entry[1] instanceof Timestamp);
Assert.assertEquals(1234L, entry[2]);
Assert.assertEquals(5678, entry[3]);
+ Assert.assertEquals(SQL3DataType.BIGINT, entry[4]);
}

Back to the top