Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2011-07-27 16:37:00 -0400
committerRyan D. Brooks2011-07-27 16:37:00 -0400
commit7c04068850e85c375fddb963872b3a806707c7c2 (patch)
tree6b70531219320103ffab1aebd6ec4e5c96c842d7 /plugins/org.eclipse.osee.ats.core.test
parent72a32aca939654462d9a350d236b5a2e0a88420b (diff)
downloadorg.eclipse.osee-7c04068850e85c375fddb963872b3a806707c7c2.tar.gz
org.eclipse.osee-7c04068850e85c375fddb963872b3a806707c7c2.tar.xz
org.eclipse.osee-7c04068850e85c375fddb963872b3a806707c7c2.zip
bug: Change to use AtsAttributeType.Active for Actionable Items
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/AtsTestUtil.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/AtsTestUtil.java b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/AtsTestUtil.java
index 0a2544feed..886e072b21 100644
--- a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/AtsTestUtil.java
+++ b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/AtsTestUtil.java
@@ -45,7 +45,6 @@ import org.eclipse.osee.ats.core.workflow.transition.TransitionHelper;
import org.eclipse.osee.ats.core.workflow.transition.TransitionManager;
import org.eclipse.osee.ats.core.workflow.transition.TransitionOption;
import org.eclipse.osee.ats.core.workflow.transition.TransitionResults;
-import org.eclipse.osee.framework.core.enums.CoreAttributeTypes;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.exception.OseeStateException;
import org.eclipse.osee.framework.core.model.IBasicUser;
@@ -223,14 +222,14 @@ public class AtsTestUtil {
testAi =
(ActionableItemArtifact) ArtifactTypeManager.addArtifact(AtsArtifactTypes.ActionableItem,
AtsUtilCore.getAtsBranchToken(), getTitle("AI", postFixName));
- testAi.setSoleAttributeValue(CoreAttributeTypes.Active, true);
+ testAi.setSoleAttributeValue(AtsAttributeTypes.Active, true);
testAi.setSoleAttributeValue(AtsAttributeTypes.Actionable, true);
teamDef =
(TeamDefinitionArtifact) ArtifactTypeManager.addArtifact(AtsArtifactTypes.TeamDefinition,
AtsUtilCore.getAtsBranchToken(), getTitle("Team Def", postFixName));
teamDef.setSoleAttributeValue(AtsAttributeTypes.WorkflowDefinition, WORK_DEF_NAME);
- teamDef.setSoleAttributeValue(CoreAttributeTypes.Active, true);
+ teamDef.setSoleAttributeValue(AtsAttributeTypes.Active, true);
teamDef.setSoleAttributeValue(AtsAttributeTypes.TeamUsesVersions, true);
teamDef.addRelation(AtsRelationTypes.TeamLead_Lead, UserManager.getUser());

Back to the top