New tests, update
[mono.git] / mcs / class / corlib / Test / System.Reflection / ChangeLog
1 2007-11-05  Mark Probst  <mark.probst@gmail.com>
2
3         * BinderTests.cs: Add test for bug #324998.
4
5 2007-11-04  Miguel de Icaza  <miguel@novell.com>
6
7         * ParameterInfoTest.cs: Add new test for testing the [Optional]
8         attribute making ParameterInfo.DefaultValue become
9         System.Reflection.Missing.
10
11 2007-11-01  Zoltan Varga  <vargaz@gmail.com>
12
13         * BinderTests.cs: Add a test for the ParamArray attribute.
14
15 2007-10-17  Gert Driesen  <drieseng@users.sourceforge.net>
16
17         * AssemblyTest.cs: Enabled test for bug #334204.
18
19 2007-10-16  Gert Driesen  <drieseng@users.sourceforge.net>
20
21         * AssemblyTest.cs: Added test for bug #334203. Use more meaningful name
22         for test for bug #49114.        
23
24 2007-10-04  Raja R Harinath  <rharinath@novell.com>
25
26         * AssemblyTest.cs (bug328812): New test.
27
28 2007-09-25  Zoltan Varga  <vargaz@gmail.com>
29
30         * PropertyInfoTest.cs: Add test for calling ReflectedType on accessors.
31
32 2007-09-23  Gert Driesen  <drieseng@users.sourceforge.net>
33
34         * AssemblyTest.cs: Added test for ManifestModule.
35
36 2007-09-17  Gert Driesen  <drieseng@users.sourceforge.net>
37
38         * AssemblyTest.cs: Added test for GetManifestResourceStream argument
39         checks.
40
41 2007-08-17  Gert Driesen  <drieseng@users.sourceforge.net>
42
43         * FieldInfoTest.cs: Enabled test for bug #82465.
44
45 2007-08-17  Gert Driesen  <drieseng@users.sourceforge.net>
46
47         * ModuleTest.cs: Enabled tests on 2.0 profile since bug #82459 is
48         fixed.
49
50 2007-08-17  Gert Driesen  <drieseng@users.sourceforge.net>
51
52         * ParameterInfoTest.cs: Minor code formatting change.
53         * FieldInfoTest.cs: Added test for GetCustomAttributes. Modified test
54         for pseudo customattributes to work on 1.0 profile too.
55
56 2007-08-16  Gert Driesen  <drieseng@users.sourceforge.net>
57
58         * AssemblyTest.cs: Added IsDefined test with null value for 
59         attributeType argument.
60         * ModuleTest.cs: Same. Remove use of deprecated Assertion class, code
61         formatting and fixed line endings.
62         * ParameterInfoTest.cs: Same. Remove use of deprecated Assertion class
63         and code formatting.
64         * MethodInfoTest.cs: Same.
65         * EventInfoTest.cs: Same. Code formatting.
66         * FieldInfoTest.cs: Same. Code formatting.
67         * PropertyInfoTest.cs: Same. Improved coverage of GetAccessors.
68         Improved tests for GetCustomAttributes. Code formatting.
69
70 2007-08-03  Zoltan Varga  <vargaz@gmail.com>
71
72         * MethodInfoTest.cs: Add another test.
73         
74         * MethodInfoTest.cs: Add test for Invoking methods with a nullable type receiver.
75
76 2007-07-20  Gert Driesen  <drieseng@users.sourceforge.net>
77
78         * MethodInfoTest.cs: Added GetMethodFromHandle test for generic type.
79
80 2007-07-20  Raja R Harinath  <rharinath@novell.com>
81
82         * MethodInfoTest.cs (GetGenericMethodDefinition): New.  Based on
83         Atsushi's testcase in #78068.
84
85 2007-07-19  Atsushi Enomoto  <atsushi@ximian.com>
86
87         * MethodInfoTest.cs : fix incorrect parameter type output.
88
89 2007-07-19  Atsushi Enomoto  <atsushi@ximian.com>
90
91         * MethodInfoTest.cs : added ToString() test for generic return type.
92
93 2007-07-09  Mark Probst  <mark.probst@gmail.com>
94
95         * AssemblyTest.cs: Enabled test for bug 78465.
96
97 2007-07-05  Gert Driesen  <drieseng@users.sourceforge.net>
98
99         * MethodInfoTest.cs: Added test for bug #81997. Code formatting.
100
101 2007-06-22  Raja R Harinath  <rharinath@novell.com>
102
103         * MethodInfoTest.cs (IsGenericMethodDefinition): New.
104
105 2007-06-02  Zoltan Varga  <vargaz@gmail.com>
106
107         * PropertyInfoTest.cs: Mark new test as NotWorking.
108         
109         * PropertyInfoTest.cs: Added new test.
110
111 2007-05-07  Gert Driesen  <drieseng@users.sourceforge.net>
112
113         * MethodInfoTest.cs: Modified test for bug #81538 to verify both
114         1.0 and 2.0 behavior.
115
116 2007-05-07  Zoltan Varga  <vargaz@gmail.com>
117
118         * MethodInfoTest.cs: Add test case for #81538.
119
120 2007-05-01  Gert Driesen  <drieseng@users.sourceforge.net>
121
122         * ConstructorInfoTest.cs: Added tests for Invoke.
123
124 2007-05-01  Zoltan Varga  <vargaz@gmail.com>
125
126         * MethodInfoTest.cs: Reenable a NotWorking test which is working now.
127
128 2007-03-14  Eyal Alaluf <eyala@mainsoft.com>
129
130         * MethodInfoTest.cs: Disabled tests for TARGET_JVM that use MethodBody.
131
132 2006-11-14  Raja R Harinath  <rharinath@novell.com>
133
134         * AssemblyTest.cs (bug79872): New test for #79872.
135
136 2006-10-22  Gert Driesen  <drieseng@users.sourceforge.net>
137
138         * AssemblyTest.cs: Added tests for bug #79712 and #79715. All marked
139         NotWorking.
140
141 2006-10-19  Gert Driesen  <drieseng@users.sourceforge.net>
142
143         * AssemblyNameTest.cs: Added test for CodeBase of AssemblyName
144         filled by AssemblyName.GetAssemblyName. Added tests for bug #79661.
145
146 2006-09-29  Jb Evain  <jbevain@gmail.com>
147
148         * FieldInfoTest.cs: Test for FieldInfo.SetValue on a literal field.
149
150 2006-09-06  Zoltan Varga  <vargaz@gmail.com>
151
152         * ParameterInfoTest.cs: Add a test for enum default parameter values.
153
154 2006-09-02  Zoltan Varga  <vargaz@gmail.com>
155
156         * MethodInfoTest.cs: Add a test for the ReturnParameter property.
157
158 2006-08-08  Gert Driesen  <drieseng@users.sourceforge.net>
159
160         * AssemblyTest.cs: Modified test to pass on 2.0 profile and .NET 2.0.
161
162 2006-07-12  Zoltan Varga  <vargaz@gmail.com>
163
164         * MethodInfoTest.cs: Add tests for ContainsGenericParameters ().
165
166 2006-07-09  Gert Driesen  <drieseng@users.sourceforge.net>
167
168         * AssemblyTest.cs: Enabled test for bug #78468.
169
170 2006-07-01  Zoltan Varga  <vargaz@gmail.com>
171
172         * MethodInfoTest.cs: Add a test for #77888.
173
174 2006-06-29  Raja R Harinath  <rharinath@novell.com>
175
176         * MethodInfoTest.cs (GetBaseDefinition): New test for
177         MethodInfo.GetBaseDefinition.
178
179 2006-06-07  Zoltan Varga  <vargaz@gmail.com>
180
181         * BinderTests.cs: Add test for BindingFlags.ExactBinding.
182
183 2006-05-28  Gert Driesen  <drieseng@users.sourceforge.net>
184
185         * MethodInfoTest.cs: No longer derive from (deprecated) Assertion.
186         Number individual asserts. Marked ByrefVtypeInvoke as NotDotNet for
187         NET_1_1 profile, due to bug in MS.NET 1.1.
188
189 2006-05-28  Gert Driesen  <drieseng@users.sourceforge.net>
190
191         * MethodInfoTest.cs: GetMethodBody no longer throws ArgumentException
192         for methods that have no IL body. Part of fix for bug #78522.
193
194 2006-05-28  Gert Driesen  <drieseng@users.sourceforge.net>
195
196         * AssemblyTest.cs: Added tests for bug #78517.
197
198 2006-05-20  Gert Driesen  <drieseng@users.sourceforge.net>
199
200         * AssemblyTest.cs: Added tests for bugs #78464, #78465 and #78468.
201         Spaces to tabs.
202
203 2006-05-09  Atsushi Enomoto  <atsushi@ximian.com>
204
205         * BinderTests.cs : (BindToMethodNamedArgs) hmm, why it didn't
206           show up during my last test run...
207
208 2006-05-08  Atsushi Enomoto  <atsushi@ximian.com>
209
210         * BinderTests.cs : added test for bug #77079.
211
212 2006-05-08  Atsushi Enomoto  <atsushi@ximian.com>
213
214         * BinderTests.cs : added test for bug #42547.
215
216 2006-05-08  Atsushi Enomoto  <atsushi@ximian.com>
217
218         * BinderTests.cs : added test for bug #41691.
219
220 2006-03-09  Zoltan Varga  <vargaz@gmail.com>
221
222         * MethodInfoTest.cs: Add test for #77668.
223
224 2006-02-11  Zoltan Varga  <vargaz@gmail.com>
225
226         * FieldInfoTest.cs: Revert nullable reftype tests.
227
228 2006-02-09  Zoltan Varga  <vargaz@gmail.com>
229
230         * FieldInfoTest.cs: Add tests for nullable reference types.
231
232 2006-02-07  Martin Baulig  <martin@ximian.com>
233
234         * MethodInfoTest.cs: Added test where IsGenericMethod must return false.
235
236 2006-02-03  Zoltan Varga  <vargaz@gmail.com>
237
238         * MethodInfoTest.cs: Add tests for IsGenericMethod.
239
240 2006-02-02  Zoltan Varga  <vargaz@gmail.com>
241
242         * MethodInfoTest.cs: Add test for Invoke and byref valuetypes.
243
244 2006-01-19  Atsushi Enomoto  <atsushi@ximian.com>
245
246         * ModuleTest.cs : ResolveString() does not work under .NET 2.0 either.
247
248 2006-01-06  Raja R Harinath  <rharinath@novell.com>
249
250         * PropertyInfoTest.cs: Use newer nunit API.
251         (Bug77160): New test from #77160.
252
253 2006-01-03  Zoltan Varga  <vargaz@gmail.com>
254
255         * FieldInfoTest.cs PropertyInfoTest.cs MethodInfoTest.cs: Add Nullable
256         tests.
257
258 2005-12-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>
259
260         * AssemblyTest.cs: Remove 'NotWorking' category attribute
261         to the Reflection Only tests, since they are working by now.
262
263         * FieldInfoTest.cs: Likewise.
264
265         * MethodInfoTest.cs: Likewise.
266
267 2005-12-02  Robert Jordan  <robertj@gmx.net>
268
269         * ReflectedTypeTest.cs: New. Test case for #76829.
270
271 2005-11-16  Atsushi Enomoto  <atsushi@ximian.com>
272
273         * MethodInfoTest.cs : added MakeGenericMethod test for #76575.
274
275 2005-11-15  Zoltan Varga  <vargaz@gmail.com>
276
277         * AssemblyTest.cs: Fix build.
278
279 2005-11-05  Kornél Pál  <kornelpal@hotmail.com>
280
281         * AssemblyTest.cs: Updated runtime version to v2.0.50727 (2.0 RTM).
282
283 2005-10-26  Atsushi Enomoto  <atsushi@ximian.com>
284
285         * MethodInfoTest.cs : added test for bug #76541.
286
287 2005-09-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>
288
289         * AssemblyNameTest.cs: Added some tests for the 2.0 new
290         ctor. Keep some of them as NotWorking, since we need to figure out
291         an elegant way to avoiding creating Version when not passing it.
292         
293 2005-06-30  Ben Maurer  <bmaurer@ximian.com>
294
295         * AssemblyTest.cs: Relied on the 1.1 test suite being built when
296         running teh 2.0 test suite, which could cause failures
297
298 2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>
299
300         * AssemblyNameCas.cs: Removed execution of AssemblyNameTest.Self as it
301         is now NotWorking.
302
303 2005-06-13  Sebastien Pouliot  <sebastien@ximian.com> 
304  
305         * AssemblyNameTest.cs: "Fixed" tests so they execute without errors on
306         both Fx 1.1 SP1 and Fx 2.0 beta 2. Added corresponding NotWorking.
307
308 2005-06-13  Sebastien Pouliot  <sebastien@ximian.com>
309
310         * AssemblyNameTest.cs: Added distinctive names for all asserts in 
311         Version. Changed Self to NotWorking as other cases returns null. It 
312         will re-activated once we know the logic behind it.
313
314 2005-06-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>
315
316         * AssemblyNameTest.cs: Added tests to Version method,
317         in order to do additional checks with AssemblyBuilder
318         version.
319         
320 2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
321
322         * AssemblyTest.cs: put back GetEntryAssembly, but this one is working.
323
324 2005-06-06  Sebastien Pouliot  <sebastien@ximian.com>
325
326         * AssemblyTest.cs: Removed asserts using PortableExecutableKind - 
327         because (1) it was renamed to PortableExecutableKinds *and* (2)
328         it's documented as obsolete and will be removed for 2.0 RTM.
329
330 2005-06-06  Zoltan Varga  <vargaz@freemail.hu>
331
332         * MethodInfoTest.cs: Disable pseudo custom attribute test.
333
334 2005-06-05  Gert Driesen <drieseng@users.sourceforge.net>
335
336         * AssemblyTest.cs: Enabled test for bug #74958.
337
338 2005-05-27  Zoltan Varga  <vargaz@freemail.hu>
339
340         * MethodInfoTest.cs: Reenable the pseudo attribute test.
341
342 2005-05-25  Zoltan Varga  <vargaz@freemail.hu>
343
344         * TypeDelegatorTest.cs: New file.
345
346         * MethodInfoTest.cs: Add a test for bug #75029.
347
348 2005-05-20  Gert Driesen <drieseng@users.sourceforge.net>
349
350         * AssemblyTest.cs: Allow test for bug #74958 to pass on .NET 2.0
351         Beta 2.
352
353 2005-05-15  Gert Driesen <drieseng@users.sourceforge.net>
354
355         * AssemblyTest.cs: Added (ignored) test case for bug #74958.
356
357 2005-05-07  Ben Maurer  <bmaurer@ximian.com>
358
359         * EventInfoTest.cs: New file. Has a test case for #64191.
360
361 2005-05-02  Sebastien Pouliot  <sebastien@ximian.com>
362
363         * AssemblyTest.cs, FieldInfoTest.cs, MethodInfoTest.cs: Disabled 
364         ReflectionOnly tests as they break every tests afterward. Calberto
365         is looking for the problem...
366
367 2005-04-28  Sebastien Pouliot  <sebastien@ximian.com>
368
369         * AssemblyCas.cs: New. CAS unit tests for Assembly.
370
371 2005-04-27  Sebastien Pouliot  <sebastien@ximian.com>
372
373         * AssemblyTest.cs: Updated NET_2_0 tests to check for v2.0.50215 
374         (beta2).
375
376 2005-04-14  Sebastien Pouliot  <sebastien@ximian.com>
377
378         * AssemblyTest.cs: Added tests for GetObjectData (null) and 
379         GetReferencedAssemblies (no codebase returned) methods.
380
381 2005-04-08  Raja R Harinath  <rharinath@novell.com>
382
383         * FieldInfoTest.cs (RefOnlyFieldClass): Rename from RefOnlyClass.
384         * MethodInfoTest.cs (RefOnlyMethodClass): Rename from RefOnlyClass.
385
386 2005-04-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
387
388         * AssemblyTest.cs: Added tests for ReflectionOnly support.
389         * MethodInfoTest.cs: Added test for Reflection Only support.
390         * FieldInfoTest.cs: Added tests for ReflectionOnly support.
391         
392 2005-04-04  Sebastien Pouliot  <sebastien@ximian.com>
393
394         * AssemblyNameTest.cs: Added tests for Clone and serialization without
395         a strongname.
396         * AssemblyNameCas.cs: New. CAS unit tests for AssemblyName.
397         * StrongNameKeyPairTest.cs: Little changes to make it easier to reuse 
398         in CAS tests.
399         * StrongNameKeyPairCas.cs: New. CAS unit tests for StrongNameKeyPair.
400
401 2005-04-04  Sebastien Pouliot  <sebastien@ximian.com>
402
403         * AssemblyNameTest.cs: Add test for ArgumentNullException on 
404         GetObjectData. Made existing tests more nunit2.2 like.
405         * ModuleCas.cs: Added new tests for FullyQualifiedName and Name 
406         properties.
407         * ModuleTest.cs: Add test for ArgumentNullException on GetObjectData.
408
409 2005-03-24  Sebastien Pouliot  <sebastien@ximian.com>
410
411         * ModuleCas.cs: New. CAS unit tests for Module.
412
413 2005-03-01  Zoltan Varga  <vargaz@freemail.hu>
414
415         * MethodInfoTest.cs: Disable code causing mcs to fail.
416
417 2005-01-28  Sebastien Pouliot  <sebastien@ximian.com>
418
419         * AssemblyAlgorithmIdAttributeTest.cs: Removed CLSCompliant(false) 
420         attribute as it wasn't required (and gives a compilation warning).
421
422 2005-01-23  Nick Drochak  <ndrochak@ieee.org>
423
424         * ModuleTest.cs: Long path names gives Windows fits.
425
426 2005-01-19  Zoltan Varga  <vargaz@freemail.hu>
427
428         * MethodInfoTest.cs: Add tests for GetMethodBody.
429
430 2005-01-16  Nick Drochak  <ndrochak@ieee.org>
431
432         * AssemblyTest.cs: Try loading assembly from .NET tests and mono tests
433
434 2004-11-05  Zoltan Varga  <vargaz@freemail.hu>
435
436         * AssemblyTest.cs: Reenable GetFiles (true) test. Add a LoadWithPartialName () test.
437
438         * MethodInfoTest.cs: Add test for byref parameters to Invoke ().
439
440 2004-09-26  Zoltan Varga  <vargaz@freemail.hu>
441
442         * FieldInfoTest.cs: Add tests for MarshalAsAttribute.
443
444         * ParameterInfoTest.cs: Add tests for MarshalAsAttribute.
445
446         * FieldInfoTest.cs: Add tests for FieldOffsetAttribute.
447         
448         * FieldInfoTest.cs: New file.
449
450         * MethodInfoTest.cs: Add tests for PreserveSigAttribute.
451         
452         * MethodInfoTest.cs: New file.
453
454 2004-09-25  Zoltan Varga  <vargaz@freemail.hu>
455
456         * ParameterInfoTest.cs: New file.
457
458 2004-09-22  Zoltan Varga  <vargaz@freemail.hu>
459
460         * ModuleTest.cs: Add tests for NET 2.0 ResolveXXX methods.
461
462 2004-09-20  Zoltan Varga  <vargaz@freemail.hu>
463
464         * AssemblyTest.cs: Add tests for MetadataToken and ManifestModule.
465
466 2004-08-29  Nick Drochak <ndrochak@ieee.org>
467
468         * BinderTests.cs: Make tests pass on MS.NET 1.1.
469
470 2004-08-09  Sebastien Pouliot  <sebastien@ximian.com>
471
472         * AssemblyTest.cs: Added new tests for 1.1 and 2.0 features. Converted
473         existing tests to NUnit 2.2.
474
475 2004-07-03  Zoltan Varga  <vargaz@freemail.hu>
476
477         * ModuleTest.cs: New tests for FindTypes.
478
479 2004-06-10  Lluis Sanchez  <lluis@ximian.com>
480
481         * AssemblyNameTest.cs: AssertEqualsByteArrays(): don't crash if arrays are
482           empty. TestSerialization(): Use AssertEqualsByteArrays to compare keys. 
483           Added messages to the assertions.
484
485 2004-06-09  Gert Driesen <drieseng@users.sourceforge.net>
486
487         * AssemblyNameTests.cs: added tests for AssemblyName.FullName 
488         and serialization of AssemblyName, converted tests to use Assert
489         class
490
491 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
492
493         * BinderTests.cs: added test for null type in the argument list.
494
495 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
496
497         * BinderTests.cs: one more test for matching a single property. Adapted
498         to nunit 2.2 style.
499
500 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
501
502         * BinderTests.cs: added more indexers and more SelectProperty tests.
503
504 2003-05-20  Sebastien Pouliot  <sebastien@ximian.com>
505
506         * StrongNameKeyPairTest.cs: SetUp (renamed) is now public (required 
507         for new nunit).
508
509 2004-05-18  Gert Driesen (drieseng@users.sourceforge.net)
510
511         * PropertyInfoTest.cs: New file.  Added test for 
512         bug #58661.
513
514 2004-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
515
516         * BinderTests.cs: New file.
517
518 2003-04-06  Sebastien Pouliot  <sebastien@ximian.com>
519
520         * StrongNameKeyPairTest.cs: Added test case for ECMA "key".
521
522 2003-03-24  Sebastien Pouliot  <sebastien@ximian.com>
523
524         * StrongNameKeyPairTest.cs: Converted to NUnit2 format. Removed
525         unneeded code and false comments (too much copy-n-paste).
526
527 2003-03-09  Jackson Harper  <jackson@ximian.com>
528
529         * AssemblyAlgorithmIdAttributeTest.cs:
530         * AssemblyConfigurationAttributeTest.cs:
531         * AssemblyCopyrightAttributeTest.cs:
532         * AssemblyCultureAttributeTest.cs:
533         * AssemblyDelaySignAttributeTest.cs:
534         * AssemblyDescriptionAttributeTest.cs:
535         * AssemblyFileVersionAttributeTest.cs:
536         * AssemblyInformationalVersionAttributeTest.cs: New test cases
537         from nvineeth_mono@yahoo.com.
538
539 2003-11-24  Zoltan Varga  <vargaz@freemail.hu>
540
541         * ModuleTest.cs: Make the assembly name unique to fix the GlobalData
542         test.
543
544 2003-11-17  Zoltan Varga  <vargaz@freemail.hu>
545
546         * ModuleTest.cs: Fix temp folder path
547
548 2003-10-17  Zoltan Varga  <vargaz@freemail.hu>
549
550         * AssemblyNameTest.cs: Convert to Nunit2 format, add tests for
551         CultureInfo, Version and HashAlgorithm properties.
552
553 2003-09-30  Zoltan Varga  <vargaz@freemail.hu>
554
555         * AssemblyTest.cs (TestGetType): New regression test for #49114.
556
557 2003-05-21  Zoltan Varga  <vargaz@freemail.hu>
558
559         * ModuleTest.cs: New file.
560
561 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
562
563         * AssemblyTest.cs: New file.
564
565 2002-12-30  Sebastien Pouliot <spouliot@videotron.ca>
566
567         * AssemblyNameTest.cs: Added test for FullName (null cultureinfo).
568
569 2002-12-23  Sebastien Pouliot <spouliot@videotron.ca>
570
571         * AssemblyNameTest.cs: Added test for non-signed assembly (which
572         returns an empty array - i.e. not null like an empty assembly).
573
574 2002-12-21  Nick Drochak <ndrochak@gol.com>
575
576         * all: make tests build and run under nunit2
577
578 2002-12-08  Sebastien Pouliot <spouliot@videotron.ca>
579
580         * AllTests.cs: Added test suites for AssemblyName and
581         StrongNameKeyPair.
582         * AssemblyNameTest.cs: New. Test suite for AssemblyName.
583         * StrongNameKeyPairTest.cs: New. Test suite for StrongNameKeyPair.