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