2008-01-02 Sebastien Pouliot * SecureStringTest.cs: Add test cases for Copy (#350840) 2007-11-07 Gert Driesen * SecurityElementTest.cs: Allow TestToString to pass on 1.0 profile. 2007-11-07 Atsushi Enomoto * SecurityElementTest.cs : enabled test for #333699 and added couple more. 2007-10-14 Gert Driesen * SecurityElementTest.cs: Added tests for using single quotes as delimiter of which one passes on Mono and one on MS (due to bug). 2007-10-14 Gert Driesen * SecurityElementTest.cs: Modified test for bug #333699 to use double quote as delimiter to work around MS bug. Added test for bug #333725. 2007-10-14 Gert Driesen * SecurityElementTest.cs: No longer derive from Assertion. Added and improved ctor tests. Improved AddAttribute and AddChild tests. Added comment to mono's Attributes test and added test that passes on MS (to track fix for MS bug). Improved IsValid* tests. Added tests for Tag and Text. Improved FromString test to verify behavior wrt namespace prefixes. Added test for bug #333699. 2005-10-28 Sebastien Pouliot * SecureStringCas.cs: New. CAS unit tests for SecureString. * SecureStringTest.cs: New. Unit tests for SecureString. 2005-06-22 Sebastien Pouliot * CodeAccessPermissionCas.cs: New. CAS unit tests for using the stack modifiers (mostly assert) on permissions. * SecurityManagerCas.cs: New. CAS unit tests for SecurityManager. * SecurityManagerTest.cs: Moved a policy resolution test to SecurityManagerCas as it required CheckExecutionRights to be on. 2005-06-20 Sebastien Pouliot * PermissionSetTest.cs: Added tests for AddPermission with non-CAS permissions. Added tests for ContainsNonCodeAccessPermissions. 2005-06-16 Sebastien Pouliot * PermissionSetTest.cs: Added tests for AddPermission and IsSubsetOf. 2005-06-16 Sebastien Pouliot * NamedPermissionSetTest.cs: Added more extensive constructor and default values testing. 2005-06-10 Sebastien Pouliot * PermissionSetTest.cs: Added tests for GetPermission with null and when using a subclass of a permission. Also some new (not working) tests for NET_2_0. 2005-05-30 Sebastien Pouliot * PermissionSetTest.cs: Added unification tests for permissions inside an ECMA signed assembly. 2005-05-28 Sebastien Pouliot * HostSecurityManagerTest.cs: Remove NotWorking from tests. 2005-05-27 Sebastien Pouliot * NamedPermissionSetTest.cs: Re-enable the "NotWorking" unit test. * PermissionSetCas.cs: New. Moved RevertAssert unit tests from PermissionSetTest to here as they require --security to work. * PermissionSetTest.cs: Re-enable the "NotWorking" NET_2_0 unit tests. * SecurityContextCas.cs: Fixed namespace. 2005-04-28 Sebastien Pouliot * SecurityContextCas.cs: New. CAS unit tests for SecurityContext. * SecurityContextTest.cs: New. Unit tests for SecurityContext. * SecurityCriticalAttributeTest.cs: New. Unit tests for SecurityCriticalAttribute. * SecurityTransparentAttributeTest.cs: New. Unit tests for SecurityTransparentAttribute. 2005-04-25 Sebastien Pouliot * HostSecurityManagerTest.cs: Renamed HostSecurityManagerFlags to HostSecurityManagerOptions to match beta2. * PermissionSetCollectionTest.cs: Removed "set" tests for the PermissionSets property (removed in beta2). 2005-03-31 Sebastien Pouliot * SecurityExceptionCas.cs: Added new tests for GetObjectData. 2005-01-30 Sebastien Pouliot * PermissionSetTest.cs: Changed [Ignore] to [Category("NotDotNet")] to reduce nunit logs. * SecurityElementTest.cs: Changed [Ignore] to [Category("NotDotNet")] to reduce nunit logs. * SecurityManagerTest.cs: Changed [Ignore] to [Category("NotDotNet")] to reduce nunit logs. 2005-01-28 Sebastien Pouliot * SecurityExceptionCas.cs: New. Permission tests for SecurityException. 2005-01-19 Sebastien Pouliot * SecurityManagerTest.cs: Added new tests for 2.0. Fixed a test to work even if the SecurityManager.CheckExecutionRights is false. 2005-01-10 Sebastien Pouliot * PermissionSetCollectionTest.cs: Added tests for to see if alternates IList implementation (e.g. non-ArrayList) are supported as this affects where we must check for exceptions. * SecurityElementTest.cs: Add new tests for 2.0 methods. Adapted existing tests to deal with the fact that 2.0 doesn't indent the XML attributes and child elements. 2005-01-09 Sebastien Pouliot * HostSecurityManagerTest.cs: New. Unit tests for HostSecurityManager. * PermissionSetCollectionTest.cs: New. Unit tests for PermissionSet Collection. 2005-01-04 Sebastien Pouliot * PermissionSetTest.cs, SecurityManagerTest.cs: Adjusted unit tests so they now execute without errors on 2.0 Dec CTP. 2003-09-01 Sebastien Pouliot * PermissionSetTest.cs: Fixed tests so they execute without errors on both Fx 1.1 and Fx 2.0 (beta 1). * SecurityManagerTest.cs: Fixed tests so they execute without errors on both Fx 1.1 and Fx 2.0 (beta 1). 2003-09-01 Sebastien Pouliot * PermissionSetTest.cs: Added tests for IsEmpty which can return true even when Count > 0. Added tests for FromXml to see if class names requires to be resolved when loaded from policy files. * SecurityManagerTest.cs: Minor changes to tests so they succeed with both Fx 1.1 and Fx 2.0 (beta 1). 2003-08-31 Sebastien Pouliot * PermissionSetTest.cs: Fixed two typos than changed the behaviour of Intersect and RemovePermission. 2003-08-30 Sebastien Pouliot * NamedPermissionTest.cs: Added unit tests for Copy(), Copy(name), more tests for From/ToXml and Equals/GetHashCode (for NET_2_0). * PermissionSetTest.cs: Added new unit tests for AddPermission, ContainsNonCodeAccessPermissions, partial tests for undocumented ConvertPermissionSet, Copy, CopyTo, GetHashCode (for NET_2_0), GetPermission, Intersect, IsSubset, RemovePermission, SetPermission and Union. 2003-08-12 Sebastien Pouliot * SecurityManagerTest.cs: More policy resolution tests when using host or assembly provided evidences. 2003-08-04 Sebastien Pouliot * SecurityManagerTest.cs: Added more unit tests. 2003-08-02 Sebastien Pouliot * SecurityManagerTest.cs: Added bunch of tests for null usage. Converted to NUnit 2.2. 2003-05-20 Sebastien Pouliot * SecurityElementTest.cs: SetUp is now public (required for new nunit). 2004-01-27 Sebastien Pouliot * SecurityElementTest.cs: Added new tests for duplicate attributes and multiple attribute order and ToString representation. 2004-01-24 David Sheldon * CodeAccessPermissionTest.cs (To_String): Compared Environment.NewLine rather than "\r\n" 2004-01-11 Sebastien Pouliot * CodeAccessPermissionTest.cs: Fixed CustomCAS test under Windows. 2004-01-06 Sebastien Pouliot * CodeAccessPermissionTest.cs: Added a new test for calling Demand on custom code access permission. Ref: http://bugzilla.ximian.com/show_bug.cgi?id=52626 * SecurityExceptionTest.cs: New. Unit tests for SecurityException. 2004-01-05 Sebastien Pouliot * CodeAccessPermissionTest.cs: New. Unit tests on a non-abstract CodeAccessPermission class. * SecurityManagerTest.cs: Removed .Policy from namespace. 2004-01-03 Sebastien Pouliot * SecurityManagerTest.cs: New. Added VERY minimal unit tests that I used to validate some behaviors. 2004-01-02 Sebastien Pouliot * SecurityElementTest.cs: Added new tests, constructors and null related, and converted to NUnit2. 2003-06-28 Sebastien Pouliot * PermissionSetTest.cs: New. Partial unit tests for PermissionSet. * NamedPermissionSetTest.cs: New. Complete unit tests. 2002-12-21 Nick Drochak * all: make tests build and run under nunit2 2002-06-11 Nick Drochak * SecurityElementTest.cs: Catch and report unexpected exceptions. 2002-04-27 Lawrence Pit * ChangeLog: added * AllTests.cs: added * SecurityElementTest.cs: added