* HostProtectionAttributeTest.cs: Added tests to check for individual
removal of flags.
* SecurityPermissionAttributeTest.cs: Added tests to check for
individual removal of flags.
svn path=/trunk/mcs/; revision=44709
Fix line endings of System/Decimal.cs (only actual "change" in text, to force recompile of mscorlib to reflect changes in decimal constant handling in the compiler)
svn path=/trunk/mcs/; revision=44558
* IBuiltInPermissionTest.cs: Fixed token index numbers wrt beta2.
* IsolatedStorageFilePermissionTest.cs: Change containment to match
beta2.
* UrlIdentityPermissionTest.cs: Fixed test case for 2.0.
* ZoneIdentityPermissionAttributeTest.cs: Tag unrestricted test as
NotWorking.
svn path=/trunk/mcs/; revision=43660
* FileIOPermissionTest.cs: Added a test case for a filename starting
with the "file://" scheme (which isn't valid).
svn path=/trunk/mcs/; revision=42448
* GacIdentityPermissionTest.cs, IBuiltInPermissionTest.cs,
PublisherIdentityPermissionAttributeTest.cs,
PublisherIdentityPermissionTest.cs,
SiteIdentityPermissionAttributeTest.cs, SiteIdentityPermissionTest.cs,
StrongNameIdentityPermissionAttributeTest.cs,
StrongNameIdentityPermissionTest.cs,
UrlIdentityPermissionAttributeTest.cs, UrlIdentityPermissionTest.cs,
ZoneIdentityPermissionTest.cs: Adjusted unit tests so they now execute
without errors on 2.0 Dec CTP.
svn path=/trunk/mcs/; revision=38310
* FileIOPermissionAttributeTest.cs: Added a new test to check that the
attribute class accept (and retains) non-c14n filenames while the
permission class accept, but c14n, filenames. Fixed other tests that
didn't check for c14n results from the created permission.
svn path=/trunk/mcs/; revision=33368
* UrlIdentityPermissionTest.cs: Added a test for Copy an empty object
which results in a different behaviour in Fx 1.1 and 2.0.
svn path=/trunk/mcs/; revision=33266
* EnvironmentPermissionTest.cs: Fixed tests so they execute without
errors on both Fx 1.1 and Fx 2.0 (beta 1).
* PublisherIdentityPermissionTest.cs: Fixed tests so they execute
without errors on both Fx 1.1 and Fx 2.0 (beta 1).
* SiteIdentityPermissionTest.cs: Fixed tests so they execute without
errors on both Fx 1.1 and Fx 2.0 (beta 1). Fixed line endings.
* StrongNameIdentityPermissionTest.cs: Fixed tests so they execute
without errors on both Fx 1.1 and Fx 2.0 (beta 1).
* StrongNamePublicKeyBlobTest.cs: Fixed tests so they execute without
errors on both Fx 1.1 and Fx 2.0 (beta 1). Converted tests to NUnit
2.2 format.
* UrlIdentityPermissionTest.cs: Fixed tests so they execute without
errors on both Fx 1.1 and Fx 2.0 (beta 1).
svn path=/trunk/mcs/; revision=33188
* CodeAccessSecurityAttributeTest.cs: New unit tests for abstract
class CodeAccessSecurityAttribute.
* DataProtectionPermissionAttributeTest.cs: New unit tests for Fx 2.0
DataProtectionPermissionAttribute class.
* HostProtectionAttributeTest.cs: New unit tests for Fx 2.0
HostProtectionAttribute class.
* IsolatedStoragePermissionAttributeTest.cs: New unit tests for
abstract class IsolatedStoragePermissionAttribute.
* KeyContainerPermissionAttributeTest.cs: New unit tests for Fx 2.0
KeyContainerPermissionAttribute class.
* SecurityAttributeTest.cs: New unit tests for abstract class
SecurityAttribute.
* SiteIdentityPermissionTest.cs: New unit tests for
SiteIdentityPermission. Lacks tests for wilcards.
svn path=/trunk/mcs/; revision=32572
* CodeAccessSecurityAttributeTest.cs: New unit tests for abstract
class CodeAccessSecurityAttribute.
* DataProtectionPermissionAttributeTest.cs: New unit tests for Fx 2.0
DataProtectionPermissionAttribute class.
* EnvironmentPermissionAttributeTest.cs: Added tests to check class's
attributes. Converted existing tests to NUnit 2.2 format. Fixed small
behaviour difference with Fx 2.0.
* FileDialogPermissionAttributeTest.cs: Added tests to check class's
attributes. Converted existing tests to NUnit 2.2 format.
* FileIOPermissionAttributeTest.cs: Added tests to check class's
attributes. Converted existing tests to NUnit 2.2 format. Added tests
for new Fx 2.0 properties.
* HostProtectionAttributeTest.cs: New unit tests for Fx 2.0
HostProtectionAttribute class.
* IsolatedStoragePermissionAttributeTest.cs: New unit tests for
abstract class IsolatedStoragePermissionAttribute.
* KeyContainerPermissionAttributeTest.cs: New unit tests for Fx 2.0
KeyContainerPermissionAttribute class.
* PermissionSetAttributeTest.cs: Added tests to check class's
attributes. Converted existing tests to NUnit 2.2 format. Added tests
for new Fx 2.0 properties.
* PrincipalPermissionAttributeTest.cs: Added tests to check class's
attributes. Converted existing tests to NUnit 2.2 format.
* PublisherIdentityPermissionAttributeTest.cs: Added tests to check
class's attributes. Converted existing tests to NUnit 2.2 format.
* ReflectionPermissionAttributeTest.cs: Added tests to check class's
attributes. Converted existing tests to NUnit 2.2 format.
* RegistryPermissionAttributeTest.cs: Added tests to check class's
attributes. Converted existing tests to NUnit 2.2 format. Added tests
for new Fx 2.0 properties.
* SecurityAttributeTest.cs: New unit tests for abstract class
SecurityAttribute.
* SecurityPermissionAttributeTest.cs: Removed unrequired line.
* SiteIdentityPermissionAttributeTest.cs: Added tests to check class's
attributes. Converted existing tests to NUnit 2.2 format.
* StrongNameIdentityPermissionAttributeTest.cs: Removed unrequired line.
* UIPermissionAttributeTest.cs: Removed unrequired line.
* UrlIdentityPermissionAttributeTest.cs: Added tests to check class's
attributes. Converted existing tests to NUnit 2.2 format.
* ZoneIdentityPermissionAttributeTest.cs: Removed unrequired line.
svn path=/trunk/mcs/; revision=32538
* SecurityPermissionAttributeTest.cs: Added unit tests for invalid
SecurityAction, Flags effects and custom attributes. Converted
existing tests to NUnit 2.2 format.
* SecurityPermissionTest.cs: New. Unit tests for SecurityPermission.
svn path=/trunk/mcs/; revision=32521
* StrongNameIdentityPermissionTest.cs: New. Unit tests for
StrongNameIdentityPermission.
* StrongNameIdentityPermissionAttributeTest.cs: Added unit test to
check the behavior of using an invalid SecurityAction. Added tests
for CreatePermission. Converted existing tests to NUnit 2.2 format.
svn path=/trunk/mcs/; revision=32457
* ZoneIdentityPermissionAttributeTest.cs: Added unit tests to check
the behavior of using invliad enums for properties (no checks).
* ZoneIdentityPermissionTest.cs: Added new unit tests for XML decoding.
svn path=/trunk/mcs/; revision=32431
* IBuiltInPermissionTest.cs: New. Unit tests to check the result of
the "somewhat undocumented" IBuiltInPermission.GetTokenIndex on all
permissions inside corlib.
* UIPermissionTest.cs: New. Unit tests for UIPermission.
* UIPermissionAttributeTest.cs: Added unit tests to check the behavior
of using invliad enums for properties (no checks).
svn path=/trunk/mcs/; revision=32422
* FileIOPermissionTest.cs: Converted to NUnit2. Added a test to show a
strange behaviour (short/long path) - ignored for now.
svn path=/trunk/mcs/; revision=22548
* FileIOPermissionAttributeTest.cs: Removed GetTempPath from the tests
as the introduced failures weren't related to the class (test moved to
FileIOPermissionTest.cs).
svn path=/trunk/mcs/; revision=22546
* EnvironmentPermissionAttributeTest.cs: Updated to test default
properties, Actions, get for All (1.1) and Unrestricted.
* FileDialogPermissionAttributeTest.cs: Updated to test default
properties, Actions and Unrestricted.
* FileIOPermissionAttributeTest.cs: Updated to test default
properties, Actions, get for All (1.1) and Unrestricted.
* IsolatedStorageFilePermissionAttributeTest.cs: New.
* PermissionSetAttributeTest.cs: New.
* PrincipalPermissionAttributeTest.cs: Updated to test default
properties, Actions and Unrestricted.
* PublisherIdentityPermissionAttributeTest.cs: Updated to test default
properties, Actions and Unrestricted.
* ReflectionPermissionAttributeTest.cs: Updated to test default
properties, Actions and Unrestricted.
* RegistryPermissionAttributeTest.cs: New.
* SecurityPermissionAttributeTest.cs: New.
* SiteIdentityPermissionAttributeTest.cs: New.
* StrongNameIdentityPermissionAttributeTest.cs: New.
* StrongNamePublicKeyBlobTest.cs: Converted to NUnit2 format.
* UIPermissionAttributeTest.cs: New.
* UrlIdentityPermissionAttributeTest.cs: New.
* ZoneIdentityPermissionAttributeTest.cs: New.
svn path=/trunk/mcs/; revision=21542
* FileIOPermissionAttributeTest.cs: Handle Short File Name vs. Long
File Name messiness. This probably needs to be worked on for the
tests to work on Linux, etc.
svn path=/trunk/mcs/; revision=19260