Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2015-05-13 18:12:17 -0400
committerjmisinco2015-05-13 18:12:17 -0400
commitce23df40f455e8a744cbc8bbca9c0d96d88bc275 (patch)
tree5265946644a998de146e802439d85b4a2fe1d00f /plugins/org.eclipse.osee.ats.core.test
parentc96a6552b4a06ca40077cde56add54fbbafd99f5 (diff)
downloadorg.eclipse.osee-ce23df40f455e8a744cbc8bbca9c0d96d88bc275.tar.gz
org.eclipse.osee-ce23df40f455e8a744cbc8bbca9c0d96d88bc275.tar.xz
org.eclipse.osee-ce23df40f455e8a744cbc8bbca9c0d96d88bc275.zip
bug[ats_ATS185779]: ATS Server WorkItemNotificationProcessor null
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.java6
-rw-r--r--plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/workdef/AtsWorkDefinitionAdminImplTest.java3
2 files changed, 7 insertions, 2 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 fdb9319b09..963a60ebc0 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
@@ -18,6 +18,7 @@ import org.eclipse.osee.ats.api.util.IAtsChangeSet;
import org.eclipse.osee.ats.api.workdef.IAtsStateDefinition;
import org.eclipse.osee.ats.api.workdef.IAtsWorkDefinition;
import org.eclipse.osee.ats.api.workdef.StateType;
+import org.eclipse.osee.ats.api.workflow.IAtsAction;
import org.eclipse.osee.ats.api.workflow.IAtsTeamWorkflow;
import org.eclipse.osee.ats.api.workflow.log.IAtsLog;
import org.eclipse.osee.ats.api.workflow.state.IAtsStateManager;
@@ -234,4 +235,9 @@ public class MockWorkItem implements IAtsWorkItem {
return false;
}
+ @Override
+ public IAtsAction getParentAction() {
+ return null;
+ }
+
}
diff --git a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/workdef/AtsWorkDefinitionAdminImplTest.java b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/workdef/AtsWorkDefinitionAdminImplTest.java
index f813e4b224..ab9b323195 100644
--- a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/workdef/AtsWorkDefinitionAdminImplTest.java
+++ b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/workdef/AtsWorkDefinitionAdminImplTest.java
@@ -89,8 +89,7 @@ public class AtsWorkDefinitionAdminImplTest {
when(cacheProvider.get()).thenReturn(cache);
workDefAmin =
- new AtsWorkDefinitionAdminImpl(cacheProvider, workItemService, workDefinitionService, teamWorkflowProviders,
- attributeResolver);
+ new AtsWorkDefinitionAdminImpl(cacheProvider, workItemService, workDefinitionService, attributeResolver);
}
@Test

Back to the top