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