Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2015-06-25 14:15:59 -0400
committerAngel Avila2015-09-11 20:43:21 -0400
commit9ccd51ebf920249b2085decc2f12dc9f53c43f87 (patch)
treee02618d59d72c49afcc66bf887ef8d6788ef4cf9 /plugins/org.eclipse.osee.ats.core.test
parent6650310405447e2cf6ef779f3c489294719c4d73 (diff)
downloadorg.eclipse.osee-9ccd51ebf920249b2085decc2f12dc9f53c43f87.tar.gz
org.eclipse.osee-9ccd51ebf920249b2085decc2f12dc9f53c43f87.tar.xz
org.eclipse.osee-9ccd51ebf920249b2085decc2f12dc9f53c43f87.zip
feature[ats_ATS209755]: Convert AtsObject.getStoreObject to ArtifactId
Diffstat (limited to 'plugins/org.eclipse.osee.ats.core.test')
-rw-r--r--plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/mock/MockWorkItem.java5
-rw-r--r--plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/users/CoreAtsUsersTest.java7
2 files changed, 7 insertions, 5 deletions
diff --git a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/mock/MockWorkItem.java b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/mock/MockWorkItem.java
index 1e0383fe12..87f8f56b99 100644
--- a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/mock/MockWorkItem.java
+++ b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/mock/MockWorkItem.java
@@ -25,6 +25,7 @@ import org.eclipse.osee.ats.api.workflow.state.IAtsStateManager;
import org.eclipse.osee.ats.core.internal.log.AtsLogFactory;
import org.eclipse.osee.ats.core.internal.state.StateManager;
import org.eclipse.osee.ats.core.util.AtsUserGroup;
+import org.eclipse.osee.framework.core.data.ArtifactId;
import org.eclipse.osee.framework.jdk.core.type.OseeCoreException;
import org.eclipse.osee.framework.jdk.core.type.UuidIdentity;
@@ -145,12 +146,12 @@ public class MockWorkItem implements IAtsWorkItem {
}
@Override
- public Object getStoreObject() {
+ public ArtifactId getStoreObject() {
return null;
}
@Override
- public void setStoreObject(Object object) {
+ public void setStoreObject(ArtifactId artifact) {
// do nothing
}
diff --git a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/users/CoreAtsUsersTest.java b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/users/CoreAtsUsersTest.java
index d3e1bfd203..359c0ec33e 100644
--- a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/users/CoreAtsUsersTest.java
+++ b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/users/CoreAtsUsersTest.java
@@ -12,6 +12,7 @@ package org.eclipse.osee.ats.core.users;
import java.util.HashMap;
import org.eclipse.osee.ats.api.user.IAtsUser;
+import org.eclipse.osee.framework.core.data.ArtifactId;
import org.eclipse.osee.framework.jdk.core.type.OseeCoreException;
import org.eclipse.osee.framework.jdk.core.type.OseeStateException;
import org.eclipse.osee.framework.jdk.core.type.UuidIdentity;
@@ -180,7 +181,7 @@ public class CoreAtsUsersTest {
}
@Override
- public void setStoreObject(Object object) {
+ public void setStoreObject(ArtifactId artifact) {
// do nothing
}
@@ -238,12 +239,12 @@ public class CoreAtsUsersTest {
}
@Override
- public Object getStoreObject() {
+ public ArtifactId getStoreObject() {
return null;
}
@Override
- public void setStoreObject(Object object) {
+ public void setStoreObject(ArtifactId artifact) {
// do nothing
}

Back to the top