commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections AbstractTestObject.java
Date Fri, 09 Apr 2004 15:17:11 GMT
scolebourne    2004/04/09 08:17:11

  Modified:    collections/src/test/org/apache/commons/collections/map
                        AbstractTestSortedMap.java
               collections/src/test/org/apache/commons/collections
                        AbstractTestObject.java
  Log:
  Disable sub map serializable tests
  
  Revision  Changes    Path
  1.8       +5 -1      jakarta-commons/collections/src/test/org/apache/commons/collections/map/AbstractTestSortedMap.java
  
  Index: AbstractTestSortedMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/map/AbstractTestSortedMap.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- AbstractTestSortedMap.java	9 Apr 2004 15:04:29 -0000	1.7
  +++ AbstractTestSortedMap.java	9 Apr 2004 15:17:11 -0000	1.8
  @@ -161,6 +161,10 @@
           public boolean supportsFullCollections() {
               return false;
           }
  +        public void testSimpleSerialization() throws Exception {
  +            if (main.isSubMapViewsSerializable() == false) return;
  +            super.testSimpleSerialization();
  +        }
           public void testSerializeDeserializeThenCompare() throws Exception {
               if (main.isSubMapViewsSerializable() == false) return;
               super.testSerializeDeserializeThenCompare();
  
  
  
  1.5       +2 -2      jakarta-commons/collections/src/test/org/apache/commons/collections/AbstractTestObject.java
  
  Index: AbstractTestObject.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/AbstractTestObject.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AbstractTestObject.java	18 Feb 2004 01:20:35 -0000	1.4
  +++ AbstractTestObject.java	9 Apr 2004 15:17:11 -0000	1.5
  @@ -144,7 +144,7 @@
        * @throws IOException
        * @throws ClassNotFoundException
        */
  -    public void testSimpleSerialization() throws IOException, ClassNotFoundException {
  +    public void testSimpleSerialization() throws Exception {
           Object o = makeObject();
           if (o instanceof Serializable) {
               byte[] objekt = writeExternalFormToBytes((Serializable) o);
  
  
  

---------------------------------------------------------------------
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