--- /dev/null
+/*
+ * Created on Jul 31, 2004
+ *
+ * To change the template for this generated file go to
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+package net.sourceforge.phpeclipse.phpunit;
+
+import java.util.HashMap;
+
+/**
+ * @author Ali Echihabi
+ *
+ * To change the template for this generated type comment go to
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+public class TestPool {
+
+ private HashMap tests;
+
+ public TestPool() {
+
+ tests = new HashMap();
+ }
+
+ public void addTest(TestCase test) {
+
+ tests.put(test.getTestID(), test);
+
+ }
+
+ public TestCase getTest(String testID) {
+
+ return (TestCase) tests.get(testID);
+ }
+
+}