taking IEnumerable<CustomAttributeBuilder>.
* AssemblyBuilderTest.cs: Added tests for DefineUnmanagedResource and
DefineVersionInfoResource overloads that check whether only a single
unmanaged resource can be defined. Improved test for SetCustomAttribute.
* AssemblyNameTest.cs: Added test for effect of AssemblyNameFlags on
FullName. Added test for PublicKey with value "null". Added ctor test
for Retargetable spec.
* AssemblyName.cs: Added support for Retargetable spec in FullName.
svn path=/trunk/mcs/; revision=93348
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
* CultureInfo.cs: Added internal CreateCulture method, which is used
by the runtime to creating CultureInfo instances for AssemblyName.
* AssemblyNameTest.cs: Improved culture test to cover bug #347174.
* Descriptors/mscorlib.xml: Preserve all for CultureInfo to prevent
linker from removing CreateCulture method that is only used by the
runtime.
svn path=/trunk/mcs/; revision=91978
absolute path before passing it to Assembly.InternalGetAssemblyName
as the CodeBase is not set in that case.
* AssemblyNameTest.cs: Added test for CodeBase of AssemblyName
filled by AssemblyName.GetAssemblyName. Added tests for bug #79661.
svn path=/trunk/mcs/; revision=66822
* AssemblyNameTest.cs: Added some tests for the 2.0 new
ctor. Keep some of them as NotWorking, since we need to figure out
an elegant way to avoiding creating Version when not passing it.
svn path=/trunk/mcs/; revision=50759
* AssemblyNameTest.cs: "Fixed" tests so they execute without errors on
both Fx 1.1 SP1 and Fx 2.0 beta 2. Added corresponding NotWorking.
svn path=/trunk/mcs/; revision=45916
* AssemblyNameTest.cs: Added distinctive names for all asserts in
Version. Changed Self to NotWorking as other cases returns null. It
will re-activated once we know the logic behind it.
svn path=/trunk/mcs/; revision=45914
* AssemblyNameTest.cs: Added tests to Version method,
in order to do additional checks with AssemblyBuilder
version.
svn path=/trunk/mcs/; revision=45661
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
* AssemblyNameTest.cs: Add test for ArgumentNullException on
GetObjectData. Made existing tests more nunit2.2 like.
* ModuleCas.cs: Added new tests for FullyQualifiedName and Name
properties.
* ModuleTest.cs: Add test for ArgumentNullException on GetObjectData.
svn path=/trunk/mcs/; revision=42513
* AssemblyNameTest.cs: Added test for non-signed assembly (which
returns an empty array - i.e. not null like an empty assembly).
svn path=/trunk/mcs/; revision=9857
* AllTests.cs: Added test suites for AssemblyName and
StrongNameKeyPair.
* AssemblyNameTest.cs: New. Test suite for AssemblyName.
* StrongNameKeyPairTest.cs: New. Test suite for StrongNameKeyPair.
svn path=/trunk/mcs/; revision=9458