New tests, updates
[mono.git] / mcs / class / corlib / Test / System.Security / ChangeLog
1 2009-05-01  Sebastien Pouliot  <sebastien@ximian.com>
2
3         * SecurityStateTest.cs: New. Unit tests for IsStateAvailable
4
5 2008-01-02  Sebastien Pouliot  <sebastien@ximian.com> 
6
7         * SecureStringTest.cs: Add test case for InsertAt (#350820)
8
9 2008-01-02  Sebastien Pouliot  <sebastien@ximian.com>
10
11         * SecureStringTest.cs: Add test cases for Copy (#350840)
12
13 2007-11-07  Gert Driesen  <drieseng@users.sourceforge.net>
14
15         * SecurityElementTest.cs: Allow TestToString to pass on 1.0 profile.
16
17 2007-11-07  Atsushi Enomoto  <atsushi@ximian.com>
18
19         * SecurityElementTest.cs : enabled test for #333699 and added
20           couple more.
21
22 2007-10-14  Gert Driesen  <drieseng@users.sourceforge.net>
23
24         * SecurityElementTest.cs: Added tests for using single quotes as
25         delimiter of which one passes on Mono and one on MS (due to bug). 
26
27 2007-10-14  Gert Driesen  <drieseng@users.sourceforge.net>
28
29         * SecurityElementTest.cs: Modified test for bug #333699 to use double
30         quote as delimiter to work around MS bug. Added test for bug #333725.
31
32 2007-10-14  Gert Driesen  <drieseng@users.sourceforge.net>
33
34         * SecurityElementTest.cs: No longer derive from Assertion. Added and
35         improved ctor tests. Improved AddAttribute and AddChild tests.
36         Added comment to mono's Attributes test and added test that passes
37         on MS (to track fix for MS bug). Improved IsValid* tests. Added tests
38         for Tag and Text. Improved FromString test to verify behavior wrt
39         namespace prefixes. Added test for bug #333699.
40
41 2005-10-28  Sebastien Pouliot  <sebastien@ximian.com>
42
43         * SecureStringCas.cs: New. CAS unit tests for SecureString.
44         * SecureStringTest.cs: New. Unit tests for SecureString.
45
46 2005-06-22  Sebastien Pouliot  <sebastien@ximian.com>
47
48         * CodeAccessPermissionCas.cs: New. CAS unit tests for using the
49         stack modifiers (mostly assert) on permissions.
50         * SecurityManagerCas.cs: New. CAS unit tests for SecurityManager.
51         * SecurityManagerTest.cs: Moved a policy resolution test to 
52         SecurityManagerCas as it required CheckExecutionRights to be on.
53
54 2005-06-20  Sebastien Pouliot  <sebastien@ximian.com>
55
56         * PermissionSetTest.cs: Added tests for AddPermission with non-CAS 
57         permissions. Added tests for ContainsNonCodeAccessPermissions.
58
59 2005-06-16  Sebastien Pouliot  <sebastien@ximian.com>
60
61         * PermissionSetTest.cs: Added tests for AddPermission and IsSubsetOf.
62
63 2005-06-16  Sebastien Pouliot  <sebastien@ximian.com>
64
65         * NamedPermissionSetTest.cs: Added more extensive constructor and 
66         default values testing.
67
68 2005-06-10  Sebastien Pouliot  <sebastien@ximian.com>
69
70         * PermissionSetTest.cs: Added tests for GetPermission with null and 
71         when using a subclass of a permission. Also some new (not working)
72         tests for NET_2_0.
73
74 2005-05-30  Sebastien Pouliot  <sebastien@ximian.com>
75
76         * PermissionSetTest.cs: Added unification tests for permissions inside
77         an ECMA signed assembly.
78
79 2005-05-28  Sebastien Pouliot  <sebastien@ximian.com>
80
81         * HostSecurityManagerTest.cs: Remove NotWorking from tests.
82
83 2005-05-27  Sebastien Pouliot  <sebastien@ximian.com>
84
85         * NamedPermissionSetTest.cs: Re-enable the "NotWorking" unit test.
86         * PermissionSetCas.cs: New. Moved RevertAssert unit tests from 
87         PermissionSetTest to here as they require --security to work.
88         * PermissionSetTest.cs: Re-enable the "NotWorking" NET_2_0 unit tests.
89         * SecurityContextCas.cs: Fixed namespace.
90
91 2005-04-28  Sebastien Pouliot  <sebastien@ximian.com>
92
93         * SecurityContextCas.cs: New. CAS unit tests for SecurityContext.
94         * SecurityContextTest.cs: New. Unit tests for SecurityContext.
95         * SecurityCriticalAttributeTest.cs: New. Unit tests for 
96         SecurityCriticalAttribute.
97         * SecurityTransparentAttributeTest.cs: New. Unit tests for 
98         SecurityTransparentAttribute.
99
100 2005-04-25  Sebastien Pouliot  <sebastien@ximian.com> 
101
102         * HostSecurityManagerTest.cs: Renamed HostSecurityManagerFlags to 
103         HostSecurityManagerOptions to match beta2.
104         * PermissionSetCollectionTest.cs: Removed "set" tests for the 
105         PermissionSets property (removed in beta2).
106
107 2005-03-31  Sebastien Pouliot  <sebastien@ximian.com> 
108
109         * SecurityExceptionCas.cs: Added new tests for GetObjectData.
110
111 2005-01-30  Sebastien Pouliot  <sebastien@ximian.com> 
112
113         * PermissionSetTest.cs: Changed [Ignore] to [Category("NotDotNet")] to
114         reduce nunit logs.
115         * SecurityElementTest.cs: Changed [Ignore] to [Category("NotDotNet")] 
116         to reduce nunit logs.
117         * SecurityManagerTest.cs: Changed [Ignore] to [Category("NotDotNet")] 
118         to reduce nunit logs.
119
120 2005-01-28  Sebastien Pouliot  <sebastien@ximian.com> 
121
122         * SecurityExceptionCas.cs: New. Permission tests for SecurityException.
123
124 2005-01-19  Sebastien Pouliot  <sebastien@ximian.com>
125
126         * SecurityManagerTest.cs: Added new tests for 2.0. Fixed a test to work
127         even if the SecurityManager.CheckExecutionRights is false.
128
129 2005-01-10  Sebastien Pouliot  <sebastien@ximian.com>
130
131         * PermissionSetCollectionTest.cs: Added tests for to see if alternates
132         IList implementation (e.g. non-ArrayList) are supported as this 
133         affects where we must check for exceptions.
134         * SecurityElementTest.cs: Add new tests for 2.0 methods. Adapted 
135         existing tests to deal with the fact that 2.0 doesn't indent the XML
136         attributes and child elements.
137
138 2005-01-09  Sebastien Pouliot  <sebastien@ximian.com>
139
140         * HostSecurityManagerTest.cs: New. Unit tests for HostSecurityManager.
141         * PermissionSetCollectionTest.cs: New. Unit tests for PermissionSet
142         Collection.
143
144 2005-01-04  Sebastien Pouliot  <sebastien@ximian.com>
145
146         * PermissionSetTest.cs, SecurityManagerTest.cs: Adjusted unit tests so
147         they now execute without errors on 2.0 Dec CTP.
148
149 2003-09-01  Sebastien Pouliot  <sebastien@ximian.com>
150
151         * PermissionSetTest.cs: Fixed tests so they execute without errors on
152         both Fx 1.1 and Fx 2.0 (beta 1).
153         * SecurityManagerTest.cs: Fixed tests so they execute without errors 
154         on both Fx 1.1 and Fx 2.0 (beta 1).
155
156 2003-09-01  Sebastien Pouliot  <sebastien@ximian.com>
157
158         * PermissionSetTest.cs: Added tests for IsEmpty which can return true
159         even when Count > 0. Added tests for FromXml to see if class names
160         requires to be resolved when loaded from policy files.
161         * SecurityManagerTest.cs: Minor changes to tests so they succeed with 
162         both Fx 1.1 and Fx 2.0 (beta 1).
163
164 2003-08-31  Sebastien Pouliot  <sebastien@ximian.com>
165
166         * PermissionSetTest.cs: Fixed two typos than changed the behaviour of
167         Intersect and RemovePermission.
168
169 2003-08-30  Sebastien Pouliot  <sebastien@ximian.com>
170
171         * NamedPermissionTest.cs: Added unit tests for Copy(), Copy(name), 
172         more tests for From/ToXml and Equals/GetHashCode (for NET_2_0).
173         * PermissionSetTest.cs: Added new unit tests for AddPermission, 
174         ContainsNonCodeAccessPermissions, partial tests for undocumented
175         ConvertPermissionSet, Copy, CopyTo, GetHashCode (for NET_2_0),
176         GetPermission, Intersect, IsSubset, RemovePermission, SetPermission 
177         and Union.
178
179 2003-08-12  Sebastien Pouliot  <sebastien@ximian.com>
180
181         * SecurityManagerTest.cs: More policy resolution tests when using host
182         or assembly provided evidences.
183
184 2003-08-04  Sebastien Pouliot  <sebastien@ximian.com>
185
186         * SecurityManagerTest.cs: Added more unit tests.
187
188 2003-08-02  Sebastien Pouliot  <sebastien@ximian.com>
189
190         * SecurityManagerTest.cs: Added bunch of tests for null usage. 
191         Converted to NUnit 2.2.
192
193 2003-05-20  Sebastien Pouliot  <sebastien@ximian.com>
194
195         * SecurityElementTest.cs: SetUp is now public (required for new nunit).
196
197 2004-01-27  Sebastien Pouliot  <spouliot@videotron.ca>
198
199         * SecurityElementTest.cs: Added new tests for duplicate attributes 
200         and multiple attribute order and ToString representation.
201
202 2004-01-24  David Sheldon <dave-mono@earth.li>
203
204         * CodeAccessPermissionTest.cs (To_String): Compared
205         Environment.NewLine rather than "\r\n"
206
207 2004-01-11  Sebastien Pouliot  <spouliot@videotron.ca>
208
209         * CodeAccessPermissionTest.cs: Fixed CustomCAS test under Windows.
210
211 2004-01-06  Sebastien Pouliot  <spouliot@videotron.ca>
212
213         * CodeAccessPermissionTest.cs: Added a new test for calling Demand on
214         custom code access permission. 
215         Ref: http://bugzilla.ximian.com/show_bug.cgi?id=52626
216         * SecurityExceptionTest.cs: New. Unit tests for SecurityException.
217
218 2004-01-05  Sebastien Pouliot  <spouliot@videotron.ca>
219
220         * CodeAccessPermissionTest.cs: New. Unit tests on a non-abstract 
221         CodeAccessPermission class.
222         * SecurityManagerTest.cs: Removed .Policy from namespace. 
223
224 2004-01-03  Sebastien Pouliot  <spouliot@videotron.ca>
225
226         * SecurityManagerTest.cs: New. Added VERY minimal unit tests that I 
227         used to validate some behaviors.
228
229 2004-01-02  Sebastien Pouliot  <spouliot@videotron.ca>
230
231         * SecurityElementTest.cs: Added new tests, constructors and null 
232         related, and converted to NUnit2.
233
234 2003-06-28  Sebastien Pouliot  <spouliot@videotron.ca>
235
236         * PermissionSetTest.cs: New. Partial unit tests for PermissionSet.
237         * NamedPermissionSetTest.cs: New. Complete unit tests.
238
239 2002-12-21  Nick Drochak <ndrochak@gol.com>
240
241         * all: make tests build and run under nunit2
242
243 2002-06-11  Nick Drochak  <ndrochak@gol.com>
244
245         * SecurityElementTest.cs: Catch and report unexpected exceptions.
246
247 2002-04-27  Lawrence Pit <loz@cable.a2000.nl>
248
249         * ChangeLog: added
250         * AllTests.cs: added
251         * SecurityElementTest.cs: added
252