Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/TestArtifactRepository.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/TestArtifactRepository.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/TestArtifactRepository.java
index 7b1ae7bea..6b50cf744 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/TestArtifactRepository.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/TestArtifactRepository.java
@@ -209,6 +209,16 @@ public class TestArtifactRepository implements IArtifactRepository {
}
}
+ public void removeDescriptors(IArtifactDescriptor[] descriptors) {
+ for (IArtifactDescriptor descriptor : descriptors)
+ removeDescriptor(descriptor);
+ }
+
+ public void removeDescriptors(IArtifactKey[] keys) {
+ for (IArtifactKey key : keys)
+ removeDescriptor(key);
+ }
+
public String getDescription() {
return description;
}

Back to the top