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