You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by jv...@apache.org on 2002/03/10 03:58:29 UTC

cvs commit: jakarta-commons-sandbox/betwixt/src/test/org/apache/commons/betwixt TestXMLIntrospector.java

jvanzyl     02/03/09 18:58:29

  Modified:    betwixt/src/test/org/apache/commons/betwixt
                        TestXMLIntrospector.java
  Log:
  The default behaviour is now to take primitive values from elements, so just
  fixing this test to take primitive values from attributes as this what's this
  is the feature this test exercises.
  
  Revision  Changes    Path
  1.7       +6 -5      jakarta-commons-sandbox/betwixt/src/test/org/apache/commons/betwixt/TestXMLIntrospector.java
  
  Index: TestXMLIntrospector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/betwixt/src/test/org/apache/commons/betwixt/TestXMLIntrospector.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TestXMLIntrospector.java	9 Feb 2002 12:05:23 -0000	1.6
  +++ TestXMLIntrospector.java	10 Mar 2002 02:58:29 -0000	1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons-sandbox/betwixt/src/test/org/apache/commons/betwixt/TestXMLIntrospector.java,v 1.6 2002/02/09 12:05:23 rdonkin Exp $
  - * $Revision: 1.6 $
  - * $Date: 2002/02/09 12:05:23 $
  + * $Header: /home/cvs/jakarta-commons-sandbox/betwixt/src/test/org/apache/commons/betwixt/TestXMLIntrospector.java,v 1.7 2002/03/10 02:58:29 jvanzyl Exp $
  + * $Revision: 1.7 $
  + * $Date: 2002/03/10 02:58:29 $
    *
    * ====================================================================
    *
  @@ -57,7 +57,7 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    * 
  - * $Id: TestXMLIntrospector.java,v 1.6 2002/02/09 12:05:23 rdonkin Exp $
  + * $Id: TestXMLIntrospector.java,v 1.7 2002/03/10 02:58:29 jvanzyl Exp $
    */
   package org.apache.commons.betwixt;
   
  @@ -72,7 +72,7 @@
   /** Test harness for the XMLIntrospector
     *
     * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
  -  * @version $Revision: 1.6 $
  +  * @version $Revision: 1.7 $
     */
   public class TestXMLIntrospector extends AbstractTestCase {
       
  @@ -90,6 +90,7 @@
       
       public void testIntrospector() throws Exception {
           XMLIntrospector introspector = new XMLIntrospector();
  +        introspector.setAttributesForPrimitives(true);
           
           Object bean = createBean();
           
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>