f916d64fafe3c92c47b88ee45ffef8982e5c8d23
[mono.git] / mcs / class / corlib / Test / System.Reflection.Emit / ChangeLog
1 2007-08-17  Rolf Bjarne Kvinge  <RKvinge@novell.com>
2
3         * ILGeneratorTest.cs: Added FilterAndCatchBlock (bug #81431), InvalidFilterBlock1, ValidFilterBlock1, ValidFilterBlock2.
4
5 2007-08-16  Gert Driesen  <drieseng@users.sourceforge.net>
6
7         * TypeBuilderTest.cs: Added IsDefined test with null value for
8         attributeType argument.
9
10 2007-07-14  Gert Driesen  <drieseng@users.sourceforge.net>
11
12         * TypeBuilderTest.cs: Modified enum tests to use already constructed
13         AssemblyBuilder and ModuleBuilder. Fixed some compiler warnings.
14         Removed duplicate test for bug #82018. Added some IsCreated tests after
15         TypeLoadException, but comment them out for now (see bug #82101).
16
17 2007-07-12  Rodrigo Kumpera  <rkumpera@novell.com>
18
19         * TypeBuilderTest.cs: Added test for MakeArrayType with incomplete enum type. Related to bug #82015
20
21 2007-07-11  Rodrigo Kumpera  <rkumpera@novell.com>
22
23         * TypeBuilderTest.cs: Added tests for enum creation. These tests are related to bugs #82018 and #82075
24
25 2007-07-06  Gert Driesen  <drieseng@users.sourceforge.net>
26
27         * TypeBuilderTest.cs: Improved tests for SetParent.
28         * ModuleBuilderTest.cs: Added test for creating non-abstract
29         interface.
30
31 2007-07-06  Gert Driesen  <drieseng@users.sourceforge.net>
32
33         * TypeBuilderTest.cs: Enabled test for IsCOMObject. Improved test
34         for IsImport.
35
36 2007-07-06  Gert Driesen  <drieseng@users.sourceforge.net>
37
38         * TypeBuilderTest.cs: Added tests for bug #82018. Added tests for
39         MakeArrayType (2.0).
40
41 2007-05-21  Gert Driesen  <drieseng@users.sourceforge.net>
42
43         * MethodBuilderTest.cs: Split up GetCustomAttributes test and marked
44         the one for a baked type as NotWorking. Added test for 
45         SetCustomAttribute with SuppressUnmanagedCodeSecurity attribute.
46         * TypeBuilderTest.cs: Split up HasElementType test and marked the
47         baked variant as NotWorking on the 1.0 profile. Enabled additional
48         test for bug #81640. Added test for SetCustomAttribute with
49         SuppressUnmanagedCodeSecurity attribute.
50
51 2007-05-16  Gert Driesen  <drieseng@users.sourceforge.net>
52
53         * TypeBuilderTest.cs: Added GetFields test for bug #81368. Enabled
54         test for bug #81640.
55
56 2007-05-16  Gert Driesen  <drieseng@users.sourceforge.net>
57
58         * TypeBuilderTest.cs: Use Assert instead of deprecated Assertion
59         class. Number tests. Added tests for bug #81638 and #81640.
60
61 2007-05-06  Zoltan Varga  <vargaz@gmail.com>
62
63         * TypeBuilderTest.cs: Add test for null parent.
64
65 2007-03-12  Zoltan Varga  <vargaz@gmail.com>
66
67         * DynamicMethodTest.cs: Add a test for circular references.
68
69 2007-03-07  Gert Driesen  <drieseng@users.sourceforge.net>
70
71         * EnumBuilderTest.cs: Enabled test that failed due to bug #81037.
72         Coding style fixes.
73         * ModuleBuilderTest.cs: Avoid compiler warning in test for bug #80435.
74         Use Assert instead of deprecated Assertion class. Number tests.
75
76 2007-03-06  Rolf Bjarne Kvinge  <RKvinge@novell.com>
77
78         * ModuleBuilderTest.cs: Added GetArrayMethodToStringTest () -#80435.
79
80 2007-03-05  Gert Driesen  <drieseng@users.sourceforge.net>
81
82         * EnumBuilderTest.cs: Added tests for bug #81007. Use Assert instead
83         of deriving from Assertion. Marked HasElementType test NotWorking on
84         2.0 profile.
85
86 2007-02-26  Gert Driesen  <drieseng@users.sourceforge.net>
87
88         * MethodBuilderTest.cs: Move from Assertion to Assert. Added tests
89         for zero-length and null dll name for DllImport.  Enabled extra tests
90         in TestDynamicParams.
91
92 2007-01-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>
93
94         * EnumBuilderTest.cs: Created test for #80396.
95
96 2006-12-15  Raja R Harinath  <rharinath@novell.com>
97
98         * TypeBuilderTest.cs (MakeGenericType, Fail_MakeGenericType): New
99         tests inspired by #80253.
100
101 2006-09-16  Gert Driesen  <drieseng@users.sourceforge.net>
102
103         * DynamicMethodTest.cs: Enabled tests for bug #79367.
104
105 2006-09-13  Gert Driesen  <drieseng@users.sourceforge.net>
106
107         * DynamicMethodTest.cs: Added ctor tests for name null check. Added
108         tests for bug #79367 (marked NotWorking).
109
110 2006-09-02  Zoltan Varga  <vargaz@gmail.com>
111
112         * TypeBuilderTest.cs: Add a test for #79249.
113
114 2006-08-31  Zoltan Varga  <vargaz@gmail.com>
115
116         * DynamicMethodTest.cs: Add a test for skipVisibility.
117
118 2006-07-31  Sebastien Pouliot  <sebastien@ximian.com> 
119
120         * AssemblyBuilderTest.cs: The GetType_IgnoreCase test case doesn't 
121         work under MS.
122         * ConstructorBuilderTest.cs: The TestMethodHandle test case doesn't
123         work under MS.
124
125 2006-07-09  Gert Driesen  <drieseng@users.sourceforge.net>
126
127         * AssemblyBuilderTest.cs: Added test for bug #78724.
128         * DynamicMethodTest.cs: Added test for bug #78253, and added test for
129         empty method body.
130
131 2006-02-27  Gert Driesen  <drieseng@users.sourceforge.net>
132
133         * ConstructorBuilderTest.cs: Expect ArgumentOutOfRangeException
134         instead of ArgumentException when passing Request action to
135         AddDeclarativeSecurity (bug #77640).
136         * MethodBuilderTest.cs: Same.
137         * TypeBuilderTest.cs: Same.
138
139 2005-12-15  Raja R Harinath  <rharinath@novell.com>
140
141         * TypeBuilderTest.cs (GenericType): Add a minimal testcase for
142         generic type builders.
143
144 2005-12-12  Raja R Harinath  <rharinath@novell.com>
145
146         * AssemblyBuilderTest.cs (TestIsDefined): Make failure messages unique.
147
148 2005-12-10  Zoltan Varga  <vargaz@gmail.com>
149
150         * MethodBuilderTest.cs: Add test for handling not accessible custom
151         attributes.
152
153 2005-10-27  Zoltan Varga  <vargaz@gmail.com>
154
155         * FieldBuilderTest.cs MethodBuilderTest.cs ConstructorBuilderTest.cs:
156         Add tests for #76521.
157
158 2005-07-29  Zoltan Varga  <vargaz@freemail.hu>
159
160         * AssemblyBuilderTest.cs: Add test for #75650.
161
162 2005-07-21  Jb Evain  <jbevain@gmail.com>
163
164         * ILGeneratorTest.cs: Add tests for exception filters (bug #75010).
165
166 2005-06-22  Gert Driesen  <drieseng@users.sourceforge.net>
167
168         * MethodBuilderTest.cs: Updated existing tests to no longer define
169         zero-length method body. Added tests for bug #75236.
170
171 2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>
172
173         * AssemblyBuilderTest.cs: Split AssemblyName_PublicKey to move culture
174         tests to a new method (as their problem is different from #75246).
175
176 2005-06-13  Gert Driesen  <drieseng@users.sourceforge.net>
177
178         * AssemblyBuilderTest.cs: Setting KeyPair of AssemblyName has 
179         currently no effect on PublicKey(Token) and FullName of AssemblyName
180         of the AssemblyBuilder. Test for bug #75246.
181
182 2005-06-13  Gert Driesen  <drieseng@users.sourceforge.net>
183
184         * AssemblyBuilderTest.cs: Removed inheritance from deprecated
185         Assertion class. Use Assert class instead.
186
187 2005-06-12  Gert Driesen  <drieseng@users.sourceforge.net>
188
189         * AssemblyBuilderTest.cs: Added AssemblyName tests that currently
190         fail on Mono.
191
192 2005-06-12  Gert Driesen  <drieseng@users.sourceforge.net>
193
194         * FieldBuilderTest.cs: Enabled tests for FieldHandle again after 
195         fixing regression.
196         * ConstructorBuilderTest.cs: MethodHandle should not throw
197         NotSupportedException.
198         * MethodBuilderTest.cs: Enabled test for MethodHandle again after
199         fixing regression, and added additional test.
200
201 2005-06-06  Zoltan Varga  <vargaz@freemail.hu>
202
203         * MethodBuilderTest.cs: Add tests for setting DllImportAttribute.
204
205 2005-05-12  Zoltan Varga  <vargaz@freemail.hu>
206
207         * TypeBuilderTest.cs: Add tests for bug #74906.
208
209 2005-04-30  Ben Maurer  <bmaurer@ximian.com>
210
211         * TypeBuilderTest.cs: Don't write to a specific path in /tmp --
212         breaks multiple users.
213
214 2005-04-28  Zoltan Varga  <vargaz@freemail.hu>
215
216         * AssemblyBuilderTest.cs: Add test for GetModules ().
217
218 2005-04-16  Zoltan Varga  <vargaz@freemail.hu>
219
220         * MethodBuilderTest.cs: Add test for parameter attributes.
221
222 2005-03-24  Sebastien Pouliot  <sebastien@ximian.com>
223
224         * MethodRentalCas.cs: New. CAS unit tests for MethodRental.
225
226 2005-03-23  Zoltan Varga  <vargaz@freemail.hu>
227
228         * TypeBuilderTest.cs: Fix this up after the last change.
229
230 2005-03-23  Martin Baulig  <martin@ximian.com>
231
232         * TypeBuilderTest.cs (TestIsAssignableTo_NotDotNet): Put this
233         whole method into the "NotWorking" category.
234
235 2005-03-23  Martin Baulig  <martin@ximian.com>
236
237         * TypeBuilderTest.cs: Disable last test again since the bug report
238         is reopened.
239
240 2005-03-21  Nick Drochak <ndrochak@ieee.org>
241
242         * TypeBuilderTest.cs: Move asserts which fail on .NET to a new
243         test method and disable it on .NET.
244
245 2005-03-09  Zoltan Varga  <vargaz@freemail.hu>
246
247         * TypeBuilderTest.cs: Reenable last test.
248
249 2005-03-09  Marek Safar  <marek.safar@seznam.cz>
250
251         * ILGeneratorTest.cs: New test file.
252
253 2005-03-09  Zoltan Varga  <vargaz@freemail.hu>
254
255         * TypeBuilderTest.cs: Disable last test since the fix is reverted.
256
257 2005-03-08  Zoltan Varga  <vargaz@freemail.hu>
258
259         * TypeBuilderTest.cs: Add new test.
260
261 2005-02-11  Zoltan Varga  <vargaz@freemail.hu>
262
263         * TypeBuilderTest.cs: Add tests for IsAssignableFrom.
264
265 2004-01-31  Nick Drochak <ndrochak@ieee.org>
266
267         * TypeBuilderTest.cs: Put "NotWorking" on failing tests for mono.
268
269 2004-01-30  Nick Drochak <ndrochak@ieee.org>
270
271         * ModuleBuilderTest.cs: Avoid path length exceptions on Windows.
272
273 2004-11-22  Zoltan Varga  <vargaz@freemail.hu>
274
275         * AssemblyBuilderTest.cs: Add regression test for bug #69780.
276
277 2004-11-06  Zoltan Varga  <vargaz@freemail.hu>
278
279         * TypeBuilderTest.cs: Ignore some tests which depend on TypeBuilder
280         features which are unlikely to change due to mcs depending on them.
281
282 2004-11-05  Zoltan Varga  <vargaz@freemail.hu>
283
284         * EnumBuilderTest.cs: Remove test that depends on the exact format
285         of AssemblyName.FullName.
286
287 2004-11-04  Zoltan Varga  <vargaz@freemail.hu>
288
289         * TypeBuilderTest.cs: Add a TypeResolve test. Remove a test which
290         depends on exception ordering.
291
292 2004-10-05  Zoltan Varga  <vargaz@freemail.hu>
293
294         * MethodBuilderTest.cs: Add tests for default values for parameters.
295
296 2004-10-02  Gert Driesen  <drieseng@users.sourceforge.net>
297
298         * TypeBuilderTest.cs: Added test to ensure NotSupportedException is
299         thrown when creating a type with a default ctor while parent does
300         not have a default ctor.
301
302 2004-09-09  Zoltan Varga  <vargaz@freemail.hu>
303
304         * ModuleBuilderTest.cs: Add test for lookup of global methods.
305
306 2004-08-29  Nick Drochak <ndrochak@ieee.org>
307
308         * TypeBuilderTestTest.cs: Call EnumBuilder.CreateType() before you call
309         TypeBuilder.CreateType().
310
311 2004-08-08  Zoltan Varga  <vargaz@freemail.hu>
312
313         * TypeBuilderTest.cs: Add regression test for #62237.
314
315 2004-06-14  Sebastien Pouliot  <sebastien@ximian.com>
316
317         * EnumBuilderTest.cs: Fixed typos so the test is reported in 
318         alphabetical order by NUnit.
319
320 2004-06-09  Gert Driesen <drieseng@users.sourceforge.net>
321
322         * TypeBuilderTest.cs: Added tests for completed/created type
323
324         * FieldBuilderTest.cs: Added tests for FieldBuilder (mostly
325         checking error conditions for now)
326
327         * EnumBuilderTest.cs: Added tests for EnumBuilder
328
329         * MethodBuilderTest.cs: Added tests for invalid parameter 
330         indexes for created types, added test for GetHashCode
331
332 2004-06-09  Gert Driesen <drieseng@users.sourceforge.net>
333
334         * MethodRentalTest.cs: Added check for invalid method size,
335         fixed tests on MS.NET, Mono-stylized
336
337 2004-04-28  Zoltan Varga  <vargaz@freemail.hu>
338
339         * MethodRentalTest.cs: New file.
340
341 2004-03-24  Sebastien Pouliot  <sebastien@ximian.com>
342
343         * AssemblyBuilderTest.cs: Added new tests to build strongnamed 
344         assemblies.
345
346 2004-03-22  Zoltan Varga  <vargaz@freemail.hu>
347
348         * CustomAttributeBuilderTest.cs: Call GetCustomAttributes with false
349         so custom attributes on Object do not screw the results.
350
351 2004-03-15  Nick Drochak <ndrochak@ieee.org>
352
353         * CustomAttributeBuilderTest.cs: Force test to pass if we are running
354         on version 1.1 of the CLR.  That version does not throw the exception.
355
356 2004-03-09  Jackson Harper  <jackson@ximian.com>
357
358         * AssemblyBuilderAccessTest.cs:
359         * CustomAttributeBuilderTest.cs: New test cases
360         from nvineeth_mono@yahoo.com.
361
362 2004-02-16  Zoltan Varga  <vargaz@freemail.hu>
363
364         * MethodBuilderTest.cs: Fix test so it runs under MS.
365
366         * TypeBuilderTest.cs: Add some tests.
367
368 2004-02-11  Zoltan Varga  <vargaz@freemail.hu>
369
370         * MethodBuilderTest.cs: Add tests for parameter info.
371
372 2004-01-27  Zoltan Varga  <vargaz@freemail.hu>
373
374         * AssemblyBuilderTest.cs (TestCustomAttributes): Remove 
375         KeyFileAttribute from the test, since it must point to a valid keyfile.
376
377 2004-01-09  Nick Drochak <ndrochak@ieee.org>
378
379         * TypeBuilderTest.cs (TestEnums): Fix build with csc.
380
381 2004-01-07  Zoltan Varga  <vargaz@freemail.hu>
382
383         * TypeBuilderTest.cs (IsDefined): Comment out this test, since 
384         IsDefined works under mono.
385
386         * TypeBuilderTest.cs (TestEnums): New test for using runtime generated
387         enums.
388
389 2003-12-17  Nick Drochak <ndrochak@gol.com>
390
391         * ModuleBuilderTest.cs: Shorten the path, there's a 260-or-so character
392         limit for the path name.
393
394 2003-12-15  Zoltan Varga  <vargaz@freemail.hu>
395
396         * MethodBuilderTest.cs ConstructorBuilderTest.cs: Add tests for
397         AddDeclarativeSecurity.
398
399 2003-11-17  Zoltan Varga  <vargaz@freemail.hu>
400
401         * ConstructorBuilderTest.cs (TestAttributes): Make this test more
402         general so it runs on mono too.
403
404 2003-07-11  Zoltan Varga  <vargaz@freemail.hu>
405
406         * ModuleBuilderTest.cs: Added tests for IsTransient ().
407
408         * ModuleBuilderTest.cs: Added tests for DefineDocument ().
409
410         * AssemblyBuilderTest.cs: Added error handling tests.
411
412 2003-06-30  Zoltan Varga  <vargaz@freemail.hu>
413
414         * MethodBuilderTest.cs (TestReturnType): Make test more general so
415         it works both on Mono and MS.NET.
416
417 2003-06-15  Zoltan Varga  <vargaz@freemail.hu>
418
419         * EventBuilderTest.cs: New file.
420
421         * PropertyBuilderTest.cs: New file.
422
423 2003-05-28  Nick Drochak <ndrochak@gol.com>
424
425         * MethodBuilderTest: correct order of expected and actual values.
426
427 2003-05-21  Zoltan Varga  <vargaz@freemail.hu>
428
429         * ModuleBuilderTest.cs: New file.
430
431 2003-05-20  Zoltan Varga  <vargaz@freemail.hu>
432
433         * TypeBuilderTest.cs: More tests.
434
435 2003-05-19  Zoltan Varga  <vargaz@freemail.hu>
436
437         * AssemblyBuilderTest.cs: More tests.
438
439 2003-05-12  Zoltan Varga  <vargaz@freemail.hu>
440
441         * MethodBuilderTest.cs: Comment out test which fails because of a mono
442         extension to DefineParameter.
443
444 2003-02-13  Zoltan Varga  <vargaz@freemail.hu>
445
446         * AssemblyBuilderTest.cs: New file.
447
448 2003-02-12  Zoltan Varga  <vargaz@freemail.hu>
449
450         * MethodBuilderTest.cs: Added test for setting MethodImplAttributes
451         using a custom attribute.
452
453 2003-02-10  Zoltan Varga  <vargaz@freemail.hu>
454
455         * ConstructorBuilderTest.cs: added SetCustomAttribute() tests.
456
457         * MethodBuilderTest.cs: updated to NUNIT2 conventions.
458
459         * ConstructorBuilderTest.cs: New file.
460
461 2003-02-09  Zoltan Varga  <vargaz@freemail.hu>
462
463         * TypeBuilderTest.cs: Added lots of new tests.
464
465 2003-02-08  Zoltan Varga  <vargaz@freemail.hu>
466
467         * TypeBuilderTest.cs: New file.
468
469         * MethodBuilderTest.cs ChangeLog: New files.