Commit Graph
4 Commits
Author SHA1 Message Date
Miguel de Icaza 0699e4da36 Fix warnings in mscorlib's Test suite + bring a couple more tests + fix thread rename test 2014-09-23 10:56:04 -04:00
Gert Driesen 75fa72c63c * AssemblyBuilder.cs (UnprotectedGetName): Set the public key token
as well.
* AssemblyBuilderTest.cs: Improved existing AssemblyName related tests.
Enabled AssemblyName tests that previously failed.
* AssemblyNameCas.cs: Sync test methods with AssemblyNameTest.cs.
* AssemblyNameTest.cs: Removed AssertEqualsByteArrays method since
NUnit supports this out-of-the-box. Use more meaningful names for
some existing tests. Improved existing tests and added lots more.
Enabled tests that were previously failing.  Fixed and improved
tests for public key; the original "public key" was actually a         
key pair.
* AssemblyName.cs: Fixed default value for ProcessorArchitecture to
match MS. On 2.0 profile, return zero-length in FullName is no name
is set, and throw a SecurityException in FullName and GetPublicKeyToken
if a public key is set with no corresponding public key token. 
Fixed FullName to also include PublicKeyToken spec with "null" value
if public key is empty byte array. Fixed corlib part of bug #351057.   
In SetPublicKey, modify Flags accordingly. On the 2.0 profile, verify
the public key when the public key token is computed.

svn path=/trunk/mcs/; revision=92314
2008-01-05 19:35:02 +00:00
Sebastien Pouliot 10716cdc21 2005-06-14 Sebastien Pouliot <[email protected]>
* AssemblyNameCas.cs: Removed execution of AssemblyNameTest.Self as it
	is now NotWorking.


svn path=/trunk/mcs/; revision=45973
2005-06-14 14:24:16 +00:00
Sebastien Pouliot 3a9e0ee575 * AssemblyNameTest.cs: Added tests for Clone and serialization without
a strongname.
	* AssemblyNameCas.cs: New. CAS unit tests for AssemblyName.
	* StrongNameKeyPairTest.cs: Little changes to make it easier to reuse 
	in CAS tests.
	* StrongNameKeyPairCas.cs: New. CAS unit tests for StrongNameKeyPair.

2005-04-04  Sebastien Pouliot  <[email protected]>


svn path=/trunk/mcs/; revision=42534
2005-04-04 19:02:51 +00:00