You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by fr...@apache.org on 2002/01/20 15:25:47 UTC
cvs commit: jakarta-commons-sandbox/simplestore/src/test/org/apache/commons/simplestore TestMRUMemoryStore.java TestAll.java
froehlich 02/01/20 06:25:47
Modified: simplestore/src/test/org/apache/commons/simplestore
TestMRUMemoryStore.java TestAll.java
Log:
added new test case
Revision Changes Path
1.2 +2 -1 jakarta-commons-sandbox/simplestore/src/test/org/apache/commons/simplestore/TestMRUMemoryStore.java
Index: TestMRUMemoryStore.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/simplestore/src/test/org/apache/commons/simplestore/TestMRUMemoryStore.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TestMRUMemoryStore.java 20 Jan 2002 13:59:36 -0000 1.1
+++ TestMRUMemoryStore.java 20 Jan 2002 14:25:47 -0000 1.2
@@ -17,7 +17,7 @@
/**
* @author Gerhard Froehlich <a href="mailto:g-froehlich@gmx.de">
* g-froehlich@gmx.de</a>
- * @version $Id: TestMRUMemoryStore.java,v 1.1 2002/01/20 13:59:36 froehlich Exp $
+ * @version $Id: TestMRUMemoryStore.java,v 1.2 2002/01/20 14:25:47 froehlich Exp $
*/
public class TestMRUMemoryStore extends TestMap
{
@@ -49,6 +49,7 @@
}
public void testSearch() {
+ System.out.println("Testing MRUMemoryStore plain");
map.put("first", "First Item");
map.put("second", "Second Item");
assertEquals("Top item is 'Second Item'", map.get("first"), "First Item");
1.2 +2 -2 jakarta-commons-sandbox/simplestore/src/test/org/apache/commons/simplestore/TestAll.java
Index: TestAll.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/simplestore/src/test/org/apache/commons/simplestore/TestAll.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TestAll.java 20 Jan 2002 13:59:36 -0000 1.1
+++ TestAll.java 20 Jan 2002 14:25:47 -0000 1.2
@@ -13,7 +13,7 @@
/**
* @author Gerhard Froehlich <a href="mailto:g-froehlich@gmx.de">
* g-froehlich@gmx.de</a>
- * @version $Id: TestAll.java,v 1.1 2002/01/20 13:59:36 froehlich Exp $
+ * @version $Id: TestAll.java,v 1.2 2002/01/20 14:25:47 froehlich Exp $
*/
public class TestAll extends TestCase {
public TestAll(String testName) {
@@ -22,7 +22,7 @@
public static Test suite() {
TestSuite suite = new TestSuite();
- //suite.addTest(TestSoftRefMemoryStore.suite());
+ suite.addTest(TestSoftRefMemoryStore.suite());
suite.addTest(TestMRUMemoryStore.suite());
//suite.addTest(JispFilesystemStore.suite());
return suite;
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>