mx4j/src/test/test/javax/management/openmbean ArrayTypeTest.java,1.6,1.7
Jeremy Boynes <[email protected]> Tue, 08 Feb 2005 07:32:38 +0000
| Newsgroups | gmane.comp.java.mx4j.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mx4j/mx4j/src/test/test/javax/management/openmbean
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31643/src/test/test/javax/management/openmbean
Modified Files:
ArrayTypeTest.java
Log Message:
Fix for [ 1115589 ] ArrayType.isValue does not handle multidimensional arrays
Added testcase
Index: ArrayTypeTest.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/test/test/javax/management/openmbean/ArrayTypeTest.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** ArrayTypeTest.java 13 Nov 2004 16:38:24 -0000 1.6
--- ArrayTypeTest.java 8 Feb 2005 07:32:36 -0000 1.7
***************
*** 91,94 ****
--- 91,98 ----
assertTrue("Expecting equality for wine matrix", winematrix.isValue(matrix));
assertFalse("Expecting inequality for wine vector", winematrix.isValue(winecellar));
+
+ winematrix = new ArrayType(2, wine);
+ CompositeData[][] matrix2 = new CompositeData[1][1];
+ assertTrue("Expecting equality for wine matrix", winematrix.isValue(matrix2));
}
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click