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