Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmisinco2011-06-28 12:34:55 -0400
committerRyan D. Brooks2011-06-28 12:34:55 -0400
commit319ee5c8eed1d976bd99bbc5a6cec460fe02f438 (patch)
tree3b73990b7d196e93a9d978f8aec43b8bdf99e789 /plugins/org.eclipse.osee.ats.core.test
parent21c6952d695a7114a5b2ece238a85137d6b7a159 (diff)
downloadorg.eclipse.osee-319ee5c8eed1d976bd99bbc5a6cec460fe02f438.tar.gz
org.eclipse.osee-319ee5c8eed1d976bd99bbc5a6cec460fe02f438.tar.xz
org.eclipse.osee-319ee5c8eed1d976bd99bbc5a6cec460fe02f438.zip
refinement[bgz_350609]: Allow ArtifactExplorer to purge children
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.java3
1 files changed, 2 insertions, 1 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 91fd1feee1..841f18e1f2 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
@@ -36,6 +36,7 @@ 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;
+import org.eclipse.osee.framework.core.operation.Operations;
import org.eclipse.osee.framework.core.util.WorkPageType;
import org.eclipse.osee.framework.skynet.core.UserManager;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
@@ -371,7 +372,7 @@ public class AtsTestUtil {
artifacts.addAll(ArtifactQuery.getArtifactListFromName(title + "%", AtsUtilCore.getAtsBranch(),
EXCLUDE_DELETED));
}
- new PurgeArtifacts(artifacts).execute();
+ Operations.executeWorkAndCheckStatus(new PurgeArtifacts(artifacts));
TestUtil.sleep(4000);
}

Back to the top