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