Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2011-10-03 19:08:48 -0400
committerRoberto E. Escobar2011-10-03 19:08:48 -0400
commit3cac840f61ad21420a1d35eda5380d1cc0aa8635 (patch)
tree5ab97f11dca46dfec1180e88645c49afc241dd12 /plugins/org.eclipse.osee.framework.database.test
parent002ce77a03e223f10d3f5c6533c876d76c6e1375 (diff)
downloadorg.eclipse.osee-3cac840f61ad21420a1d35eda5380d1cc0aa8635.tar.gz
org.eclipse.osee-3cac840f61ad21420a1d35eda5380d1cc0aa8635.tar.xz
org.eclipse.osee-3cac840f61ad21420a1d35eda5380d1cc0aa8635.zip
feature[ats_Q9NLC]: Update artifact join query util
Diffstat (limited to 'plugins/org.eclipse.osee.framework.database.test')
-rw-r--r--plugins/org.eclipse.osee.framework.database.test/src/org/eclipse/osee/framework/database/core/ArtifactJoinQueryTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.framework.database.test/src/org/eclipse/osee/framework/database/core/ArtifactJoinQueryTest.java b/plugins/org.eclipse.osee.framework.database.test/src/org/eclipse/osee/framework/database/core/ArtifactJoinQueryTest.java
index 30395f1d2c..cb266d6783 100644
--- a/plugins/org.eclipse.osee.framework.database.test/src/org/eclipse/osee/framework/database/core/ArtifactJoinQueryTest.java
+++ b/plugins/org.eclipse.osee.framework.database.test/src/org/eclipse/osee/framework/database/core/ArtifactJoinQueryTest.java
@@ -12,10 +12,10 @@ package org.eclipse.osee.framework.database.core;
import java.sql.Timestamp;
import java.util.List;
-import org.junit.Assert;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.exception.OseeDataStoreException;
import org.eclipse.osee.framework.database.test.mocks.MockJoinAccessor;
+import org.junit.Assert;
import org.junit.Test;
/**
@@ -32,11 +32,11 @@ public class ArtifactJoinQueryTest {
Assert.assertEquals(0, join.size());
Assert.assertEquals(true, join.isEmpty());
- join.add(1234, 5678);
+ join.add(1234, 5678, null);
Assert.assertEquals(1, join.size());
Assert.assertEquals(false, join.isEmpty());
- join.add(1234, 5678);
+ join.add(1234, 5678, null);
Assert.assertEquals(1, join.size());
Assert.assertEquals(false, join.wasStored());
@@ -50,7 +50,7 @@ public class ArtifactJoinQueryTest {
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(1234, entry[2]);

Back to the top