cvs commit: spice/sandbox/metaclass/src/test/org/realityforge/metaclass/model ClassDescriptorTestCase.java

Peter Donald <[email protected]>
Newsgroups gmane.comp.java.spice.cvs
Message-ID <[email protected]>
donaldp     03/10/28 05:26:55

  Modified:    sandbox/metaclass/src/test/org/realityforge/metaclass/model
                        ClassDescriptorTestCase.java
  Log:
  Push declared attributes through ClassDescriptor constructor
  
  Revision  Changes    Path
  1.2       +7 -1      spice/sandbox/metaclass/src/test/org/realityforge/metaclass/model/ClassDescriptorTestCase.java
  
  Index: ClassDescriptorTestCase.java
  ===================================================================
  RCS file: /cvsroot/spice/spice/sandbox/metaclass/src/test/org/realityforge/metaclass/model/ClassDescriptorTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ClassDescriptorTestCase.java	28 Oct 2003 11:37:25 -0000	1.1
  +++ ClassDescriptorTestCase.java	28 Oct 2003 13:26:55 -0000	1.2
  @@ -12,7 +12,7 @@
   /**
    *
    * @author <a href="mailto:peter at realityforge.org">Peter Donald</a>
  - * @version $Revision: 1.1 $ $Date: 2003/10/28 11:37:25 $
  + * @version $Revision: 1.2 $ $Date: 2003/10/28 13:26:55 $
    */
   public class ClassDescriptorTestCase
       extends TestCase
  @@ -24,6 +24,7 @@
           {
               new ClassDescriptor( null,
                                    Attribute.EMPTY_SET,
  +                                 Attribute.EMPTY_SET,
                                    FieldDescriptor.EMPTY_SET,
                                    MethodDescriptor.EMPTY_SET );
           }
  @@ -42,6 +43,7 @@
           {
               new ClassDescriptor( "MyClass",
                                    Attribute.EMPTY_SET,
  +                                 Attribute.EMPTY_SET,
                                    null,
                                    MethodDescriptor.EMPTY_SET );
           }
  @@ -60,6 +62,7 @@
           {
               new ClassDescriptor( "MyClass",
                                    Attribute.EMPTY_SET,
  +                                 Attribute.EMPTY_SET,
                                    new FieldDescriptor[]{null},
                                    MethodDescriptor.EMPTY_SET );
           }
  @@ -78,6 +81,7 @@
           {
               new ClassDescriptor( "MyClass",
                                    Attribute.EMPTY_SET,
  +                                 Attribute.EMPTY_SET,
                                    FieldDescriptor.EMPTY_SET,
                                    null );
           }
  @@ -96,6 +100,7 @@
           {
               new ClassDescriptor( "MyClass",
                                    Attribute.EMPTY_SET,
  +                                 Attribute.EMPTY_SET,
                                    FieldDescriptor.EMPTY_SET,
                                    new MethodDescriptor[]{null} );
           }
  @@ -112,6 +117,7 @@
       {
           final ClassDescriptor descriptor =
               new ClassDescriptor( "X",
  +                                 Attribute.EMPTY_SET,
                                    Attribute.EMPTY_SET,
                                    FieldDescriptor.EMPTY_SET,
                                    MethodDescriptor.EMPTY_SET );
  
  
  


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.