2009-06-26 Robert Jordan <robertj@gmx.net>
[mono.git] / mcs / class / System / Test / System.ComponentModel / ChangeLog
1 2009-06-26  Robert Jordan  <robertj@gmx.net>
2
3         * EventHandlerListTests.cs, LicenseManagerTests.cs:
4         Upgrade to new NUnit style. Standalone tests (#if !NUNIT)
5         removed.
6
7 2009-06-22  Marek Habersack  <mhabersack@novell.com>
8
9         * TypeDescriptorTests.cs: added tests for 2.0+ APIs which deal
10         with adding/removing/getting type description providers.
11
12 2009-05-14  Jonathan Pryor  <jpryor@novell.com>
13
14         * ListChangedEventArgsTest.cs: Fix .NET 1.1 compile error.
15
16 2009-05-14  Jonathan Pryor  <jpryor@novell.com>
17
18         * ListChangedEventArgsTest.cs: Added; tests for ListChangedEventArgs.
19
20 2009-02-19  Marek Habersack  <mhabersack@novell.com>
21
22         * TypeDescriptorTests.cs: added a test for
23         TypeDescriptor.GetConverter (null) case.
24
25 2008-12-22  Ivan N. Zlatev  <contact@i-nz.net>
26
27         * ReferenceConverterTest.cs: Added.
28
29 2008-12-06  Ivan N. Zlatev  <contact@i-nz.net>
30
31         * TypeDescriptorTests.cs: Added a test for the NullableConverter support.
32
33 2008-12-06  Ivan N. Zlatev  <contact@i-nz.net>
34
35         * NullableConverterTest.cs: Added.
36
37 2008-10-18  Gert Driesen  <drieseng@users.sourceforge.net>
38
39         * TypeDescriptorTests.cs:
40         * PropertyDescriptorTests.cs: Define alias for S.C.DescriptionAttribute
41         to avoid ambiguous reference error using more recent versions of
42         NUnit (which also contains a DescriptionAttribute).
43
44 2008-09-01  Rodrigo Kumpera  <rkumpera@novell.com>
45
46         * PropertyDescriptorTest.cs: Tests for Get/Set Value of partial
47         overrides of virtual properties.
48
49 2008-08-07  Sebastien Pouliot  <sebastien@ximian.com>
50
51         * DefaultValueAttributeTest.cs: New. A few unit tests for 
52         DefaultValueAttribute - showing problems in Equals and GetHashCode.
53
54 2008-07-16  Ivan N. Zlatev  <contact@i-nz.net>
55
56         * TypeDescriptorTests.cs: Add a test that both GetConverter 
57         overloads return the same converter.
58
59 2008-07-16  Jonathan Pobst  <monkey@jpobst.com>
60
61         * BackgroundWorkerTest.cs: Add some asserts for bug #364365.
62
63 2008-07-16  Jonathan Pobst  <monkey@jpobst.com>
64
65         * BackgroundWorkerTest.cs: Add tests for bugs 328830 and 373153.
66
67 2008-07-03  Gert Driesen  <drieseng@users.sourceforge.net>
68
69         * PropertyDescriptorCollectionTests.cs: Allow tests for pass on MS.
70         * TypeDescriptorTests.cs: Added GetProperties and GetEvents asserts
71         for interfaces.
72
73 2008-06-27  Atsushi Enomoto  <atsushi@ximian.com>
74
75         * PropertyDescriptorCollectionTests.cs : huh.
76
77 2008-06-27  Gert Driesen  <drieseng@users.sourceforge.net>
78
79         * EventDescriptorCollectionTests.cs: Enabled tests for Empty, Find and
80         IList. Added test for String indexer.
81         * PropertyDescriptorCollectionTests.cs: Improved test for Find and
82         merged CultureInsensitiveFindTest. Improved test for Find with null
83         name/key. Added test for String indexer.
84
85 2008-06-27  Gert Driesen  <drieseng@users.sourceforge.net>
86
87         * EventDescriptorCollectionTests.cs: Added tests based on tests for
88         PropertyDescriptorCollection.
89         * PropertyDescriptorCollectionTests.cs: Added tests for Sort overloads.
90         Improved test for Find with null key.
91
92 2008-06-11  Atsushi Enomoto  <atsushi@ximian.com>
93
94         * DateTimeConverterTest.cs : test for bug #396649 by Andy Hume.
95
96 2008-05-30  Ivan N. Zlatev  <contact@i-nz.net>
97
98         * TypeDescriptorTests.cs: Fix the attributes test on the 1.1 profile.
99
100 2008-05-29  Ivan N. Zlatev  <contact@i-nz.net>
101
102         * TypeDescriptorTests.cs: Add test that verifies that GetAttributes 
103         retrieves the attributes of the type, the base types and the 
104         interfaces the type implements.
105
106 2008-05-05  Ivan N. Zlatev  <contact@i-nz.net>
107
108         * TypeDescriptorTests.cs: Add test for handling write-only properties.
109         Based on patch by James Fitzsimons <james.fitzsimons@gmail.com>
110
111 2008-04-30  Gert Driesen  <drieseng@users.sourceforge.net>
112
113         * ComponentConverterTests.cs: Allow test to be compiled using csc 1.x.
114
115 2008-04-16  Marek Habersack  <mhabersack@novell.com>
116
117         * ComponentConverterTests.cs: added tests for
118         {Component, Reference}Converter ConvertFrom/ConvertTo changes.
119
120 2008-03-15  Gert Driesen  <drieseng@users.sourceforge.net>
121
122         * DesignerAttributeTest.cs: Added ctor tests.
123
124 2008-02-26  Ivan N. Zlatev  <contact@i-nz.net>
125
126         * PropertyDescriptorTests.cs: Add Converter tests. Based on a 
127         patch by Andy Hume <andyhume32@yahoo.co.uk> under the MIT/X11 
128         license.
129
130 2008-02-26  Gert Driesen  <drieseng@users.sourceforge.net>
131
132         * CharConverterTest.cs: Fixed test to pass on MS.
133         * PropertyDescriptorTest.cs: Added test for Attributes.
134
135 2008-02-17  Gert Driesen  <drieseng@users.sourceforge.net>
136
137         * CharConverterTest.cs: Added tests for ConvertFrom and ConvertTo.
138         * CultureInfoConverterTest.cs: Added tests for ConvertFrom and
139         ConvertTo.
140
141 2008-02-04  Ivan N. Zlatev  <contact@i-nz.net>
142
143          * DateTimeConverterTests.cs: Test ConvertFrom with empty string.
144
145 2008-01-19  Rolf Bjarne Kvinge <RKvinge@novell.com> 
146
147         * MaskedTextProviderTest.cs: Fix IsPassword (found by Gendarme)
148
149 2008-01-03  Gert Driesen  <drieseng@users.sourceforge.net>
150
151         * TypeDescriptorProperties.cs: added test for order of
152         PropertyDescriptor instances returned by GetProperties.
153
154 2007-12-25  Vladimir Krasnov  <vladimirk@mainsoft.com>
155
156         * PropertyDescriptorCollectionTests.cs: added test for Find method
157
158 2007-12-04  Gert Driesen  <drieseng@users.sourceforge.net>
159
160         * Win32ExceptionTest.cs: Added ctor tests.
161
162 2007-11-15  Gert Driesen  <drieseng@users.sourceforge.net>
163
164         * PropertyDescriptorTests.cs: Added tests for AddValueChanged,
165         GetInvocationTarget, GetValueChangedHandler and RemoveValueChanged.
166
167 2007-11-03  Gert Driesen  <drieseng@users.sourceforge.net>
168
169         * InvalidEnumArgumentExceptionTest.cs: Added ctor tests.
170
171 2007-10-29  Atsushi Enomoto  <atsushi@ximian.com>
172
173         * ContainerTest.cs : added test for ValidateName().
174
175 2007-09-28  Jb Evain  <jbevain@novell.com>
176
177         * TypeConverterTests.cs: test case for bug #329450.
178
179 2007-09-25  Jonathan Pobst  <monkey@jpobst.com>
180
181         * AsyncOperationManagerTest.cs: Add test for SynchronizationContext.
182
183 2007-09-17  Gert Driesen  <drieseng@users.sourceforge.net>
184
185         * ComponentResourceManagerTest.cs: Added tests for ctors,
186         ApplyResources and IgnoreCase.
187
188 2007-09-05  Gert Driesen  <drieseng@users.sourceforge.net>
189
190         * EnumConverterTest.cs: Enabled test for converting flag enum from
191         string. Made tests less strict.
192
193 2007-08-31  Gert Driesen  <drieseng@users.sourceforge.net>
194
195         * TypeConverterTest.cs: Added tests for GetConvertFromException and
196         GetConvertToException.
197         * EnumConverterTest.cs: Enabled test for converting flag enums to
198         InstanceDescriptor.
199
200 2007-08-25  Ivan N. Zlatev  <contact@i-nz.net>
201
202         * NestedContainerTest.cs: add.
203
204 2007-08-20  Gert Driesen  <drieseng@users.sourceforge.net>
205
206         * EnumConverterTests.cs: Added tests for EnumConverter.
207
208 2007-08-19  Ivan N. Zlatev  <contact@i-nz.net>
209
210         * ReflectionPropertyDescriptorTests.cs: For read-only properties,
211         ShouldSerializeValue must also check for 
212         DesignerSerializationVisibility.Content and if present return true.
213
214 2007-08-19  Gert Driesen  <drieseng@users.sourceforge.net>
215
216         * TypeDescriptorTests: Removed Ivan's local Category.
217
218 2007-08-19  Ivan N. Zlatev  <contact@i-nz.net>
219
220         * TypeDescriptorTests.cs: new test to verify that GetProperties returns 
221         only the last type's implementation of a property with a matching name 
222         in the base types.
223
224 2007-08-01  Atsushi Enomoto  <atsushi@ximian.com>
225
226         * BackgroundWorkerTest.cs : new test to clear some doubts on impl.
227
228 2007-07-21  Gert Driesen  <drieseng@users.sourceforge.net>
229
230         * DisplayNameAttribute.cs: Added ctor tests. Fixed tests to pass on
231         MS (now that our implementation matches that of MS). Added tests
232         for Default, GetHashCode and Equals.
233
234 2007-07-16  Gert Driesen  <drieseng@users.sourceforge.net>
235
236         * PropertyDescriptorTests.cs: Added test for ShouldSerializeValue
237         behavior with read-only properties.
238
239 2007-07-13  Gert Driesen  <drieseng@users.sourceforge.net>
240
241         * PropertyDescriptorTests.cs: Added tests for Igor's fixes for
242         ShouldSerializeValue.
243
244 2007-07-12  Rolf Bjarne Kvinge <RKvinge@novell.com> 
245
246         * PropertyDescriptorTests.cs: Added GetEditorTest.
247
248 2006-05-31  Atsushi Enomoto  <atsushi@ximian.com>
249
250         * LookupBindingPropertiesAttributeTest.cs:
251           test GetHashCode() as well.
252
253 2007-05-31  Rolf Bjarne Kvinge  <RKvinge@novell.com>
254
255         * LookupBindingPropertiesAttributeTest.cs: Added.
256
257 2007-05-10  Rolf Bjarne Kvinge  <RKvinge@novell.com>
258
259         * MaskedTextProviderTest.cs: New test.
260
261 2007-02-27  Rolf Bjarne Kvinge  <RKvinge@novell.com>
262
263         * MaskedTextProviderTest.cs: Added.
264         * MaskedTextProviderTestGenerator.cs: Added.
265
266 2007-02-16  Gert Driesen  <drieseng@users.sourceforge.net>
267
268         * TypeDescriptorTests.cs: Use Assert instead of deriving from
269         deprecated Assertion. Added test for component that has a site without
270         an ITypeDescriptorFilterService. Fixes bug #80836.
271
272 2007-02-01  Ilya Kharmatsky <ilyak -at- mainsoft.com>
273
274         * TypeConverterTests.cs, PropertyDescriptorCollectionTests.cs:
275         excluded test which not working under TARGET_JVM
276
277 2007-01-29  Ilya Kharmatsky <ilyak -at- mainsoft.com>
278
279         * ToolboxItemAttributeTests.cs: excluded DefaultType test,
280         under TARGET_JVM
281
282 2007-01-25  Ilya Kharmatsky <ilyak -at- mainsoft.com>
283
284         * ArrayConverterTests.cs: workaround not supported under TARGET_JVM
285         property 'ParamName' of System.ArgumentNullException
286
287 2007-01-20  Chris Toshok  <toshok@ximian.com>
288
289         * BindingListTest.cs: new tests for BindingList<T>
290
291 2007-01-05  Sebastien Pouliot  <sebastien@ximian.com>
292
293         * TypeDescriptorTests.cs: Fix TestGetAttributes t16 as there can be
294         many [Designer] attributes and their order isn't deterministic (like
295         the test required).
296
297 2006-12-28  Gert Driesen  <drieseng@users.sourceforge.net>
298
299         * ContainerTest.cs: Fixed compiler warning.
300
301 2006-12-22  Rolf Bjarne Kvinge  <RKvinge@novell.com>
302
303         * DefaultBindingPropertyAttributeTest.cs: new tests.
304
305 2006-12-21  Gert Driesen  <drieseng@users.sourceforge.net>
306
307         * PropertyDescriptorTests.cs: Added test for bug #80292. Fixed
308         accessibility of NestedClass, not caugh due to bug #80338.
309
310 2006-12-20  Chris Toshok  <toshok@ximian.com>
311
312         * AttributeProviderAttributeTest.cs: new tests.
313
314 2006-12-20  Chris Toshok  <toshok@ximian.com>
315
316         * ComplexBindingPropertiesAttributeTest.cs: add test for Default
317         field.
318
319 2006-12-20  Chris Toshok  <toshok@ximian.com>
320
321         * ComplexBindingPropertiesAttributeTest.cs: new tests.
322
323 2006-12-19  Chris Toshok  <toshok@ximian.com>
324
325         * PropertyDescriptorTests.cs: add some tests here because we were
326         generating an NRE for a missing type converter type.  MS doesn't -
327         it instead falls back to the converter for the property type.
328
329 2006-12-06  Chris Toshok  <toshok@ximian.com>
330
331         * PropertyDescriptorTests.cs: add a test to see if
332         ShouldSerializeValue's return value affects CanResetValue.
333
334 2006-12-06  Chris Toshok  <toshok@ximian.com>
335
336         * PropertyDescriptorTests.cs: add a test for ShouldSerializeValue
337         and CanResetValue on a class without ShouldSerialize/Reset
338         methods.
339
340 2006-12-06  Chris Toshok  <toshok@ximian.com>
341
342         * PropertyDescriptorTests.cs: flesh out these tests more with some
343         for ShouldSerialize and CanReset.
344
345 2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>
346
347         * CollectionConverterTest.cs: More test cases.
348
349 2006-11-08  Gert Driesen  <drieseng@users.sourceforge.net>
350
351         * ArrayConverterTests.cs: Added tests for ArrayConverter.
352
353 2006-11-07  Sebastien Pouliot  <sebastien@ximian.com>
354
355         * CollectionConverterTest.cs: New. Some unit tests done while tracking
356         an issue.
357
358 2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
359
360         * System.ComponentModel/ContainerTest.cs: new test.
361
362 2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
363
364         * TypeDescriptorTests.cs: test for overriden attributes.
365         Patch by Ivan N. Zlatev.
366
367 2006-05-22  Atsushi Enomoto  <atsushi@ximian.com>
368
369         * TypeDescriptorTest.cs : added GetPropertiesIgnoreIndexers().
370
371 2006-04-25  Atsushi Enomoto  <atsushi@ximian.com>
372
373         * ByteConverterTests.cs,
374           DecimalConverterTests.cs,
375           DoubleConverterTests.cs,
376           Int16ConverterTests.cs,
377           Int64ConverterTests.cs,
378           SByteConverterTests.cs,
379           SingleConverterTests.cs,
380           UInt16ConverterTests.cs,
381           UInt32ConverterTests.cs,
382           UInt64ConverterTests.cs:
383           ConvertToString() (test with custom culture) failed on .NET 2.0.
384           Fixed it by adding NumberFormat override in each test culture.
385
386 2006-03-11 Gert Driesen <drieseng@users.sourceforge.net>
387
388         * TypeDescriptorTests.cs: Added test for bug #76686.
389
390 2006-02-23 Andrew Skiba <andrews@mainsoft.com>
391
392         * standalone_tests: TypeDescriptor performance test
393
394 2006-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
395
396         * ContainerTest.cs: new test.
397
398 2005-09-29  Raja R Harinath  <harinath@gmail.com>
399
400         * DateTimeConverterTests.cs (ConvertTo_MaxValue): Disable tests
401         that require CurrentCulture _not_ to be InvariantCulture.
402         (ConvertToString_MaxValue): Likewise.
403
404 2005-09-19 Gert Driesen <drieseng@users.sourceforge.net>
405
406         * TypeConverterTests.cs: Added tests for TypeConverter.
407         * PropertyDescriptorCollection.cs: Added tests for PropertyDescriptor
408         Collection.
409
410 2005-08-28 Gert Driesen <drieseng@users.sourceforge.net>
411
412         * DateTimeConverterTests.cs: Added tests for DateTimeConverter.
413
414 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
415
416         * ByteConverterTests.cs: Added ConvertToString and ConvertFromString
417         tests with culture that has overriden GetFormat for NumberFormatInfo.
418         * DecimalConverterTests.cs: same.
419         * DoubleConverterTests.cs: same.
420         * Int16ConverterTests.cs: same.
421         * Int32ConverterTests.cs: same.
422         * Int64ConverterTests.cs: same.
423         * SByteConverterTests.cs: same.
424         * SingleConverterTests.cs: same.
425         * UInt16ConverterTests.cs: same.
426         * UInt32ConverterTests.cs: same.
427         * UInt64ConverterTests.cs: same.
428
429 2005-08-19 Gert Driesen <drieseng@users.sourceforge.net>
430
431         * ToolboxItemAttributeTests.cs: Fixed typo in eol-style property.
432         * ByteConverterTests.cs: Added tests for hex string and min/max
433         conversions.
434         * Int16ConverterTests.cs: Added tests for hex string and min/max
435         conversions.
436         * Int32ConverterTests.cs: Added tests for hex string and min/max
437         conversions.
438         * DecimalConverterTests.cs: Added tests for DecimalConverter.
439         * DoubleConverterTests.cs: Added tests for DoubleConverter.
440         * Int64ConverterTests.cs: Added tests for Int64Converter.
441         * SByteConverterTests.cs: Added tests for SByteConverter.
442         * SingleConverterTests.cs: Added tests for SingleConverter.
443         * UInt16ConverterTests.cs: Added tests for UInt16Converter.
444         * UInt32ConverterTests.cs: Added tests for UInt32Converter.
445         * UInt64ConverterTests.cs: Added tests for UInt64Converter.
446
447 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
448
449         * ByteConverterTests.cs: Added tests for ByteConverter.
450         * Int16ConverterTests.cs: Added tests for Int16Converter.
451         * Int32ConverterTests.cs: Added tests for Int32Converter.
452
453 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
454
455         * ToolboxItemAttributeTests.cs: Added tests for ToolboxItemAttribute.
456
457 2005-06-04 Gert Driesen <drieseng@users.sourceforge.net>
458         
459         * TypeDescriptorTests.cs: Added tests for bug #75152. Fixed tests
460         to pass on Mono and MS.NET.
461
462 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
463
464         * TypeDescriptorTests.cs: new test for TypeConverter ctor that takes
465         a Type argument.
466
467 2005-01-24  Joerg Rosenkranz (joergr@voelcker.com)
468
469         * TypeDescriptorTests.cs: Added tests for bug #71444
470
471 2005-01-19  Nick Drochak  <ndrochak@ieee.org>
472
473         * TypeDescriptorTests.cs: Add another test in GetComponentName() to check
474           the component name returned for a component without a Site.
475
476 2005-01-08  Nick Drochak  <ndrochak@ieee.org>
477
478         * TypeDescriptorTests.cs: Fix/Ignore tests for MS.NET
479
480 2004-04-16  Lluis Sanchez Gual <lluis@ximian.com>
481
482         * TypeDescriptorTests.cs: Added new tests for TypeDescriptor.
483
484 2004-03-17  Ivan Hamilton <ivan@chimerical.com.au>
485
486         * LicenseManagerTests.cs: New. Unit tests.
487
488 2002-10-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
489
490         * AllTests.cs:
491         * ChangeLog:
492         * EventHandlerListTests.cs: new test.
493