1 2009-05-01 Sebastien Pouliot <sebastien@ximian.com>
3 * SecurityStateTest.cs: New. Unit tests for IsStateAvailable
5 2008-01-02 Sebastien Pouliot <sebastien@ximian.com>
7 * SecureStringTest.cs: Add test case for InsertAt (#350820)
9 2008-01-02 Sebastien Pouliot <sebastien@ximian.com>
11 * SecureStringTest.cs: Add test cases for Copy (#350840)
13 2007-11-07 Gert Driesen <drieseng@users.sourceforge.net>
15 * SecurityElementTest.cs: Allow TestToString to pass on 1.0 profile.
17 2007-11-07 Atsushi Enomoto <atsushi@ximian.com>
19 * SecurityElementTest.cs : enabled test for #333699 and added
22 2007-10-14 Gert Driesen <drieseng@users.sourceforge.net>
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).
27 2007-10-14 Gert Driesen <drieseng@users.sourceforge.net>
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.
32 2007-10-14 Gert Driesen <drieseng@users.sourceforge.net>
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.
41 2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
43 * SecureStringCas.cs: New. CAS unit tests for SecureString.
44 * SecureStringTest.cs: New. Unit tests for SecureString.
46 2005-06-22 Sebastien Pouliot <sebastien@ximian.com>
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.
54 2005-06-20 Sebastien Pouliot <sebastien@ximian.com>
56 * PermissionSetTest.cs: Added tests for AddPermission with non-CAS
57 permissions. Added tests for ContainsNonCodeAccessPermissions.
59 2005-06-16 Sebastien Pouliot <sebastien@ximian.com>
61 * PermissionSetTest.cs: Added tests for AddPermission and IsSubsetOf.
63 2005-06-16 Sebastien Pouliot <sebastien@ximian.com>
65 * NamedPermissionSetTest.cs: Added more extensive constructor and
66 default values testing.
68 2005-06-10 Sebastien Pouliot <sebastien@ximian.com>
70 * PermissionSetTest.cs: Added tests for GetPermission with null and
71 when using a subclass of a permission. Also some new (not working)
74 2005-05-30 Sebastien Pouliot <sebastien@ximian.com>
76 * PermissionSetTest.cs: Added unification tests for permissions inside
77 an ECMA signed assembly.
79 2005-05-28 Sebastien Pouliot <sebastien@ximian.com>
81 * HostSecurityManagerTest.cs: Remove NotWorking from tests.
83 2005-05-27 Sebastien Pouliot <sebastien@ximian.com>
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.
91 2005-04-28 Sebastien Pouliot <sebastien@ximian.com>
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.
100 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
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).
107 2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
109 * SecurityExceptionCas.cs: Added new tests for GetObjectData.
111 2005-01-30 Sebastien Pouliot <sebastien@ximian.com>
113 * PermissionSetTest.cs: Changed [Ignore] to [Category("NotDotNet")] to
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.
120 2005-01-28 Sebastien Pouliot <sebastien@ximian.com>
122 * SecurityExceptionCas.cs: New. Permission tests for SecurityException.
124 2005-01-19 Sebastien Pouliot <sebastien@ximian.com>
126 * SecurityManagerTest.cs: Added new tests for 2.0. Fixed a test to work
127 even if the SecurityManager.CheckExecutionRights is false.
129 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
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.
138 2005-01-09 Sebastien Pouliot <sebastien@ximian.com>
140 * HostSecurityManagerTest.cs: New. Unit tests for HostSecurityManager.
141 * PermissionSetCollectionTest.cs: New. Unit tests for PermissionSet
144 2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
146 * PermissionSetTest.cs, SecurityManagerTest.cs: Adjusted unit tests so
147 they now execute without errors on 2.0 Dec CTP.
149 2003-09-01 Sebastien Pouliot <sebastien@ximian.com>
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).
156 2003-09-01 Sebastien Pouliot <sebastien@ximian.com>
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).
164 2003-08-31 Sebastien Pouliot <sebastien@ximian.com>
166 * PermissionSetTest.cs: Fixed two typos than changed the behaviour of
167 Intersect and RemovePermission.
169 2003-08-30 Sebastien Pouliot <sebastien@ximian.com>
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
179 2003-08-12 Sebastien Pouliot <sebastien@ximian.com>
181 * SecurityManagerTest.cs: More policy resolution tests when using host
182 or assembly provided evidences.
184 2003-08-04 Sebastien Pouliot <sebastien@ximian.com>
186 * SecurityManagerTest.cs: Added more unit tests.
188 2003-08-02 Sebastien Pouliot <sebastien@ximian.com>
190 * SecurityManagerTest.cs: Added bunch of tests for null usage.
191 Converted to NUnit 2.2.
193 2003-05-20 Sebastien Pouliot <sebastien@ximian.com>
195 * SecurityElementTest.cs: SetUp is now public (required for new nunit).
197 2004-01-27 Sebastien Pouliot <spouliot@videotron.ca>
199 * SecurityElementTest.cs: Added new tests for duplicate attributes
200 and multiple attribute order and ToString representation.
202 2004-01-24 David Sheldon <dave-mono@earth.li>
204 * CodeAccessPermissionTest.cs (To_String): Compared
205 Environment.NewLine rather than "\r\n"
207 2004-01-11 Sebastien Pouliot <spouliot@videotron.ca>
209 * CodeAccessPermissionTest.cs: Fixed CustomCAS test under Windows.
211 2004-01-06 Sebastien Pouliot <spouliot@videotron.ca>
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.
218 2004-01-05 Sebastien Pouliot <spouliot@videotron.ca>
220 * CodeAccessPermissionTest.cs: New. Unit tests on a non-abstract
221 CodeAccessPermission class.
222 * SecurityManagerTest.cs: Removed .Policy from namespace.
224 2004-01-03 Sebastien Pouliot <spouliot@videotron.ca>
226 * SecurityManagerTest.cs: New. Added VERY minimal unit tests that I
227 used to validate some behaviors.
229 2004-01-02 Sebastien Pouliot <spouliot@videotron.ca>
231 * SecurityElementTest.cs: Added new tests, constructors and null
232 related, and converted to NUnit2.
234 2003-06-28 Sebastien Pouliot <spouliot@videotron.ca>
236 * PermissionSetTest.cs: New. Partial unit tests for PermissionSet.
237 * NamedPermissionSetTest.cs: New. Complete unit tests.
239 2002-12-21 Nick Drochak <ndrochak@gol.com>
241 * all: make tests build and run under nunit2
243 2002-06-11 Nick Drochak <ndrochak@gol.com>
245 * SecurityElementTest.cs: Catch and report unexpected exceptions.
247 2002-04-27 Lawrence Pit <loz@cable.a2000.nl>
251 * SecurityElementTest.cs: added