2f1f604612012ab1346bbd3a4ecbcdc986d88f57
[mono.git] / mcs / class / corlib / Test / System.Security.Permissions / ChangeLog
1 2009-06-24  Zoltan Varga  <vargaz@gmail.com>
2
3         * *.cs: Convert all tests to new-style nunit classes/methods.
4
5 2006-08-21  Sebastien Pouliot  <sebastien@ximian.com>
6
7         * FileIOPermissionTest.cs: Added new test cases for union (#79118) and
8         subpath handling.
9
10 2006-04-07  Sebastien Pouliot  <sebastien@ximian.com>
11
12         * FileIOPermissionTest.cs: Adjust test cases for wildcards (like *) 
13         that are valid in filenames under UNIX.
14
15 2005-09-22  Sebastien Pouliot  <sebastien@ximian.com>
16
17         * CodeAccessSecurityAttributeTest.cs, 
18         EnvironmentPermissionAttributeTest.cs, 
19         FileDialogPermissionAttributeTest.cs, 
20         FileIOPermissionAttributeTest.cs, 
21         GacIdentityPermissionAttributeTest.cs,
22         HostProtectionAttributeTest.cs, 
23         IsolatedStorageFilePermissionAttributeTest.cs,
24         IsolatedStoragePermissionAttributeTest.cs,
25         KeyContainerPermissionAttributeTest.cs,
26         PermissionSetAttributeTest.cs, PrincipalPermissionAttributeTest.cs,
27         PublisherIdentityPermissionAttributeTest.cs,
28         ReflectionPermissionAttributeTest.cs,
29         RegistryPermissionAttributeTest.cs, SecurityAttributeTest.cs,
30         SecurityPermissionAttributeTest.cs,
31         SiteIdentityPermissionAttributeTest.cs,
32         StrongNameIdentityPermissionAttributeTest.cs,
33         UIPermissionAttributeTest.cs, UrlIdentityPermissionAttributeTest.cs,
34         ZoneIdentityPermissionAttributeTest.cs: Removed *Choice security 
35         actions.
36
37 2005-06-16  Sebastien Pouliot  <sebastien@ximian.com>
38
39         * PrincipalPermissionTest.cs: Added more tests for IsSubsetOf method.
40
41 2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>
42
43         * HostProtectionAttributeTest.cs: Added tests to check for individual 
44         removal of flags.
45         * SecurityPermissionAttributeTest.cs: Added tests to check for 
46         individual removal of flags.
47
48 2005-04-27  Sebastien Pouliot  <sebastien@ximian.com>
49
50         * IBuiltInPermissionTest.cs: Fixed token index numbers wrt beta2.
51         * IsolatedStorageFilePermissionTest.cs: Change containment to match 
52         beta2.
53         * UrlIdentityPermissionTest.cs: Fixed test case for 2.0.
54         * ZoneIdentityPermissionAttributeTest.cs: Tag unrestricted test as
55         NotWorking.
56
57 2005-03-31  Sebastien Pouliot  <sebastien@ximian.com>
58
59         * FileIOPermissionTest.cs: Added a test case for a filename starting
60         with the "file://" scheme (which isn't valid).
61
62 2005-02-24  Sebastien Pouliot  <sebastien@ximian.com>
63
64         * StrongNameIdentityPermissionTest.cs: Fixed some bad tests and 
65         re-enabled the tests on NET_2_0 profile.
66
67 2005-01-08  Sebastien Pouliot  <sebastien@ximian.com>
68
69         * PermissionSetAttributeTest.cs: Added unit tests for Hex property.
70
71 2005-01-06  Sebastien Pouliot  <sebastien@ximian.com>
72
73         * PublisherIdentityPermissionTest.cs: Fixed tests for NET_1_1 profile.
74         * SiteIdentityPermissionTest.cs: Fixed tests for NET_1_1 profile.
75         * StrongNameIdentityPermissionTest.cs: Fixed tests for NET_1_1 profile.
76         * UrlIdentityPermissionTest.cs: Fixed tests for NET_1_1 profile.
77
78 2005-01-05  Sebastien Pouliot  <sebastien@ximian.com>
79
80         * DataProtectionPermissionAttributeTest.cs: Moving to System.Security.
81
82 2005-01-04  Sebastien Pouliot  <sebastien@ximian.com>
83
84         * GacIdentityPermissionTest.cs, IBuiltInPermissionTest.cs, 
85         PublisherIdentityPermissionAttributeTest.cs, 
86         PublisherIdentityPermissionTest.cs, 
87         SiteIdentityPermissionAttributeTest.cs, SiteIdentityPermissionTest.cs,
88         StrongNameIdentityPermissionAttributeTest.cs, 
89         StrongNameIdentityPermissionTest.cs, 
90         UrlIdentityPermissionAttributeTest.cs, UrlIdentityPermissionTest.cs,
91         ZoneIdentityPermissionTest.cs: Adjusted unit tests so they now execute
92         without errors on 2.0 Dec CTP.
93
94 2004-10-15  Sebastien Pouliot  <sebastien@ximian.com>
95
96         * PrincipalPermissionTest.cs: Added two new tests to check for nulls
97         during intersection.
98
99 2004-09-04  Sebastien Pouliot  <sebastien@ximian.com>
100
101         * FileIOPermissionAttributeTest.cs: Added a new test to check that the
102         attribute class accept (and retains) non-c14n filenames while the 
103         permission class accept, but c14n, filenames. Fixed other tests that
104         didn't check for c14n results from the created permission.
105
106 2004-09-03  Sebastien Pouliot  <sebastien@ximian.com>
107
108         * RegistryPermissionTest.cs: New. Unit tests for RegistryPermission.
109         Added tests for subsets on keys (as this is valid).
110         * UrlIdentityPermissionTest.cs: Added a test for Copy an empty object
111         which results in a different behaviour in Fx 1.1 and 2.0.
112
113 2004-09-01  Sebastien Pouliot  <sebastien@ximian.com>
114
115         * EnvironmentPermissionTest.cs: Fixed tests so they execute without 
116         errors on both Fx 1.1 and Fx 2.0 (beta 1).
117         * PublisherIdentityPermissionTest.cs: Fixed tests so they execute 
118         without errors on both Fx 1.1 and Fx 2.0 (beta 1).
119         * SiteIdentityPermissionTest.cs: Fixed tests so they execute without
120         errors on both Fx 1.1 and Fx 2.0 (beta 1). Fixed line endings.
121         * StrongNameIdentityPermissionTest.cs: Fixed tests so they execute 
122         without errors on both Fx 1.1 and Fx 2.0 (beta 1).
123         * StrongNamePublicKeyBlobTest.cs: Fixed tests so they execute without
124         errors on both Fx 1.1 and Fx 2.0 (beta 1). Converted tests to NUnit 
125         2.2 format.
126         * UrlIdentityPermissionTest.cs: Fixed tests so they execute without 
127         errors on both Fx 1.1 and Fx 2.0 (beta 1).
128
129 2004-09-01  Sebastien Pouliot  <sebastien@ximian.com>
130
131         * ZoneIdentityPermissionTest.cs: Ensure we aren't encoding NoZone in
132         the permission XML (ToXml).
133
134 2003-08-20  Sebastien Pouliot  <sebastien@ximian.com>
135
136         * CodeAccessSecurityAttributeTest.cs: New unit tests for abstract 
137         class CodeAccessSecurityAttribute.
138         * DataProtectionPermissionAttributeTest.cs: New unit tests for Fx 2.0
139         DataProtectionPermissionAttribute class.
140         * HostProtectionAttributeTest.cs: New unit tests for Fx 2.0
141         HostProtectionAttribute class.
142         * IsolatedStoragePermissionAttributeTest.cs: New unit tests for 
143         abstract class IsolatedStoragePermissionAttribute.
144         * KeyContainerPermissionAttributeTest.cs: New unit tests for Fx 2.0
145         KeyContainerPermissionAttribute class.
146         * SecurityAttributeTest.cs: New unit tests for abstract class
147         SecurityAttribute.
148         * SiteIdentityPermissionTest.cs: New unit tests for 
149         SiteIdentityPermission. Lacks tests for wilcards.
150         * UrlIdentityPermissionTest.cs: New unit tests for 
151         UrlIdentityPermission. Lacks tests for wilcards.
152
153 2003-08-19  Sebastien Pouliot  <sebastien@ximian.com>
154
155         * EnvironmentPermissionAttributeTest.cs: Added tests to check class's
156         attributes. Converted existing tests to NUnit 2.2 format. Fixed small
157         behaviour difference with Fx 2.0. 
158         * FileDialogPermissionAttributeTest.cs: Added tests to check class's
159         attributes. Converted existing tests to NUnit 2.2 format.
160         * FileIOPermissionAttributeTest.cs: Added tests to check class's
161         attributes. Converted existing tests to NUnit 2.2 format. Added tests
162         for new Fx 2.0 properties.
163         * PermissionSetAttributeTest.cs: Added tests to check class's
164         attributes. Converted existing tests to NUnit 2.2 format. Added tests
165         for new Fx 2.0 properties.
166         * PrincipalPermissionAttributeTest.cs: Added tests to check class's
167         attributes. Converted existing tests to NUnit 2.2 format.
168         * PublisherIdentityPermissionAttributeTest.cs: Added tests to check 
169         class's attributes. Converted existing tests to NUnit 2.2 format.
170         * ReflectionPermissionAttributeTest.cs: Added tests to check class's
171         attributes. Converted existing tests to NUnit 2.2 format.
172         * RegistryPermissionAttributeTest.cs: Added tests to check class's
173         attributes. Converted existing tests to NUnit 2.2 format. Added tests
174         for new Fx 2.0 properties.
175         * SecurityPermissionAttributeTest.cs: Removed unrequired line.
176         * SiteIdentityPermissionAttributeTest.cs: Added tests to check class's
177         attributes. Converted existing tests to NUnit 2.2 format.
178         * StrongNameIdentityPermissionAttributeTest.cs: Removed unrequired line.
179         * UIPermissionAttributeTest.cs: Removed unrequired line.
180         * UrlIdentityPermissionAttributeTest.cs: Added tests to check class's
181         attributes. Converted existing tests to NUnit 2.2 format.
182         * ZoneIdentityPermissionAttributeTest.cs: Removed unrequired line.
183
184
185 2003-08-19  Sebastien Pouliot  <sebastien@ximian.com>
186
187         * SecurityPermissionAttributeTest.cs: Added unit tests for invalid 
188         SecurityAction, Flags effects and custom attributes. Converted 
189         existing tests to NUnit 2.2 format.
190         * SecurityPermissionTest.cs: New. Unit tests for SecurityPermission.
191
192 2003-08-18  Sebastien Pouliot  <sebastien@ximian.com>
193
194         * IsolatedStorageFilePermissionAttributeTest.cs: Added tests to check 
195         class's attributes. Converted existing tests to NUnit 2.2 format.
196         * IsolatedStorageFilePermissionTest.cs: New. Unit tests for 
197         IsolatedStorageFilePermission.
198         * GacIdentityPermissionAttributeTest.cs: New unit tests for 
199         GacIdentityPermissionAttribute (NET_2_0).
200         * GacIdentityPermissionTest.cs: New unit tests for 
201         GacIdentityPermission (NET_2_0).
202         * StrongNameIdentityPermissionAttributeTest.cs: Added tests to 
203         check class's attributes.
204         * UIPermissionAttributeTest.cs: Added tests to check class's 
205         attributes. Converted existing tests to NUnit 2.2 format.
206         * ZoneIdentityPermissionAttributeTest.cs: Added tests to check class's
207         attributes. Converted existing tests to NUnit 2.2 format.
208
209 2003-08-17  Sebastien Pouliot  <sebastien@ximian.com>
210
211         * IBuiltInPermissionTest.cs: New. Unit tests to check the result of 
212         the "somewhat undocumented" IBuiltInPermission.GetTokenIndex on all
213         permissions inside corlib.
214         * StrongNameIdentityPermissionTest.cs: New. Unit tests for 
215         StrongNameIdentityPermission.
216         * StrongNameIdentityPermissionAttributeTest.cs: Added unit test to 
217         check the behavior of using an invalid SecurityAction. Added tests
218         for CreatePermission. Converted existing tests to NUnit 2.2 format.
219         * UIPermissionTest.cs: New. Unit tests for UIPermission.
220         * UIPermissionAttributeTest.cs: Added unit tests to check the behavior
221         of using invalid enums for properties (no checks).
222         * ZoneIdentityPermissionAttributeTest.cs: Added unit tests to check 
223         the behavior of using invliad enums for properties (no checks).
224         * ZoneIdentityPermissionTest.cs: Added new unit tests for XML decoding.
225
226 2003-08-04  Sebastien Pouliot  <sebastien@ximian.com>
227
228         * ZoneIdentityPermissionTest.cs: Added tests to check that NoZone is a
229         subset of every SecurityZone.
230
231 2003-08-03  Sebastien Pouliot  <sebastien@ximian.com>
232
233         * ZoneIdentityPermissionTest.cs: New. NUnit 2.2 format.
234
235 2003-05-20  Sebastien Pouliot  <sebastien@ximian.com>
236
237         * PublisherIdentityPermissionTest.cs: SetUp is now public (required 
238         for new nunit).
239
240 2004-01-27  Sebastien Pouliot  <spouliot@videotron.ca>
241
242         * FileIOPermissionTest.cs: Converted to NUnit2. Added a test to show a
243         strange behaviour (short/long path) - ignored for now.
244         * FileIOPermissionAttributeTest.cs: Removed GetTempPath from the tests
245         as the introduced failures weren't related to the class (test moved to
246         FileIOPermissionTest.cs).
247
248 2003-12-29  Sebastien Pouliot  <spouliot@videotron.ca>
249
250         * EnvironmentPermissionAttributeTest.cs: Updated to test default
251         properties, Actions, get for All (1.1) and Unrestricted.
252         * FileDialogPermissionAttributeTest.cs: Updated to test default
253         properties, Actions and Unrestricted.
254         * FileIOPermissionAttributeTest.cs: Updated to test default
255         properties, Actions, get for All (1.1) and Unrestricted.
256         * IsolatedStorageFilePermissionAttributeTest.cs: New.
257         * PermissionSetAttributeTest.cs: New.
258         * PrincipalPermissionAttributeTest.cs: Updated to test default
259         properties, Actions and Unrestricted.
260         * PublisherIdentityPermissionAttributeTest.cs: Updated to test default
261         properties, Actions and Unrestricted.
262         * ReflectionPermissionAttributeTest.cs: Updated to test default
263         properties, Actions and Unrestricted.
264         * RegistryPermissionAttributeTest.cs: New.
265         * SecurityPermissionAttributeTest.cs: New.
266         * SiteIdentityPermissionAttributeTest.cs: New.
267         * StrongNameIdentityPermissionAttributeTest.cs: New.
268         * StrongNamePublicKeyBlobTest.cs: Converted to NUnit2 format.
269         * UIPermissionAttributeTest.cs: New.
270         * UrlIdentityPermissionAttributeTest.cs: New.
271         * ZoneIdentityPermissionAttributeTest.cs: New.
272
273 2003-10-21  Nick Drochak <ndrochak@gol.com>
274
275         * FileIOPermissionAttributeTest.cs: Handle Short File Name vs. Long
276         File Name messiness.  This probably needs to be worked on for the 
277         tests to work on Linux, etc.
278
279 2003-07-01  Sebastien Pouliot  <spouliot@videotron.ca>
280
281         * PrincipalPermissionAttributeTest.cs: New.
282         * PrincipalPermissionTest.cs: New.
283
284 2003-06-29  Sebastien Pouliot  <spouliot@videotron.ca>
285
286         * ReflectionPermissionAttributeTest.cs: New.
287         * ReflectionPermissionTest.cs: New.
288
289 2003-06-29  Nick Drochak <ndrochak@gol.com>
290
291         * FileIOPermissionAttributeTest.cs: Don't use windows path name.
292
293 2003-06-28  Sebastien Pouliot  <spouliot@videotron.ca>
294
295         * EnvironmentPermissionAttributeTest.cs: New.
296         * EnvironmentPermissionTest.cs: New.
297         * FileDialogPermissionAttributeTest.cs: New.
298         * FileDialogPermissionTest.cs: New.
299         * FileIOPermissionAttributeTest.cs: New.
300         * PublisherIdentityPermissionAttributeTest.cs: New.
301         * PublisherIdentityPermissionTest.cs: New.
302
303 2002-12-21  Nick Drochak <ndrochak@gol.com>
304
305         * all: make tests build and run under nunit2
306
307 2002-12-16  Sebastien Pouliot  <spouliot@videotron.ca>
308
309         AllTests.cs: Added StrongNamePublicKeyBlobTest suite.
310         StrongNamePublicKeyBlobTest.cs: New. Test suite for
311         StrongNamePublicKeyBlob.
312
313 2002-06-18  Nick Drochak  <ndrochak@gol.com>
314
315         * FileIOPermissionTest.cs: Use Unix paths if it looks like we are not
316         running the tests on Windows. Need to expand this when we run the
317         tests on Mac OS's (and others I suppose).  Also consolidated some
318         redundant code.
319
320 2002-02-09  Nick Drochak  <ndrochak@gol.com>
321
322         * FileIOPermissionTest.cs: Remove intersect test where it was trying
323         to intersect a permission with itself.  This throws an exception
324         with mscorlib.
325
326 2002-01-14  Nick Drochak  <ndrochak@gol.com>
327
328         * FileIOPermissionTest.cs: New File.
329         * AllTests.cs: New File.
330