[mono-devel-list] Patch to standardize Mainsoft DataSet tests
eyala at mainsoft.com
Thu Jun 23 08:03:15 EDT 2005
Attched is a patch (gzipped so it won't be too big) that collects the various data set tests from Mainsoft (we
had one test class per method) into one test class.
One issue I'd like to mention is that I used 'MonoTests_System.Data' namespace
instead of 'MonoTests.System.Data' since when using code like:
System.Text.StringBuilder resultXML = new System.Text.StringBuilder();
I get the following error:
Test\System.Data\DataSetTest2.cs(350,11): error CS0234: The type or namespace name 'Text' does not exist in the class or namespace 'MonoTests.System' (are you missing an assembly reference?)
The problem is that the compiler understands 'System' as 'MonoTests.System'.
Trying 'MonoTests.System_Data' didn't work either since it was enough that
once file uses 'MonoTests.System.Data' to cause the error.
I consider removing the full scope usage and adding a 'using' directive as
a workaround, since this problem can happen to any test developer.
Any coments are welcome. I'd like move ahead as soon as possible since I'd like
to standradize the other disconnected tests we contributed.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 15308 bytes
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050623/4ef386a4/attachment.obj
More information about the Mono-devel-list