1 2007-11-07 Gert Driesen <drieseng@users.sourceforge.net>
3 * SecurityElementTest.cs: Allow TestToString to pass on 1.0 profile.
5 2007-11-07 Atsushi Enomoto <atsushi@ximian.com>
7 * SecurityElementTest.cs : enabled test for #333699 and added
10 2007-10-14 Gert Driesen <drieseng@users.sourceforge.net>
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).
15 2007-10-14 Gert Driesen <drieseng@users.sourceforge.net>
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.
20 2007-10-14 Gert Driesen <drieseng@users.sourceforge.net>
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.
29 2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
31 * SecureStringCas.cs: New. CAS unit tests for SecureString.
32 * SecureStringTest.cs: New. Unit tests for SecureString.
34 2005-06-22 Sebastien Pouliot <sebastien@ximian.com>
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.
42 2005-06-20 Sebastien Pouliot <sebastien@ximian.com>
44 * PermissionSetTest.cs: Added tests for AddPermission with non-CAS
45 permissions. Added tests for ContainsNonCodeAccessPermissions.
47 2005-06-16 Sebastien Pouliot <sebastien@ximian.com>
49 * PermissionSetTest.cs: Added tests for AddPermission and IsSubsetOf.
51 2005-06-16 Sebastien Pouliot <sebastien@ximian.com>
53 * NamedPermissionSetTest.cs: Added more extensive constructor and
54 default values testing.
56 2005-06-10 Sebastien Pouliot <sebastien@ximian.com>
58 * PermissionSetTest.cs: Added tests for GetPermission with null and
59 when using a subclass of a permission. Also some new (not working)
62 2005-05-30 Sebastien Pouliot <sebastien@ximian.com>
64 * PermissionSetTest.cs: Added unification tests for permissions inside
65 an ECMA signed assembly.
67 2005-05-28 Sebastien Pouliot <sebastien@ximian.com>
69 * HostSecurityManagerTest.cs: Remove NotWorking from tests.
71 2005-05-27 Sebastien Pouliot <sebastien@ximian.com>
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.
79 2005-04-28 Sebastien Pouliot <sebastien@ximian.com>
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.
88 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
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).
95 2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
97 * SecurityExceptionCas.cs: Added new tests for GetObjectData.
99 2005-01-30 Sebastien Pouliot <sebastien@ximian.com>
101 * PermissionSetTest.cs: Changed [Ignore] to [Category("NotDotNet")] to
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.
108 2005-01-28 Sebastien Pouliot <sebastien@ximian.com>
110 * SecurityExceptionCas.cs: New. Permission tests for SecurityException.
112 2005-01-19 Sebastien Pouliot <sebastien@ximian.com>
114 * SecurityManagerTest.cs: Added new tests for 2.0. Fixed a test to work
115 even if the SecurityManager.CheckExecutionRights is false.
117 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
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.
126 2005-01-09 Sebastien Pouliot <sebastien@ximian.com>
128 * HostSecurityManagerTest.cs: New. Unit tests for HostSecurityManager.
129 * PermissionSetCollectionTest.cs: New. Unit tests for PermissionSet
132 2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
134 * PermissionSetTest.cs, SecurityManagerTest.cs: Adjusted unit tests so
135 they now execute without errors on 2.0 Dec CTP.
137 2003-09-01 Sebastien Pouliot <sebastien@ximian.com>
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).
144 2003-09-01 Sebastien Pouliot <sebastien@ximian.com>
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).
152 2003-08-31 Sebastien Pouliot <sebastien@ximian.com>
154 * PermissionSetTest.cs: Fixed two typos than changed the behaviour of
155 Intersect and RemovePermission.
157 2003-08-30 Sebastien Pouliot <sebastien@ximian.com>
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
167 2003-08-12 Sebastien Pouliot <sebastien@ximian.com>
169 * SecurityManagerTest.cs: More policy resolution tests when using host
170 or assembly provided evidences.
172 2003-08-04 Sebastien Pouliot <sebastien@ximian.com>
174 * SecurityManagerTest.cs: Added more unit tests.
176 2003-08-02 Sebastien Pouliot <sebastien@ximian.com>
178 * SecurityManagerTest.cs: Added bunch of tests for null usage.
179 Converted to NUnit 2.2.
181 2003-05-20 Sebastien Pouliot <sebastien@ximian.com>
183 * SecurityElementTest.cs: SetUp is now public (required for new nunit).
185 2004-01-27 Sebastien Pouliot <spouliot@videotron.ca>
187 * SecurityElementTest.cs: Added new tests for duplicate attributes
188 and multiple attribute order and ToString representation.
190 2004-01-24 David Sheldon <dave-mono@earth.li>
192 * CodeAccessPermissionTest.cs (To_String): Compared
193 Environment.NewLine rather than "\r\n"
195 2004-01-11 Sebastien Pouliot <spouliot@videotron.ca>
197 * CodeAccessPermissionTest.cs: Fixed CustomCAS test under Windows.
199 2004-01-06 Sebastien Pouliot <spouliot@videotron.ca>
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.
206 2004-01-05 Sebastien Pouliot <spouliot@videotron.ca>
208 * CodeAccessPermissionTest.cs: New. Unit tests on a non-abstract
209 CodeAccessPermission class.
210 * SecurityManagerTest.cs: Removed .Policy from namespace.
212 2004-01-03 Sebastien Pouliot <spouliot@videotron.ca>
214 * SecurityManagerTest.cs: New. Added VERY minimal unit tests that I
215 used to validate some behaviors.
217 2004-01-02 Sebastien Pouliot <spouliot@videotron.ca>
219 * SecurityElementTest.cs: Added new tests, constructors and null
220 related, and converted to NUnit2.
222 2003-06-28 Sebastien Pouliot <spouliot@videotron.ca>
224 * PermissionSetTest.cs: New. Partial unit tests for PermissionSet.
225 * NamedPermissionSetTest.cs: New. Complete unit tests.
227 2002-12-21 Nick Drochak <ndrochak@gol.com>
229 * all: make tests build and run under nunit2
231 2002-06-11 Nick Drochak <ndrochak@gol.com>
233 * SecurityElementTest.cs: Catch and report unexpected exceptions.
235 2002-04-27 Lawrence Pit <loz@cable.a2000.nl>
239 * SecurityElementTest.cs: added