cvs commit: spice/sandbox/metaclass/src/test/org/realityforge/metaclass AttributesTestCase.java
Peter Donald <[email protected]>
| Newsgroups | gmane.comp.java.spice.cvs |
|---|---|
| Message-ID | <[email protected]> |
donaldp 03/10/28 05:26:54
Modified: sandbox/metaclass/src/test/org/realityforge/metaclass
AttributesTestCase.java
Log:
Push declared attributes through ClassDescriptor constructor
Revision Changes Path
1.16 +19 -19 spice/sandbox/metaclass/src/test/org/realityforge/metaclass/AttributesTestCase.java
Index: AttributesTestCase.java
===================================================================
RCS file: /cvsroot/spice/spice/sandbox/metaclass/src/test/org/realityforge/metaclass/AttributesTestCase.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- AttributesTestCase.java 28 Oct 2003 08:15:02 -0000 1.15
+++ AttributesTestCase.java 28 Oct 2003 13:26:54 -0000 1.16
@@ -22,7 +22,7 @@
/**
*
* @author <a href="mailto:peter at realityforge.org">Peter Donald</a>
- * @version $Revision: 1.15 $ $Date: 2003/10/28 08:15:02 $
+ * @version $Revision: 1.16 $ $Date: 2003/10/28 13:26:54 $
*/
public class AttributesTestCase
extends TestCase
@@ -144,7 +144,7 @@
final ClassDescriptor descriptor =
new ClassDescriptor( AttributesTestCase.class.getName(),
- attributes,
+ attributes, attributes,
FieldDescriptor.EMPTY_SET,
MethodDescriptor.EMPTY_SET );
MetaClassIntrospector.setAccessor( new MockAccessor( descriptor ) );
@@ -184,7 +184,7 @@
final ClassDescriptor descriptor =
new ClassDescriptor( AttributesTestCase.class.getName(),
- attributes,
+ attributes, attributes,
FieldDescriptor.EMPTY_SET,
MethodDescriptor.EMPTY_SET );
MetaClassIntrospector.setAccessor( new MockAccessor( descriptor ) );
@@ -215,7 +215,7 @@
final ClassDescriptor descriptor =
new ClassDescriptor( AttributesTestCase.class.getName(),
- attributes,
+ attributes, attributes,
FieldDescriptor.EMPTY_SET,
MethodDescriptor.EMPTY_SET );
MetaClassIntrospector.setAccessor( new MockAccessor( descriptor ) );
@@ -239,7 +239,7 @@
attributes );
final ClassDescriptor descriptor =
new ClassDescriptor( AttributesTestCase.class.getName(),
- Attribute.EMPTY_SET,
+ Attribute.EMPTY_SET, Attribute.EMPTY_SET,
new FieldDescriptor[]{fieldDescriptor},
MethodDescriptor.EMPTY_SET );
MetaClassIntrospector.setAccessor( new MockAccessor( descriptor ) );
@@ -283,7 +283,7 @@
attributes );
final ClassDescriptor descriptor =
new ClassDescriptor( AttributesTestCase.class.getName(),
- Attribute.EMPTY_SET,
+ Attribute.EMPTY_SET, Attribute.EMPTY_SET,
new FieldDescriptor[]{fieldDescriptor},
MethodDescriptor.EMPTY_SET );
MetaClassIntrospector.setAccessor( new MockAccessor( descriptor ) );
@@ -319,7 +319,7 @@
attributes );
final ClassDescriptor descriptor =
new ClassDescriptor( AttributesTestCase.class.getName(),
- Attribute.EMPTY_SET,
+ Attribute.EMPTY_SET, Attribute.EMPTY_SET,
new FieldDescriptor[]{fieldDescriptor},
MethodDescriptor.EMPTY_SET );
MetaClassIntrospector.setAccessor( new MockAccessor( descriptor ) );
@@ -359,7 +359,7 @@
attributes );
final ClassDescriptor descriptor =
new ClassDescriptor( AttributesTestCase.class.getName(),
- Attribute.EMPTY_SET,
+ Attribute.EMPTY_SET, Attribute.EMPTY_SET,
FieldDescriptor.EMPTY_SET,
new MethodDescriptor[]{methodDescriptor} );
MetaClassIntrospector.setAccessor( new MockAccessor( descriptor ) );
@@ -402,7 +402,7 @@
attributes );
final ClassDescriptor descriptor =
new ClassDescriptor( AttributesTestCase.class.getName(),
- Attribute.EMPTY_SET,
+ Attribute.EMPTY_SET, Attribute.EMPTY_SET,
FieldDescriptor.EMPTY_SET,
new MethodDescriptor[]{methodDescriptor} );
MetaClassIntrospector.setAccessor( new MockAccessor( descriptor ) );
@@ -445,7 +445,7 @@
attributes );
final ClassDescriptor descriptor =
new ClassDescriptor( AttributesTestCase.class.getName(),
- Attribute.EMPTY_SET,
+ Attribute.EMPTY_SET, Attribute.EMPTY_SET,
FieldDescriptor.EMPTY_SET,
new MethodDescriptor[]{methodDescriptor} );
MetaClassIntrospector.setAccessor( new MockAccessor( descriptor ) );
@@ -464,7 +464,7 @@
Attribute.EMPTY_SET );
final ClassDescriptor descriptor =
new ClassDescriptor( AttributesTestCase.class.getName(),
- Attribute.EMPTY_SET,
+ Attribute.EMPTY_SET, Attribute.EMPTY_SET,
new FieldDescriptor[]{fieldDescriptor},
MethodDescriptor.EMPTY_SET );
final Field field = AttributesTestCase.class.getDeclaredFields()[ 0 ];
@@ -492,7 +492,7 @@
Attribute.EMPTY_SET );
final ClassDescriptor descriptor =
new ClassDescriptor( AttributesTestCase.class.getName(),
- Attribute.EMPTY_SET,
+ Attribute.EMPTY_SET, Attribute.EMPTY_SET,
FieldDescriptor.EMPTY_SET,
new MethodDescriptor[]{methodDescriptor} );
final Method method = AttributesTestCase.class.getDeclaredMethods()[ 0 ];
@@ -520,7 +520,7 @@
Attribute.EMPTY_SET );
final ClassDescriptor descriptor =
new ClassDescriptor( AttributesTestCase.class.getName(),
- Attribute.EMPTY_SET,
+ Attribute.EMPTY_SET, Attribute.EMPTY_SET,
FieldDescriptor.EMPTY_SET,
new MethodDescriptor[]{methodDescriptor} );
final Constructor constructor = AttributesTestCase.class.getDeclaredConstructors()[ 0 ];
@@ -570,7 +570,7 @@
attributes );
final ClassDescriptor descriptor =
new ClassDescriptor( AttributesTestCase.class.getName(),
- Attribute.EMPTY_SET,
+ Attribute.EMPTY_SET, Attribute.EMPTY_SET,
FieldDescriptor.EMPTY_SET,
new MethodDescriptor[]{methodDescriptor} );
MetaClassIntrospector.setAccessor( new MockAccessor( descriptor ) );
@@ -617,7 +617,7 @@
attributes );
final ClassDescriptor descriptor =
new ClassDescriptor( AttributesTestCase.class.getName(),
- Attribute.EMPTY_SET,
+ Attribute.EMPTY_SET, Attribute.EMPTY_SET,
FieldDescriptor.EMPTY_SET,
new MethodDescriptor[]{methodDescriptor} );
MetaClassIntrospector.setAccessor( new MockAccessor( descriptor ) );
@@ -662,7 +662,7 @@
attributes );
final ClassDescriptor descriptor =
new ClassDescriptor( AttributesTestCase.class.getName(),
- Attribute.EMPTY_SET,
+ Attribute.EMPTY_SET, Attribute.EMPTY_SET,
FieldDescriptor.EMPTY_SET,
new MethodDescriptor[]{methodDescriptor} );
MetaClassIntrospector.setAccessor( new MockAccessor( descriptor ) );
@@ -704,7 +704,7 @@
attributes );
final ClassDescriptor descriptor =
new ClassDescriptor( AttributesTestCase.class.getName(),
- Attribute.EMPTY_SET,
+ Attribute.EMPTY_SET, Attribute.EMPTY_SET,
FieldDescriptor.EMPTY_SET,
new MethodDescriptor[]{methodDescriptor} );
MetaClassIntrospector.setAccessor( new MockAccessor( descriptor ) );
@@ -734,7 +734,7 @@
attributes );
final ClassDescriptor descriptor =
new ClassDescriptor( AttributesTestCase.class.getName(),
- Attribute.EMPTY_SET,
+ Attribute.EMPTY_SET, Attribute.EMPTY_SET,
FieldDescriptor.EMPTY_SET,
new MethodDescriptor[]{methodDescriptor} );
MetaClassIntrospector.setAccessor( new MockAccessor( descriptor ) );
@@ -757,7 +757,7 @@
Attribute.EMPTY_SET );
final ClassDescriptor descriptor =
new ClassDescriptor( AttributesTestCase.class.getName(),
- Attribute.EMPTY_SET,
+ Attribute.EMPTY_SET, Attribute.EMPTY_SET,
FieldDescriptor.EMPTY_SET,
new MethodDescriptor[]{methodDescriptor} );
MetaClassIntrospector.setAccessor( new MockAccessor( descriptor ) );
-------------------------------------------------------
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/