cvs commit: spice/sandbox/metaclass/src/test/org/realityforge/metaclass/model FieldDescriptorTestCase.java
Peter Donald <[email protected]>
| Newsgroups | gmane.comp.java.spice.cvs |
|---|---|
| Message-ID | <[email protected]> |
donaldp 03/10/28 05:34:22
Modified: sandbox/metaclass/src/test/org/realityforge/metaclass/model
FieldDescriptorTestCase.java
Log:
Pushed delcaredAttributes through FieldDescriptor
Revision Changes Path
1.2 +4 -4 spice/sandbox/metaclass/src/test/org/realityforge/metaclass/model/FieldDescriptorTestCase.java
Index: FieldDescriptorTestCase.java
===================================================================
RCS file: /cvsroot/spice/spice/sandbox/metaclass/src/test/org/realityforge/metaclass/model/FieldDescriptorTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- FieldDescriptorTestCase.java 28 Oct 2003 11:23:18 -0000 1.1
+++ FieldDescriptorTestCase.java 28 Oct 2003 13:34:22 -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:23:18 $
+ * @version $Revision: 1.2 $ $Date: 2003/10/28 13:34:22 $
*/
public class FieldDescriptorTestCase
extends TestCase
@@ -21,7 +21,7 @@
throws Exception
{
final FieldDescriptor descriptor =
- new FieldDescriptor( "x", "int", Attribute.EMPTY_SET );
+ new FieldDescriptor( "x", "int", Attribute.EMPTY_SET, Attribute.EMPTY_SET );
assertEquals( "name", "x", descriptor.getName() );
assertEquals( "type", "int", descriptor.getType() );
}
@@ -31,7 +31,7 @@
{
try
{
- new FieldDescriptor( null, "int", Attribute.EMPTY_SET );
+ new FieldDescriptor( null, "int", Attribute.EMPTY_SET, Attribute.EMPTY_SET );
}
catch( final NullPointerException npe )
{
@@ -46,7 +46,7 @@
{
try
{
- new FieldDescriptor( "blah", null, Attribute.EMPTY_SET );
+ new FieldDescriptor( "blah", null, Attribute.EMPTY_SET, Attribute.EMPTY_SET );
}
catch( final NullPointerException npe )
{
-------------------------------------------------------
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/