Commit Graph
159 Commits
Author SHA1 Message Date
Gert Driesen 9c4805562a * DeserializeTests.cs: Enabled tests for bug #77530.
* XmlSerializerTests.cs: Enabled tests for bug #77530.
* XmlTypeMapping.cs: EnumMapMember now also stores value for enums.
Modified EnumMapping.GetXmlName to use XmlCustomFormatter to support
serialization of integral value to enum constant name, and made sure
the exceptions we throw match those of MSFT. In EnumMapping.GetEnumName
throw InvalidOperationException if no matching enum constant exists.
In EnumMap ctor, initialize arrays holding XML names, enum names and
enum values.
* XmlSerializationReaderInterpreter.cs: Pass full type name to
EnumMapping.GetEnumName for construction of exception message.
* XmlSerializer.cs: In Deserialize, wrap InvalidOperationException
and InvalidCastException in another InvalidOperationException to match
MSFT. In Serialize, wrap InvalidOperationException, InvalidCastException
and the inner exception for a TargetInvocationException in an
InvalidOperationException to match MSFT.
* SerializationCodeGenerator.cs: In GenerateGetXmlEnumValue, use
XmlCustomFormatter.FromEnum in order to also support serialization
integral value to enum constant name. In 2.0 profile, throw
InvalidOperationException if numeric value cannot be serialized into
an enum constant value. In GenerateSingleEnumValue, no longer attempt
to parse unknown constant value but instead report it as
InvalidOperationException. Use string.Length instead of "" comparison
to check whether a string is empty. Fixed compiler warnings in
generated code (possible empty statement).
* XmlSerializationWriterInterpreter.cs: Pass full type name to
EnumMap.GetXmlName.
* XmlSchemaImporter.cs: Pass full type name to EnumMap.GetEnumName
to allow it to be used in exception messag* XmlReflectionImporter.cs.
Use FieldInfo instead of MemberInfo for enum fields. Use IsDefined 
instead of GetCustomAttributes for checking if a certain attribute
 is defined. Use integral value of enum constant in EnumMapMember ctor.
* SoapReflectionImporter.cs: Use FieldInfo instead of MemberInfo for
enum fields. Use IsDefined instead of GetCustomAttributes for checking
if a certain attribute is defined. Use integral value of enum constant
in EnumMapMember ctor.
es.

svn path=/trunk/mcs/; revision=57761
2006-03-10 04:37:54 +00:00
Lluis Sanchez e087a00fc0 2006-03-07 Lluis Sanchez Gual <[email protected]>
* System.Xml.Serialization/XmlSerializerTestClasses.cs:
	* System.Xml.Serialization/XmlSerializerTests.cs: Added tests
	  for XmlSchemaForm.


svn path=/trunk/mcs/; revision=57662
2006-03-07 19:25:14 +00:00
Gert Driesen e9f16365f6 * TypeData.cs: Fixed the following issues when dealing with Array
SchemaType:
- if a type implements IDictionary, throw a NotSupportedException
- if a type implements ICollection, then an Add method must exist
  which takes a single argument of a type to which the listitem type
  is assignable (meaning a base type or an interface that it
  implements). If such a method does not exist, then throw an
  InvalidOperationException.
- if a type implements IEnumerable, then the listitem type is
  determined by the type of the Current property of the (IEnumerator)
  type returned by the GetEnumerator() method or the private
  implementation of IEnumerable.GetEnumerator(). If there's no
  public Current property on the IEnumerator, then System.Object
  is assumed as listitem type. Similar as for types implementing
  ICollection, an Add method must exist which takes a single argument
  of a type to which the listitem type is assignable (meaning a base
  type or an interface that it implements). If such a method does not
  exist, then throw an InvalidOperationException.
* XmlReflectionImporter.cs: Enabled few tests for bug #77531.
* SoapReflectionImporter.cs: Enabled few tests for bug #77531.

svn path=/trunk/mcs/; revision=56956
2006-02-16 18:46:54 +00:00
Lluis Sanchez 648d3f7b0d 2006-02-16 Lluis Sanchez Gual <[email protected]>
* XmlSchemaImporterTests.cs: Added test for bug #76848.


svn path=/trunk/mcs/; revision=56949
2006-02-16 17:01:50 +00:00
Gert Driesen ba2802da94 * XmlRootAttributeTests.cs: Set eol-style to CRLF.
* SoapTypeAttributeTests.cs: Same.
* XmlIncludeAttributeTests.cs: Same.
* XmlTextAttributeTests.cs: Same.
* XmlSerializerTests.cs: Same.
* SoapIncludeAttributeTests.cs: Same.
* XmlSerializationWriterTests.cs: Same.
* XmlElementAttributeTests.cs: Same.
* ComplexDataStructure.cs: Same.
* DeserializerTests.cs: Same.
* SoapElementAttributeTests.cs: Same.
* XmlChoiceIdentifierAttributeTests.cs: Same.
* XmlArrayItemAttributeTests.cs: Same.
* XmlAnyElementAttributeTests.cs: Same.
* XmlAttributesTests.cs: Same.
* XmlAttributeAttributeTests.cs: Same.
* XmlEnumAttributeTests.cs: Same.
* SoapAttributeAttributeTests.cs: Same.
* SoapEnumAttributeTests.cs: Same.
* SoapSchemaMemberTests.cs: Same.
* XmlArrayAttributeTests.cs: Same.
* XmlSerializerTestClasses.cs: Same.
* XmlSchemaImporterTests.cs: Set eol-style to native.


svn path=/trunk/mcs/; revision=56801
2006-02-11 15:39:17 +00:00
Gert Driesen 919663d3dd * XmlReflectionImporterTests.cs: Added test for IDictionary import. Set eol
style to CRLF.
* SoapReflectionImporterTests.cs: Added test for IDictionary import.

svn path=/trunk/mcs/; revision=56800
2006-02-11 14:16:27 +00:00
Gert Driesen 8ecc0d6b83 * XmlSerializerTestClasses.cs: Fixed line endings (sigh).
svn path=/trunk/mcs/; revision=56799
2006-02-11 13:50:03 +00:00
Gert Driesen 2c926f4814 * XmlSerializerTests.cs: Numbered some tests.
* DeserializerTests.cs: Added tests for deserialization of enums, and primitive
types container.

svn path=/trunk/mcs/; revision=56768
2006-02-10 18:50:02 +00:00
Gert Driesen 6dfc560a70 * XmlSerializerTests.cs: Fixed build after failed merge (time to call it a
day, I guess)

svn path=/trunk/mcs/; revision=56723
2006-02-09 21:02:39 +00:00
Gert Driesen 1403a33280 * XmlTypeMapping.cs: Modified GetRealTypeMap to return current map if map
represents enum. Fixes bug #77501.
* XmlSerializerTests.cs: Added test for bug #77501. Added tests for XML and
encoded serialization of enums.

svn path=/trunk/mcs/; revision=56722
2006-02-09 20:55:36 +00:00
Gert Driesen ed446584f3 * SoapReflectionImporterTests.cs: Marked test NotDotNet.
svn path=/trunk/mcs/; revision=56718
2006-02-09 17:37:18 +00:00
Lluis Sanchez af09017623 2006-02-09 Lluis Sanchez Gual <[email protected]>
* XmlSerializerTests.cs, XmlSerializerTestClasses.cs: Added test
	for bug #77447.


svn path=/trunk/mcs/; revision=56717
2006-02-09 17:10:04 +00:00
Gert Driesen 223b3ff60b * XmlSerializerTests.cs: Added constants for usage in new tests. Added methods
for encoded serialization. Fixed line endings.

svn path=/trunk/mcs/; revision=56715
2006-02-09 17:03:13 +00:00
Gert Driesen c64e0ec874 * XmlSerializerTestClasses.cs: Added test classes.
svn path=/trunk/mcs/; revision=56713
2006-02-09 16:54:13 +00:00
Gert Driesen fe34bc872c * XmlSerializationWriterTests.cs: Use Assert instead of deprecated
Assertion class. Added tests for FromEnum, WriteXsiType, 
WriteTypedPrimitive and WritePotentiallyReferencingElement. Changed
accessibility of Reset and Content on XmlSerializationWriterTester
and added public Execute methods for WritePotentiallyReferencingElement
and WriteTypedPrimitive, to allow this class to be useful for tests
that have effect on the prefix for other tests.
* XmlSerializationReaderTests.cs: Added tests for ToEnum.
* System.Xml_test.dll.Sources: Added XmlSerializationReaderTests.cs.
* XmlSerializationWriter.cs: Implemented 2.0 version of FromEnum, and
CreateInvalidEnumValueException. Set eol-style to native.
* XmlCustomerFormatter.cs: Added FromEnum overload that takes name of
enum for which string value must be created. Set eol-style to native.
Modified FromEnum to behave more like MSFT's implementation:
- treat value as bit field.
- no longer return empty string if the value matches an id for which there's 
no corresponding name.
- if one of the ids has value 0 and there's a match for the enum value
(with a zero length XML name) or the enum value is 0, then return the 
corresponding XML for the id with value 0.
- in 2.0 profile, throw InvalidOperationException if no match is found
for (part of) the enum value.
Modifies ToEnum to match the MSFT implementation (as described in
.NET 2.0 SDK):
- Expect hashtable containing enum names as key, and corresponding
integral numbers as value.
- Do not report exception for whitespace-only value.
- Support space (MS docs are not clear about this) delimited list 
of names.
- typeName is only used to construct exception message.

svn path=/trunk/mcs/; revision=56700
2006-02-09 13:30:02 +00:00
Gert Driesen 7406b143c4 * XmlTypeAttributeTests.cs: Set eol-style to native.
* All: removed bogus eol-style property.

svn path=/trunk/mcs/; revision=56679
2006-02-08 13:40:24 +00:00
Gert Driesen 38110e57fb Realy really test eol-style on simple test file, to retrict possible damage;-)
svn path=/trunk/mcs/; revision=56678
2006-02-08 13:38:15 +00:00
Gert Driesen 18e72343e9 * XmlTextAttributeTests.cs: Set eol-style to native.
* XmlTypeAttributeTests.cs: Same.
* XmlSerializerTestClasses.cs: Same.
* XmlSerializerTests.cs: Same.
* XmlSerializationWriterTests.cs: Same.
* XmlRootAttributeTests.cs: Same.
* XmlReflectionImporterTests.cs: Same.
* XmlIncludeAttributeTests.cs: Same.
* XmlEnumAttributeTests.cs: Same.
* XmlElementAttributeTests.cs: Same.
* XmlChoiceIdentifierAttributeTests.cs: Same.
* XmlAttributesTests.cs: Same.
* XmlAttributeAttributeTests.cs: Same.
* XmlArrayItemAttributeTests.cs: Same.
* XmlArrayAttributeTests.cs: Same.
* XmlAnyElementAttributeTests.cs: Same.
* SoapTypeAttributeTests.cs: Same.
* SoapSchemaMemberTests.cs: Same.
* SoapAttributeAttribute.cs: Same.
* SoapElementAttributeTests.cs: Same.
* SoapEnumAttributeTests.cs: Same.
* SoapIncludeAttributeTests.cs: Same.
* ComplexDataStructure.cs: Same.
* DeserializeTests.cs: Same.

svn path=/trunk/mcs/; revision=56677
2006-02-08 13:28:13 +00:00
Gert Driesen fe970fe414 * DeserializeTests.cs: Use Assert instead of deprecated Assertion. Renumbered
tests. Fixed line endings.

svn path=/trunk/mcs/; revision=56579
2006-02-06 10:39:27 +00:00
Gert Driesen 5bd3e0596e * XmlSerializerTests.cs: No longer derive from Assertion, fixed tests that
were cathing NUnit's AssertionException too.

svn path=/trunk/mcs/; revision=56569
2006-02-05 10:17:57 +00:00
Gert Driesen a8b7a205f6 * XmlSchemaExporterTests.cs: Reworked tests that fail on Mono due to bug
#77117 to pass on Mono (until that bug is fixed) and mark these tests 
NotDotNet.

svn path=/trunk/mcs/; revision=56563
2006-02-04 10:24:02 +00:00
Gert Driesen 514da3a616 * XmlReflectionImporterTests.cs: Marked tests NotWorking until fixes have
landed in svn.
* SoapReflectionImporterTests.cs: Added numerous tests.
* XmlSchemaImporterTests.cs: Added numerous tests.
* XmlSchemaExporterTests.cs: Added numerous tests.
* SoapSchemaExporterTests.cs: Added numerous tests.
* XmlSerializerTestClasses.cs: Added test classes for
XmlSchemaExporter. Fixed line endings (to CRLF).

svn path=/trunk/mcs/; revision=55929
2006-01-23 07:17:04 +00:00
Gert Driesen 91a95ca4e1 * System.Xml_test.dll.sources: Added SoapSchemaExporterTests.cs,
SoapReflectionImporterTests.cs, XmlSchemaImporterTests.cs.
* XmlReflectionImporterTests.cs: Added numerous tests. No longer
derive from Assertion.
* SoapReflectionImporterTests.cs: Added numerous tests.
* XmlSchemaImporterTests.cs: Added numerous tests.
* XmlSchemaExporterTests.cs: Added numerous tests.
* SoapSchemaExporterTests.cs: Added numerous tests.

svn path=/trunk/mcs/; revision=55191
2006-01-07 18:52:24 +00:00
Gert Driesen 1178126915 * XmlSchemaExporterTests.cs: Added tests for exporting structs, and
arrays. Added tests for bug #77117. Refactored some existing tests.

svn path=/trunk/mcs/; revision=54915
2005-12-29 18:50:09 +00:00
Gert Driesen 94c0b8b885 * XmlSchemaExporterTests.cs: Correct mistake.
svn path=/trunk/mcs/; revision=54900
2005-12-28 14:56:22 +00:00
Gert Driesen 8d6889edd0 * XmlSerializerTests.cs: Added serialization test for XmlSchema.
* XmlSchemaExporterTests.cs: Added tests for class, IXmlSerializable
and primitives.
* System.Xml_test.dll.sources: Added XmlSchemaExporterTests.cs.

svn path=/trunk/mcs/; revision=54898
2005-12-28 14:33:50 +00:00
Gert Driesen f58cfa58e2 * XmlSerializerTests.cs: Number individual tests.
svn path=/trunk/mcs/; revision=54885
2005-12-27 18:58:11 +00:00
Gert Driesen af42faa522 * XmlAttributesTests.cs: No longer derive from Assertion, number
individual tests.

svn path=/trunk/mcs/; revision=54871
2005-12-27 11:56:00 +00:00
Lluis Sanchez 6074454762 2005-12-05 Lluis Sanchez Gual <[email protected]>
* XmlSerializerTestClasses.cs:
	* DeserializeTests.cs: Added tests for bug #76808 and related behavior.

2005-12-05  Lluis Sanchez Gual  <[email protected]>

	* XmlSerializationReaderInterpreter.cs:
	* SerializationCodeGenerator.cs: When deserializing a collection,
	don't create a new collection if the property already has a 
	collection instance. This does not apply to arrays. Changed how nullabe
	array properties are set. Setting IsNullable=false to the property means
	that it won't be set if the read array is null (so, if the property
	already has a value, it will be kept).
	Another change is that can't never be null (only arrays can).


svn path=/trunk/mcs/; revision=53949
2005-12-05 20:44:42 +00:00
Lluis Sanchez a238942f0e 2005-12-01 Lluis Sanchez Gual <[email protected]>
* XmlSerializerTestClasses.cs:
	* XmlSerializerTests.cs: Added tests for bug #76860.


svn path=/trunk/mcs/; revision=53761
2005-12-01 12:22:13 +00:00
Vladimir Krasnov cf50bd21d7 * XmlTypeMapping.cs: fixed GetXmlName method, added difference of value serialization of flags and non-flags enums
* XmlSerializerTestClasses.cs: added two enum types, without 0-value
* XmlSerializerTests.cs: added tests for serialization enum's default value


svn path=/trunk/mcs/; revision=53451
2005-11-24 13:42:27 +00:00
Lluis Sanchez b63a5f42e9 2005-09-26 Lluis Sanchez Gual <[email protected]>
* XmlSerializerTests.cs, DeserializeTests.cs, 
	XmlSerializerTestClasses.cs: Added tests for serialization of
	arrays of choice values.


svn path=/trunk/mcs/; revision=50785
2005-09-26 16:15:47 +00:00
Lluis Sanchez 061d1d8e66 2005-09-21 Lluis Sanchez Gual <[email protected]>
* XmlSerializerTests.cs, Added test for bug #76049.


svn path=/trunk/mcs/; revision=50381
2005-09-21 15:53:05 +00:00
Lluis Sanchez a4aafd6734 2005-09-21 Lluis Sanchez Gual <[email protected]>
* XmlSerializerTests.cs, XmlSerializerTestClasses.cs: Added test
	for bug #75986.


svn path=/trunk/mcs/; revision=50376
2005-09-21 14:09:25 +00:00
Lluis Sanchez 4f5a2dd8a8 2005-08-24 Lluis Sanchez Gual <[email protected]>
* XmlSerializerTests.cs: Added test for bug #75855.
	* DeserializeTests.cs: New test.
	* XmlSerializerTestClasses.cs: New test classes.


svn path=/trunk/mcs/; revision=48802
2005-08-24 18:09:51 +00:00
Gert Driesen 3fb3755546 * ComplexDataStructure.cs: Fixed test due to change in default value
of XmlArrayItemAttribute.IsNullable.
* SoapAttributeAttributeTests.cs: Added tests for default values.
* SoapElementAttributeTests.cs: Added tests for default values.
* SoapEnumAttributeTests.cs: Added tests for default values.
* SoapIncludeAttributeTests.cs: Added tests for default values.
* SoapSchemaMemberTests.cs: Added tests for default values.
* SoapTypeAttributeTests.cs: Added tests for default values.
* XmlAnyElementAttributeTests.cs: Added tests for default values.
* XmlArrayAttributeTests.cs: Added tests for default values.
* XmlArrayItemAttributeTests.cs: Added tests for default values.
* XmlAttributeAttributeTests.cs: Added tests for default values.
* XmlChoiceIdentifierAttributeTests.cs: Added tests for default values.
* XmlElementAttributeTests.cs: Added tests for default values.
* XmlEnumAttributeTests.cs: Added tests for default values.
* XmlIncludeAttributeTests.cs: Added tests for default values.
* XmlRootAttributeTests.cs: Added tests for default values.
* XmlTextAttributeTests.cs: Added tests for default values.
* XmlTypeAttributeTests.cs: Added tests for default values.
* System.Xml_test.dll.sources: Added tests for default values of Xml 
Serialization attribute classes.
* SoapAttributeAttribute.cs: Return zero-length string if AttributeName or
DataType are null.
* SoapEnumAttribute.cs: Return zero-length string if Name is null.
* SoapIncludeAttribute.cs: Avoid using property in ctor.
* SoapSchemaMember.cs: Return zero-length string if MemberName is
null. MemberType should be XmlQualifiedName.Empty by default.
* SoapTypeAttribute.cs: Return zero-length string if TypeName is
null. Avoid using property in ctor.
* XmlArrayAttribute.cs: Return zero-length string if ElementName is
null. Avoid using property in ctor.
* XmlArrayItemAttribute.cs: IsNullable must be false by default.
Return zero-length string if DataType or ElementName are null. Avoid
using property in ctor.
* SoapElementAttribute.cs: Return zero-length string when DataType
or ElementName are null. Avoid using property in ctor.
* XmlAnyElementAttribute.cs: Return zero-length string when Name is
null. Avoid using property in ctor.
* XmlAttributeAttribute.cs: Avoid using property in ctor. Return
zero-length string if AttributeName or DataType are null.
* XmlChoiceIdentifierAttribute.cs: Return zero-length string when
MemberName is null.
* XmlElementAttribute.cs: Return zero-length string when DataType or
ElementName are null. Avoid using property in ctor.
* XmlEnumAttribute.cs: Avoid using property in ctor.
* XmlIncludeAttribute.cs: Avoid using property in ctor.
* XmlReflectionImporter.cs: AttributeName, ElementName and DataType
can no longer be null. Use check for zero-length string to determine
whether they are set. Corrected exception message when DataType is
set for complex type.
* XmlRootAttribute.cs: Return zero-length string if DataType or
ElementName are null. Avoid using property in ctor.
* XmlTextAttribute.cs: Return zero-length string if DataType is null.
* XmlTypeAttribute.cs: Return zero-length string if TypeName is null.

svn path=/trunk/mcs/; revision=47896
2005-08-01 18:45:29 +00:00
Raja R Harinath b1455e62eb * XmlSerializerTests.cs (TestSerializedDateTime): Fix sign of timezone.
(Verified with TZ=IST,GMT,CST6CDT).

svn path=/trunk/mcs/; revision=46124
2005-06-17 08:30:46 +00:00
Raja R Harinath d36df04998 * XmlSerializerTests.cs (TestSerializeDateTime): Avoid rounding
errors while printing timezone offset (off.TotalHours == 5.5 gets
printed as 6).

svn path=/trunk/mcs/; revision=46121
2005-06-17 08:12:31 +00:00
Lluis Sanchez 2bb89efdaf 2005-04-26 Lluis Sanchez Gual <[email protected]>
* XmlSerializerTests.cs:
	* DeserializeTests.cs:
	* XmlSerializerTestClasses.cs: Added tests for readonly properties and
	elements with spaces on them.


svn path=/trunk/mcs/; revision=43585
2005-04-26 09:20:55 +00:00
Lluis Sanchez 539cf95e9c 2005-03-30 Lluis Sanchez Gual <[email protected]>
* XmlSerializerTests.cs:
	* XmlReflectionImporterTests.cs:
	* DeserializeTests.cs:
	* XmlSerializerTestClasses.cs: Added tests for serialization of choices.


svn path=/trunk/mcs/; revision=42417
2005-03-31 08:40:30 +00:00
Lluis Sanchez 1466ec3475 2005-03-29 Lluis Sanchez Gual <[email protected]>
* XmlSerializerTests.cs:
	* DeserializeTests.cs: 
	* XmlSerializerTestClasses.cs: Added some tests for xml node serialization.


svn path=/trunk/mcs/; revision=42329
2005-03-29 11:42:18 +00:00
Atsushi Eno da23068c98 2005-02-28 Atsushi Enomoto <[email protected]>
* XmlSchemaTests.cs : just set NotWorking for trivial comparison tests.

	* XmlReflectionImporterTests.cs : set NotWorking for trivial empty
	  string comparison.

	* MsxslScriptTests.cs,
	  XslTransformTests.cs : set NotWorking for msxsl:script tests (they
	  premise runnable compilers existence which actually might not exist.)


svn path=/trunk/mcs/; revision=41273
2005-02-28 05:13:56 +00:00
Nick Drochak 9a15491ff7 2005-02-10 Nick Drochak <[email protected]>
* DeserializeTests.cs: Ignore new test on MS.NET, since it fails there.

svn path=/trunk/mcs/; revision=40361
2005-02-10 01:21:14 +00:00
Lluis Sanchez 1a7c6e0cda 2005-02-07 Lluis Sanchez Gual <[email protected]>
* DeserializeTests.cs: Added test case for bug #72265.


svn path=/trunk/mcs/; revision=40254
2005-02-07 17:45:51 +00:00
Nick Drochak e0d1a77a98 2005-01-30 Nick Drochak <[email protected]>
* ComplexDataStructure.cs:
	* DeserializationTests.cs: Ignore failures on .NET

svn path=/trunk/mcs/; revision=39799
2005-01-30 14:06:09 +00:00
Lluis Sanchez 2d39f2bd3d * XmlSerializerTestClasses.cs: Added some test classes.
* DeserializeTests.cs: Added tests for bug #61464.

svn path=/trunk/mcs/; revision=33231
2004-09-02 16:12:57 +00:00
Lluis Sanchez ce0ff3da1b Test update
svn path=/trunk/mcs/; revision=30869
2004-07-08 13:43:21 +00:00
Lluis Sanchez bb3d1a73c9 * XmlSerializerTests.cs: Added some identifiers for AssertEquals.
Minor fixes in Infoset method.
	* ComplexDataStructure.cs: New set of tests for testing complex object
	  serialization.

svn path=/trunk/mcs/; revision=24541
2004-03-24 19:31:28 +00:00
David Sheldon 9524252976 2004-03-13 David Sheldon <[email protected]>
* XmlReflectionImporterTests.cs: Switched the AssertEquals around
   the other way, so that the expecteed value was the first parameter.
   This makes the error messages you get out of it better.

svn path=/trunk/mcs/; revision=23971
2004-03-13 01:44:59 +00:00
Lluis Sanchez 06cd746bed * DeserializeTests.cs: Added test for empty enum deserialization (bug #55509).
* XmlAttributesTests.cs, XmlReflectionImporterTests.cs,
	  XmlSerializationWriterTests.cs, XmlSerializerTests.cs:
	  Simplified namespace hierarchy.
	* XmlSerializerTestClasses.cs: Added more test classes.

svn path=/trunk/mcs/; revision=23956
2004-03-12 15:55:33 +00:00