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