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