* Assembly.cs (GetType): Throw if name is empty.
2009-07-27 Rodrigo Kumpera <[email protected]>
* AssemblyTest.cs: Add test for empty string passed to
Assembly::GetType.
svn path=/trunk/mcs/; revision=138780
* AssemblyBuilderTest.cs: Added test for ManifestModule. Added missing
Test attributes. Avoid using ExpectedException, thereby improving lots
of existing tests. Uncomment test that checks max length of dynamic
module name and removed LAMESPEC, since MS implements the described
behavior (but we don't, so mark it NotWorking). Code formatting.
* TypeBuilderTest.cs: Removed unused variables.
* AssemblyBuilder.cs: Added missing paramname to ArgumentExceptions.
Use String.Length to check for zero-length string.
svn path=/trunk/mcs/; revision=86236
paramname when both name and type are null. Use String.Length to check
for zero-length string.
* AssemblyTest.cs: Added tests for GetManifestResourceStream argument
checks.
svn path=/trunk/mcs/; revision=85935
attributeType is null to avoid a SIGSEGV (and match MS). Only partial
fix for bug #82431 on 1.0 profile; it fully fixes the problem for the
1.0 profile, but more changes (in the runtime) are required for the
2.0 profile. Added a FIXME explaining the problem.
* TypeTest.cs: Improved test for GetCustomAttributes, and avoid
dependency on order of attributes. Split IsDefined test and improved
part for bug #82431.
* AssemblyTest.cs: Added IsDefined test with null value for
attributeType argument.
* ModuleTest.cs: Same. Remove use of deprecated Assertion class, code
formatting and fixed line endings.
* ParameterInfoTest.cs: Same. Remove use of deprecated Assertion class
and code formatting.
* MethodInfoTest.cs: Same.
* EventInfoTest.cs: Same. Code formatting.
* FieldInfoTest.cs: Same. Code formatting.
* PropertyInfoTest.cs: Same. Improved coverage of GetAccessors.
Improved tests for GetCustomAttributes. Code formatting.
* TypeBuilderTest.cs: Added IsDefined test with null value for
attributeType argument.
svn path=/trunk/mcs/; revision=84239
* Assembly.cs: On 2.0 profile, throw FileNotFoundException for
linked resources in GetManifestResourceStream when assembly is
loaded from byte array.
svn path=/trunk/mcs/; revision=63460
* AssemblyTest.cs: Remove 'NotWorking' category attribute
to the Reflection Only tests, since they are working by now.
* FieldInfoTest.cs: Likewise.
* MethodInfoTest.cs: Likewise.
svn path=/trunk/mcs/; revision=54675
* AssemblyTest.cs: Relied on the 1.1 test suite being built when
running teh 2.0 test suite, which could cause failures
svn path=/trunk/mcs/; revision=46792
* AssemblyTest.cs: Removed asserts using PortableExecutableKind -
because (1) it was renamed to PortableExecutableKinds *and* (2)
it's documented as obsolete and will be removed for 2.0 RTM.
svn path=/trunk/mcs/; revision=45533
* AssemblyTest.cs, FieldInfoTest.cs, MethodInfoTest.cs: Disabled
ReflectionOnly tests as they break every tests afterward. Calberto
is looking for the problem...
svn path=/trunk/mcs/; revision=43897