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