Commit Graph
73 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
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Zoltan Varga 768bd9bb2c Fix 91b224d004. 2014-07-29 11:56:27 +02:00
Zoltan Varga 91b224d004 [bcl] Disable some tests which are expected to fail in mt. 2014-07-29 11:48:02 +02:00
Marek Safar 30913d31b0 Fixes broken test 2014-07-22 10:28:38 +02:00
Rodrigo Kumpera 04c3d5dff4 [corlib] Add regression test for #21388. 2014-07-21 18:55:43 -03:00
Sebastien Pouliot d34c9297d1 [Test] Avoid MethodInfoTest.GetMethodBody failure when executed on a release (IL stripped) application on iOS 2014-02-18 08:44:28 -05:00
Marek Safar 268771b856 [corlib] Cleanup type ToString formatting. 2014-02-06 18:08:37 +01:00
Rodrigo Kumpera 68ddd1d28d [corlib] Fix MethodInfo::ToString () to properly format generic structs. Fixes BXC #12856 2013-06-25 14:22:48 -04:00
Zoltan Varga dde2c39880 Re-enable some tests on mt which seem to work now. 2013-03-11 22:16:46 +01:00
Zoltan Varga 6fc1c8daee Disable some tests failing on mt due to #10539/#10552. 2013-03-09 01:13:24 +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
alexrp 6a56dfd449 Don't allow invoking methods that return by-ref types via reflection. 2011-11-06 16:48:51 +01:00
Marek Safar 3b042a2c6c Fix invalid test constraint 2011-01-05 10:36:06 +00:00
Rodrigo Kumpera eb2fd8e1f0 Add regression test for #655847 2010-11-25 14:25:18 -02:00
Rodrigo Kumpera 13273ae066 2010-06-08 Rodrigo Kumpera <[email protected]>
* MethodInfoTest.cs: Fix test for variant iface.

svn path=/trunk/mcs/; revision=159158
2010-06-18 22:18:47 +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
Rodrigo Kumpera 9ab2a13d85 2010-01-19 Rodrigo Kumpera <[email protected]>
* MethodInfoTest.cs: Add a test for Invoke with generic variant
	interfaces.

svn path=/trunk/mcs/; revision=149839
2010-01-19 20:50:59 +00:00
Rodrigo Kumpera 9a565deb51 2009-12-08 Rodrigo Kumpera <[email protected]>
* MethodInfoTest.cs: Add some tests for MS compatible behavior of
	MakeGenericMethod.

svn path=/trunk/mcs/; revision=147856
2009-12-08 14:34:29 +00:00
Sebastien Pouliot 82df4bb3d3 2009-05-03 Sebastien Pouliot <[email protected]>
* MethodInfoTest.cs: Add test cases from Joachim Ante for bug
	#500385.


svn path=/trunk/mcs/; revision=133428
2009-05-03 13:41:29 +00:00
Rodrigo Kumpera 6d65a06aea 2008-02-03 Rodrigo Kumpera <[email protected]>
* MonoMethod.cs: Fix the 1.1 build.

2008-02-03  Rodrigo Kumpera  <[email protected]>

	* MethodInfoTest.cs: Fix the 1.1 build.

svn path=/trunk/mcs/; revision=125456
2009-02-03 02:49:28 +00:00
Rodrigo Kumpera 3e67cda6e2 2008-02-02 Rodrigo Kumpera <[email protected]>
* MethodInfoTest.cs: Test for non primitive structs.

svn path=/trunk/mcs/; revision=125416
2009-02-02 21:56:39 +00:00
Rodrigo Kumpera 9835f559cc 2008-02-02 Rodrigo Kumpera <[email protected]>
* MethodInfoTest.cs: Test for #409583.

svn path=/trunk/mcs/; revision=125410
2009-02-02 21:02:39 +00:00
Zoltan Varga 91f69d5b81 2008-03-25 Zoltan Varga <[email protected]>
* MethodInfoTest.cs: Add a test for #373448.

svn path=/trunk/mcs/; revision=98945
2008-03-25 08:57:07 +00:00
Marek Safar c1d007c9a1 2008-03-17 Marek Safar <[email protected]>
* MonoMethod.cs (ToString): Print VarArgs argument.


svn path=/trunk/mcs/; revision=98462
2008-03-17 16:21:26 +00:00
Raja R Harinath b6d8e98872 In class/corlib/Test/System.Reflection.Emit:
* MethodBuilderTest.cs (Bug354757): New test.

In class/corlib/Test/System.Reflection:
	* MethodInfoTest.cs (GetGenericMethodDefinition): Add a test for
	an instantiation.
	(Bug354757): New test.

svn path=/trunk/mcs/; revision=96225
2008-02-20 08:22:24 +00:00
Gert Driesen 9da08cb6dc * MethodInfoTest.cs: Numbered tests. Improved existing tests.
* ParameterInfoTest.cs: Added test for bug #342536.
* MonoMethod.cs (MakeGenericMethod): Modified argument name to match
MS. When one of the types is null, throw ArgumentNullException instead
of ArgumentException.      
* MethodInfo.cs (MakeGenericMethod): Modified argument name to match
MS.

svn path=/trunk/mcs/; revision=94641
2008-02-02 18:31:00 +00:00
Jb Evain a7751b8ef4 2008-01-15 Jb Evain <[email protected]>
* MethodInfoTest.cs: Add test for null arguments to
	MakeGenericMethod (#353849).


svn path=/trunk/mcs/; revision=92930
2008-01-15 10:06:30 +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 8d7c5a9f3d 2007-08-03 Zoltan Varga <[email protected]>
* MethodInfoTest.cs: Add another test.

svn path=/trunk/mcs/; revision=83419
2007-08-03 17:28:12 +00:00
Zoltan Varga a50c35cfb0 2007-08-03 Zoltan Varga <[email protected]>
* MethodInfoTest.cs: Add test for Invoking methods with a nullable type receiver.

svn path=/trunk/mcs/; revision=83416
2007-08-03 17:16:25 +00:00
Gert Driesen 254a977cc5 * corlib_test.dll.sources: added RuntimeMethodHandleTest.cs.
* RuntimeMethodHandleTest.cs: Added operator and Equals tests.
* MethodInfoTest.cs: Added GetMethodFromHandle test for generic type.

svn path=/trunk/mcs/; revision=82373
2007-07-20 17:38:42 +00:00
Raja R Harinath 2892b2a634 * MethodInfoTest.cs (GetGenericMethodDefinition): New. Based on
Atsushi's testcase in #78068.

svn path=/trunk/mcs/; revision=82352
2007-07-20 13:22:16 +00:00
Atsushi Eno 80a0ce7133 2007-07-19 Atsushi Enomoto <[email protected]>
* MonoMethod.cs : parameter types should be fixed as well.

	* MethodInfoTest.cs : fix incorrect parameter type output.


svn path=/trunk/mcs/; revision=82271
2007-07-19 11:23:20 +00:00
Atsushi Eno b1879f67db 2007-07-19 Atsushi Enomoto <[email protected]>
* MonoMethod.cs : ToString() did not show correct return type when
	  it is generic.

	* MethodInfoTest.cs : added ToString() test for generic return type.


svn path=/trunk/mcs/; revision=82268
2007-07-19 09:33:53 +00:00
Gert Driesen 6b46248f8f * MethodInfoTest.cs: Added test for bug #81997. Code formatting.
svn path=/trunk/mcs/; revision=81421
2007-07-05 18:41:41 +00:00
Raja R Harinath 4568f1525a * MethodInfoTest.cs (IsGenericMethodDefinition): New.
svn path=/trunk/mcs/; revision=80547
2007-06-22 12:35:57 +00:00
Gert Driesen b1e1294591 * MethodInfoTest.cs: Modified test for bug #81538 to verify both
1.0 and 2.0 behavior.

svn path=/trunk/mcs/; revision=76844
2007-05-07 15:57:38 +00:00
Zoltan Varga 0fc5e9949b 2007-05-07 Zoltan Varga <[email protected]>
* MethodInfoTest.cs: Add test case for #81538.

svn path=/trunk/mcs/; revision=76835
2007-05-07 15:17:46 +00:00
Zoltan Varga 05a8a175b5 2007-05-01 Zoltan Varga <[email protected]>
* MethodInfoTest.cs: Reenable a NotWorking test which is working now.

svn path=/trunk/mcs/; revision=76525
2007-05-01 14:20:03 +00:00
Eyal Alalouf 4e5940e2e7 TARGET_JVM adjustments.
svn path=/trunk/mcs/; revision=74259
2007-03-14 15:08:09 +00:00
Eyal Alalouf 30c28c41d7 Mark tests as not working under TARGET_JVM
svn path=/trunk/mcs/; revision=74246
2007-03-14 10:47:05 +00:00
Miguel de Icaza a215e66081 Revert, this breaks the build
svn path=/trunk/mcs/; revision=73778
2007-03-06 04:24:27 +00:00
Eyal Alalouf f65669f34f Port NUnit tests to TARGET_JVM configuration.
svn path=/trunk/mcs/; revision=73714
2007-03-05 14:57:05 +00:00
motym ea68180314 some tests comment out for target_jvm
svn path=/trunk/mcs/; revision=71798
2007-01-28 08:46:59 +00:00
Zoltan Varga 1557897907 2006-09-02 Zoltan Varga <[email protected]>
* MethodInfoTest.cs: Add a test for the ReturnParameter property.

svn path=/trunk/mcs/; revision=64763
2006-09-02 10:25:47 +00:00
Zoltan Varga 41e53fde2a 2006-07-12 Zoltan Varga <[email protected]>
* MethodInfoTest.cs: Add tests for ContainsGenericParameters ().

svn path=/trunk/mcs/; revision=62503
2006-07-12 14:43:11 +00:00
Zoltan Varga 74a76d2523 2006-07-01 Zoltan Varga <[email protected]>
* MethodInfoTest.cs: Add a test for #77888.

svn path=/trunk/mcs/; revision=62175
2006-07-01 15:55:56 +00:00
Raja R Harinath f9145fde37 * MethodInfoTest.cs (GetBaseDefinition): New test for
MethodInfo.GetBaseDefinition.

svn path=/trunk/mcs/; revision=62139
2006-06-29 12:39:47 +00:00