[Jboss-cvs] JBossAS SVN: r56193 - trunk/testsuite/src/main/org/jboss/test/cluster/test

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Aug 23 15:11:56 EDT 2006


Author: bstansberry at jboss.com
Date: 2006-08-23 15:11:55 -0400 (Wed, 23 Aug 2006)
New Revision: 56193

Modified:
   trunk/testsuite/src/main/org/jboss/test/cluster/test/FamilyClusterInfoUnitTestCase.java
Log:
[JBAS-3427] FamilyClusterInfo methods should return List, not ArrayList

Modified: trunk/testsuite/src/main/org/jboss/test/cluster/test/FamilyClusterInfoUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/test/FamilyClusterInfoUnitTestCase.java	2006-08-23 19:08:58 UTC (rev 56192)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/test/FamilyClusterInfoUnitTestCase.java	2006-08-23 19:11:55 UTC (rev 56193)
@@ -185,7 +185,7 @@
       ClusteringTargetsRepository.initTarget("testSynchronization", targets, 0);
       FamilyClusterInfo fci = ClusteringTargetsRepository.getFamilyClusterInfo("testSynchronization");
       
-      ArrayList fciTargets = fci.getTargets();
+      List fciTargets = fci.getTargets();
       
       try 
       { 
@@ -210,13 +210,6 @@
       
       try 
       { 
-         fciTargets.ensureCapacity(5);
-         fail("ensureCapacity call did not fail");
-      } 
-      catch (UnsupportedOperationException good) {}
-      
-      try 
-      { 
          fciTargets.remove(0);
          fail("remove call did not fail");
       } 
@@ -231,13 +224,6 @@
       
       try 
       { 
-         fciTargets.trimToSize();
-         fail("trimToSize call did not fail");
-      } 
-      catch (UnsupportedOperationException good) {}
-      
-      try 
-      { 
          fciTargets.removeAll(targets);
          fail("removeAll call did not fail");
       } 




More information about the jboss-cvs-commits mailing list