commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwaldh...@apache.org
Subject cvs commit: jakarta-commons/pool/src/test/org/apache/commons/pool TestKeyedObjectPool.java
Date Thu, 24 Apr 2003 17:44:09 GMT
rwaldhoff    2003/04/24 10:44:09

  Modified:    pool/src/test/org/apache/commons/pool
                        TestKeyedObjectPool.java
  Log:
  rename some test methods
  
  Revision  Changes    Path
  1.4       +10 -10    jakarta-commons/pool/src/test/org/apache/commons/pool/TestKeyedObjectPool.java
  
  Index: TestKeyedObjectPool.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/pool/src/test/org/apache/commons/pool/TestKeyedObjectPool.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestKeyedObjectPool.java	7 Mar 2003 20:28:36 -0000	1.3
  +++ TestKeyedObjectPool.java	24 Apr 2003 17:44:08 -0000	1.4
  @@ -97,7 +97,7 @@
           _pool = null;
       }
       
  -    public void testBorrow() throws Exception {
  +    public void testBaseBorrow() throws Exception {
           try {
               _pool = makeEmptyPool(3);
           } catch(IllegalArgumentException e) {
  @@ -113,7 +113,7 @@
           assertEquals("6",getNthObject(keya,2),_pool.borrowObject(keya));
       }
   
  -    public void testBorrowReturn() throws Exception {
  +    public void testBaseBorrowReturn() throws Exception {
           try {
               _pool = makeEmptyPool(3);
           } catch(IllegalArgumentException e) {
  @@ -140,7 +140,7 @@
           assertEquals(getNthObject(keya,0),obj0);
       }
   
  -    public void testNumActiveNumIdle() throws Exception {
  +    public void testBaseNumActiveNumIdle() throws Exception {
           try {
               _pool = makeEmptyPool(3);
           } catch(IllegalArgumentException e) {
  @@ -166,7 +166,7 @@
           assertEquals(0,_pool.getNumIdle("xyzzy12345"));
       }
   
  -    public void testNumActiveNumIdle2() throws Exception {
  +    public void testBaseNumActiveNumIdle2() throws Exception {
           try {
               _pool = makeEmptyPool(6);
           } catch(IllegalArgumentException e) {
  @@ -222,7 +222,7 @@
           assertEquals(2,_pool.getNumIdle(keyb));
       }
   
  -    public void testClear() throws Exception {
  +    public void testBaseClear() throws Exception {
           try {
               _pool = makeEmptyPool(3);
           } catch(IllegalArgumentException e) {
  @@ -246,7 +246,7 @@
           assertEquals(getNthObject(keya,2),obj2);
       }
   
  -    public void testInvalidateObject() throws Exception {
  +    public void testBaseInvalidateObject() throws Exception {
           try {
               _pool = makeEmptyPool(3);
           } catch(IllegalArgumentException e) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message