You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by le...@apache.org on 2004/03/21 01:02:58 UTC

cvs commit: jakarta-commons-sandbox/attributes/unittest/src/cl2 TestClass.java

leosutic    2004/03/20 16:02:58

  Modified:    attributes/unittest/src/cl2 TestClass.java
  Log:
  Changed the class to provide a better test for the AttributeIndex.
  
  Revision  Changes    Path
  1.5       +22 -2     jakarta-commons-sandbox/attributes/unittest/src/cl2/TestClass.java
  
  Index: TestClass.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/attributes/unittest/src/cl2/TestClass.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TestClass.java	19 Feb 2004 14:49:14 -0000	1.4
  +++ TestClass.java	21 Mar 2004 00:02:58 -0000	1.5
  @@ -15,13 +15,33 @@
    */
   
   /**
  - * @@TestAttribute ("2")
  + * @@TestAttribute ("TestClass")
    */
   public class TestClass {
       
       /**
  -     * @@TestAttribute ("2inner")
  +     * @@TestAttribute ("TestClass.ctor")
  +     * @@.parameter TestAttribute ("TestClass.ctor.parameter")
  +     */
  +    public TestClass (int parameter) {
  +    }
  +    
  +    /**
  +     * @@TestAttribute ("TestClass.Inner")
        */
       public static class Inner {}
       
  +    /**
  +     * @@TestAttribute ("TestClass.field")
  +     */
  +    public Object field = null;
  +    
  +    /**
  +     * @@TestAttribute ("TestClass.method")
  +     * @@.parameter TestAttribute ("TestClass.method.parameter")
  +     * @@.return TestAttribute ("TestClass.method.return")
  +     */
  +    public Object method (int parameter) {
  +        return null;
  +    }
   }
  
  
  

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