Commit Graph
20 Commits
Author SHA1 Message Date
Marek Safar 268771b856 [corlib] Cleanup type ToString formatting. 2014-02-06 18:08:37 +01:00
Rodrigo Kumpera 23ac11d001 Handle property with default values. Fix part of #13336. 2013-07-21 18:22:57 -04:00
Marek Safar 5e1c9a8ffe Fix indexer member formating 2013-07-20 11:15:06 +02:00
Zoltan Varga dde2c39880 Re-enable some tests on mt which seem to work now. 2013-03-11 22:16:46 +01:00
Marek Safar f0f4f4ae51 More mobile tests update 2013-02-14 13:06:49 +01:00
Marek Safar afa79435aa Update for mobile profile 2013-02-07 16:34:21 +01:00
Zoltan Varga 51bafcc886 Wrap exceptions thrown by property getters into TargetInvocationExceptions even when using the optimized getter delegates in PropertyInfo.GetValue (). Fixes #3690. 2012-02-29 23:52:29 +01:00
Rodrigo Kumpera 8cec2268c8 Add test for #633671 2010-08-25 14:21:59 -03:00
Rodrigo Kumpera 43fbd5f07e 2010-02-10 Rodrigo Kumpera <[email protected]>
* PropertyInfoTest.cs: Tests for default value.

svn path=/trunk/mcs/; revision=151267
2010-02-10 21:54:29 +00:00
Rodrigo Kumpera b3765dd33d 2010-02-10 Rodrigo Kumpera <[email protected]>
* PropertyInfoTest.cs: Tests for custom attributes from PropertyInfo::GetIndexParameters.

svn path=/trunk/mcs/; revision=151242
2010-02-10 16:46:15 +00:00
Rodrigo Kumpera b211becd90 2010-02-05 Rodrigo Kumpera <[email protected]>
* PropertyInfoTest.cs: Make tests for GetIndexParameters() work.

svn path=/trunk/mcs/; revision=150958
2010-02-05 21:18:19 +00:00
Rodrigo Kumpera 08932bc0f6 2010-02-05 Rodrigo Kumpera <[email protected]>
*  MethodInfoTest.cs: New test for GetParameters() returning the
	*  interned array.

	* PropertyInfoTest.cs: New tests for GetIndexParameters().

svn path=/trunk/mcs/; revision=150946
2010-02-05 20:21:51 +00:00
Gert Driesen 54f34580ec * PropertyInfoTest.cs: Added test for bug #399985.
svn path=/trunk/mcs/; revision=105777
2008-06-13 16:46:38 +00:00
Zoltan Varga fc0f51fb4c 2007-09-25 Zoltan Varga <[email protected]>
* PropertyInfoTest.cs: Add test for calling ReflectedType on accessors.

svn path=/trunk/mcs/; revision=86336
2007-09-25 15:25:09 +00:00
Gert Driesen 165e7a7b5b * MonoCustomAttrs.cs: In IsDefined, throw ArgumentNullException if
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
2007-08-16 20:11:53 +00:00
Zoltan Varga 17c285ba73 2007-06-02 Zoltan Varga <[email protected]>
* PropertyInfoTest.cs: Mark new test as NotWorking.

svn path=/trunk/mcs/; revision=78467
2007-06-01 23:43:38 +00:00
Zoltan Varga 709e356c8b 2007-06-02 Zoltan Varga <[email protected]>
* PropertyInfoTest.cs: Added new test.

svn path=/trunk/mcs/; revision=78465
2007-06-01 23:20:01 +00:00
Raja R Harinath 1d414d60c6 * PropertyInfoTest.cs: Use newer nunit API.
(Bug77160): New test from #77160.

svn path=/trunk/mcs/; revision=55139
2006-01-06 11:08:33 +00:00
Zoltan Varga af96d96650 svn path=/trunk/mcs/; revision=54991 2006-01-02 23:23:28 +00:00
Gert Driesen af7d2eaa1d * PropertyInfoTest.cs: New file. Added test for
bug #58661.

svn path=/trunk/mcs/; revision=27602
2004-05-18 17:19:41 +00:00