Commit Graph
23 Commits
Author SHA1 Message Date
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
Bart Vries 3d1779302e Implementation of System.Reflection.ParameterInfo.HasDefaultValue 2014-01-03 00:15:52 +01:00
head-thrash 5f014934ae Fixes build when running make -k check:
* Fixes Broken Test in BuildEngine for 4.0 and 3.5
* Fixes build for Mono.Debugger.Soft not in 4_5 profile
* Fixes build for NET_4_0 profile (CustomAttributes and HasDefaultValue)
2013-09-03 18:52:29 +04:00
Rodrigo Kumpera 29c42bf0dc Add tests for the new 4.0 behavior in ParameterInfo. 2013-08-22 16:00:15 -04:00
Marek Safar afa79435aa Update for mobile profile 2013-02-07 16:34:21 +01:00
Marek Safar aab6b9a30b Move System tests to System assembly 2012-04-05 15:46:26 +01:00
Miguel de Icaza 2852ed0b59 Update copyrights 2011-09-13 18:26:13 -04:00
Sebastien Pouliot 0466ae48a3 Adjust corlib unit tests to reduce failures when executed on the NET_2_1 profile 2011-09-09 13:43:15 -04:00
Jb Evain f2748f7d9f Add test ensuring that parameters of constructed array methods define no custom attribute 2010-08-04 15:46:18 +02:00
Rodrigo Kumpera a43bd91ef8 2010-01-05 Rodrigo Kumpera <[email protected]>
* ParameterInfo.cs (DefaultProperty): Add support for DateTime defaults.

	* ParameterInfo.cs: Implements RawDefaultProperty.

2010-01-05 Rodrigo Kumpera  <[email protected]>

	* DateTimeConstantAttribute.cs: Add internal Ticks property.

2010-01-05 Rodrigo Kumpera  <[email protected]>

	* DateTimeConstantAttribute.cs: Add internal Ticks property.

svn path=/trunk/mcs/; revision=149083
2010-01-05 16:44:55 +00:00
Zoltan Varga ec0376fb81 2009-06-12 Zoltan Varga <[email protected]>
* ParameterInfoTest.cs: Add a test for #512330.

svn path=/trunk/mcs/; revision=135966
2009-06-12 00:52:45 +00:00
Zoltan Varga 542acfa591 In class/corlib/System.Reflection/
2009-03-26  Zoltan Varga  <[email protected]>

	* ParameterInfoTest.cs: Add a test for #488383.

In class/corlib/System/

2009-03-26  Zoltan Varga  <[email protected]>

	* Environment.cs: Bump corlib version.

In class/corlib/Test/System.Reflection/

2009-03-26  Zoltan Varga  <[email protected]>

	* ParameterInfoTest.cs: Add a test for #488383.

svn path=/trunk/mcs/; revision=130298
2009-03-26 14:32:42 +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
Paolo Molaro e80483a4b1 Fixed build breakage.
svn path=/trunk/mcs/; revision=88892
2007-11-05 17:00:16 +00:00
Miguel de Icaza 78a439fc91 2007-09-14 Jb Evain <[email protected]>
* Makefile: force the use of the 2.0 mscorlib to compile
	the 2.1 mscorlib.dll.

svn path=/trunk/mcs/; revision=88838
2007-11-05 03:07:49 +00:00
Gert Driesen 8543a0f2ee * AttributeTest.cs: Added test for IsDefined, GetCustomAttribute
and GetCustomAttributes. Added tests for bug #81797. Remove use of
deprecated Assertion class, code formatting.
* ParameterInfoTest.cs: Minor code formatting change.
* FieldInfoTest.cs: Added test for GetCustomAttributes. Modified test
for pseudo customattributes to work on 1.0 profile too.

svn path=/trunk/mcs/; revision=84269
2007-08-17 12:05:15 +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
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
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 b8cf6de1f5 2006-09-06 Zoltan Varga <[email protected]>
* ParameterInfoTest.cs: Add a test for enum default parameter values.

svn path=/trunk/mcs/; revision=65015
2006-09-06 16:00:01 +00:00
Zoltan Varga 86002e0361 2004-09-26 Zoltan Varga <[email protected]>
* ParameterInfoTest.cs: Add tests for MarshalAsAttribute.

svn path=/trunk/mcs/; revision=34415
2004-09-26 16:48:49 +00:00
Zoltan Varga 7db58113f5 2004-09-25 Zoltan Varga <[email protected]>
* ParameterInfoTest.cs: New file.

svn path=/trunk/mcs/; revision=34393
2004-09-25 16:44:32 +00:00