commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject cvs commit: jakarta-commons/digester/src/test/org/apache/commons/digester/xmlrules CallParamTestObject.java DigesterLoaderTestSuite.java
Date Thu, 23 Oct 2003 20:07:02 GMT
rdonkin     2003/10/23 13:07:02

  Modified:    digester/src/test/org/apache/commons/digester/xmlrules
                        CallParamTestObject.java
                        DigesterLoaderTestSuite.java
  Log:
  Added support for ObjectParamRule to xmlrules. Patch contributed by Anton Maslovsky.
  
  Revision  Changes    Path
  1.5       +12 -5     jakarta-commons/digester/src/test/org/apache/commons/digester/xmlrules/CallParamTestObject.java
  
  Index: CallParamTestObject.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/test/org/apache/commons/digester/xmlrules/CallParamTestObject.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- CallParamTestObject.java	9 Oct 2003 21:09:50 -0000	1.4
  +++ CallParamTestObject.java	23 Oct 2003 20:07:02 -0000	1.5
  @@ -63,7 +63,6 @@
   
   
   
  -
   /**
    * Object for use with testing call param rules.
    *
  @@ -80,7 +79,12 @@
           this.right = right;
           this.middle = middle;
       }
  -    
  +   
  +    public void duo(String left, String right) {
  +        this.left = left;
  +        this.right = right;
  +    }
  +      
       public String getLeft() {
           return left;
       }
  @@ -92,6 +96,9 @@
       public String getMiddle() {
           return middle;
       }
  +
  +
  +
       
       public String toString() {
           return "LEFT: " + left + " MIDDLE:" + middle + " RIGHT:" + right;
  
  
  
  1.6       +4 -3      jakarta-commons/digester/src/test/org/apache/commons/digester/xmlrules/DigesterLoaderTestSuite.java
  
  Index: DigesterLoaderTestSuite.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/test/org/apache/commons/digester/xmlrules/DigesterLoaderTestSuite.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DigesterLoaderTestSuite.java	9 Oct 2003 21:09:50 -0000	1.5
  +++ DigesterLoaderTestSuite.java	23 Oct 2003 20:07:02 -0000	1.6
  @@ -87,6 +87,7 @@
           TestSuite suite = new TestSuite();
           suite.addTestSuite(DigesterLoaderTest.class);
           suite.addTestSuite(DigesterPatternStackTest.class);
  +        suite.addTestSuite(DigesterLoaderRulesTest.class);
   
           return suite;
       }
  
  
  

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