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