commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morgan Delagrange" <mdela...@yahoo.com>
Subject Release version constant in TestObject [was: Re: cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestObject.java]
Date Mon, 25 Feb 2002 18:11:47 GMT
Sorry, I didn't notice this email initially.  This constant makes it
possible for TestMap (and other subclasses, if necessary) to automatically
check CVS for a versionX copy of a Serialized object, so we can make sure
that compatibility is maintained.  See, for example,
TestMap.getCanonicalFullMapName(Map map).

I'll check in a comment to that effect.

- Morgan

----- Original Message -----
From: "Daniel Rall" <dlr@finemaltcoding.com>
To: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>
Sent: Friday, February 22, 2002 5:22 PM
Subject: Re: cvs commit:
jakarta-commons/collections/src/test/org/apache/commons/collections
TestObject.java


> What's the point of this one (just curious)?
>
> morgand@apache.org writes:
>
> > morgand     02/02/22 14:01:32
> >
> >   Modified:    collections/src/test/org/apache/commons/collections
> >                         TestObject.java
> >   Log:
> >   constant to indicate which major release we are working on
> >
> >   Revision  Changes    Path
> >   1.4       +6 -4
jakarta-commons/collections/src/test/org/apache/commons/collections/TestObje
ct.java
> >
> >   Index: TestObject.java
> >   ===================================================================
> >   RCS file:
/home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collection
s/TestObject.java,v
> >   retrieving revision 1.3
> >   retrieving revision 1.4
> >   diff -u -r1.3 -r1.4
> >   --- TestObject.java 22 Feb 2002 02:18:50 -0000 1.3
> >   +++ TestObject.java 22 Feb 2002 22:01:32 -0000 1.4
> >   @@ -1,7 +1,7 @@
> >    /*
> >   - * $Header:
/home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collection
s/TestObject.java,v 1.3 2002/02/22 02:18:50 mas Exp $
> >   - * $Revision: 1.3 $
> >   - * $Date: 2002/02/22 02:18:50 $
> >   + * $Header:
/home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collection
s/TestObject.java,v 1.4 2002/02/22 22:01:32 morgand Exp $
> >   + * $Revision: 1.4 $
> >   + * $Date: 2002/02/22 22:01:32 $
> >     *
> >     *
====================================================================
> >     *
> >   @@ -90,12 +90,14 @@
> >     * test case (method) your {@link Object} fails.
> >     *
> >     * @author Rodney Waldhoff
> >   - * @version $Id: TestObject.java,v 1.3 2002/02/22 02:18:50 mas Exp $
> >   + * @version $Id: TestObject.java,v 1.4 2002/02/22 22:01:32 morgand
Exp $
> >     */
> >    public abstract class TestObject extends TestCase {
> >        public TestObject(String testName) {
> >            super(testName);
> >        }
> >   +
> >   +    public static final String COLLECTIONS_VERSION = "version2";
> >
> >        /**
> >         * Return a new, empty {@link Object} to used for testing.
>
> --
> To unsubscribe, e-mail:
<mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:commons-dev-help@jakarta.apache.org>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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


Mime
View raw message