Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto E. Escobar2012-11-19 19:56:58 +0000
committerRoberto E. Escobar2012-11-19 19:56:58 +0000
commit64d691a0a21b573f440a534bf74deab3c9752bdb (patch)
tree415de31495d542bcb074ab80f944a3e187b25987 /plugins/org.eclipse.osee.framework.skynet.core.test
parent0b981117f0cc3c07e3c4bc0ac289a3a5f76196ae (diff)
downloadorg.eclipse.osee-64d691a0a21b573f440a534bf74deab3c9752bdb.tar.gz
org.eclipse.osee-64d691a0a21b573f440a534bf74deab3c9752bdb.tar.xz
org.eclipse.osee-64d691a0a21b573f440a534bf74deab3c9752bdb.zip
bug: PurgeAttributes not deleting binary data
Convert PurgeAttributes into an operation Delete PurgeDeletedAttributes blam Fix PurgeAttributesBlam report creation Change-Id: I84c7ab3f63b9f28c520f4b10c5912c509917698c
Diffstat (limited to 'plugins/org.eclipse.osee.framework.skynet.core.test')
-rw-r--r--plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/artifact/AttributePurgeTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/artifact/AttributePurgeTest.java b/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/artifact/AttributePurgeTest.java
index 7dcb2978e31..31b8e4a7512 100644
--- a/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/artifact/AttributePurgeTest.java
+++ b/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/artifact/AttributePurgeTest.java
@@ -19,6 +19,7 @@ import org.eclipse.osee.framework.core.enums.CoreArtifactTypes;
import org.eclipse.osee.framework.core.enums.CoreAttributeTypes;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.model.Branch;
+import org.eclipse.osee.framework.core.operation.Operations;
import org.eclipse.osee.framework.skynet.core.mocks.DbTestUtil;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
@@ -64,7 +65,7 @@ public class AttributePurgeTest extends AbstractPurgeTest {
for (Artifact softArt : softArts) {
attributesToPurge.addAll(softArt.getAttributes(CoreAttributeTypes.StaticId));
}
- new PurgeAttribute(attributesToPurge).execute();
+ Operations.executeWorkAndCheckStatus(new PurgeAttributes(attributesToPurge));
getPostTableCount();
}

Back to the top