Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/model/ITestUnitProvider.java')
-rw-r--r--plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/model/ITestUnitProvider.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/model/ITestUnitProvider.java b/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/model/ITestUnitProvider.java
new file mode 100644
index 00000000000..81519c809ac
--- /dev/null
+++ b/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/model/ITestUnitProvider.java
@@ -0,0 +1,29 @@
+/*
+ * Created on Jan 2, 2010
+ *
+ * PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
+ */
+package org.eclipse.osee.coverage.model;
+
+import java.util.Collection;
+import org.eclipse.osee.framework.core.exception.OseeCoreException;
+
+/**
+ * Allow external mechnism for test units to be provided to UI
+ *
+ * @author Donald G. Dunne
+ */
+public interface ITestUnitProvider {
+
+ public Collection<String> getTestUnits(CoverageItem coverageItem) throws OseeCoreException;
+
+ public void addTestUnit(CoverageItem coverageItem, String testUnitName) throws OseeCoreException;
+
+ public void removeTestUnit(CoverageItem coverageItem, String testUnitName) throws OseeCoreException;
+
+ public void setTestUnits(CoverageItem coverageItem, Collection<String> testUnitNames) throws OseeCoreException;
+
+ public String toXml(CoverageItem coverageItem) throws OseeCoreException;
+
+ public void fromXml(CoverageItem coverageItem, String xml) throws OseeCoreException;
+}

Back to the top