Commit Graph
31 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
Marek Safar 7950d8b97d Update binder primitive conversion to match .net 2013-03-05 15:03:38 +01:00
Marek Safar 915b61a66d Mobile tests update 2013-02-15 16:35:41 +01:00
Marek Safar afa79435aa Update for mobile profile 2013-02-07 16:34:21 +01:00
Zoltan Varga b07a3824f4 Fix the setting of pointer type fields using reflection. Fixes #641590. 2010-09-24 16:31:48 +02:00
Rodrigo Kumpera eb27581675 2010-04-08 Rodrigo Kumpera <[email protected]>
* FieldInfoTest.cs: Add tests for #594942.

svn path=/trunk/mcs/; revision=155113
2010-04-09 01:07:00 +00:00
Rodrigo Kumpera de88b60f4d 2010-03-11 Rodrigo Kumpera <[email protected]>
* FieldInfoTest.cs: Remove invalid assert.

svn path=/trunk/mcs/; revision=153470
2010-03-11 15:01:08 +00:00
Zoltan Varga 295d696d9b 2009-07-30 Zoltan Varga <[email protected]>
* FieldInfoTest.cs: Add a test for #525733.

svn path=/trunk/mcs/; revision=139055
2009-07-30 11:20:57 +00:00
Rodrigo Kumpera 43b32870b2 2008-11-17 Rodrigo Kumpera <[email protected]>
* FieldInfoTest.cs: Test FieldInfo::GetValue on a constant of an open
	generic type.

svn path=/trunk/mcs/; revision=119077
2008-11-17 18:51:40 +00:00
Zoltan Varga 82dff9c9dd 2008-09-08 Zoltan Varga <[email protected]>
* FieldInfoTest.cs (SetValueOpenGeneric): Fix copy-paste error.

svn path=/trunk/mcs/; revision=112505
2008-09-08 14:39:31 +00:00
Zoltan Varga 6a01c8ee09 2008-09-07 Zoltan Varga <[email protected]>
* FieldInfoTest.cs: Add tests for #424077.

svn path=/trunk/mcs/; revision=112457
2008-09-07 14:11:28 +00:00
Gert Driesen 7ffcafb7cd * corlib_test.dll.sources: Addd MethodBaseTest.cs.
* TypeTest.cs: Added GetType, GetTypeArray and GetTypeFromHandle tests 
for argument checks.
* Type.cs: Modifies exceptions to match MS. Changed GetTypeFromHandle
on 1.0 profile to throw ArgumentException when handle is invalid,
* FieldInfoTest.cs: Added tests for GetFieldFromHandle.
* MethodBaseTest.cs: Added tests for GetMethodFromHandle.

svn path=/trunk/mcs/; revision=102993
2008-05-12 10:50:40 +00:00
Zoltan Varga b1668e6e1b 2007-12-05 Zoltan Varga <[email protected]>
* FieldInfoTest.cs: Add tests for #346160.

svn path=/trunk/mcs/; revision=90763
2007-12-05 13:19:05 +00:00
Zoltan Varga 9ab01b5a8d 2007-12-03 Zoltan Varga <[email protected]>
* FieldInfoTest.cs: Add GetRawDefaultValue () tests.

svn path=/trunk/mcs/; revision=90544
2007-12-03 14:10:08 +00:00
Gert Driesen 973d06ee7c * FieldInfoTest.cs: Enabled test for bug #82465.
svn path=/trunk/mcs/; revision=84325
2007-08-17 19:50:52 +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 f65669f34f Port NUnit tests to TARGET_JVM configuration.
svn path=/trunk/mcs/; revision=73714
2007-03-05 14:57:05 +00:00
Paolo Molaro c828a3d139 Mon Feb 12 21:54:57 CET 2007 Paolo Molaro <[email protected]>
* MonoType.cs: patch from Cedric Vivier <[email protected]> to
	get correctly non-public fields from generic types.


svn path=/trunk/mcs/; revision=72692
2007-02-12 20:56:30 +00:00
Jb Evain 700ce9b54d 2006-09-29 Jb Evain <[email protected]>
* MonoFieldInfo.cs: throw a FieldAccessException when setting a literal field.

svn path=/trunk/mcs/; revision=66119
2006-09-30 13:49:47 +00:00
Zoltan Varga 89afebe20a 2006-02-11 Zoltan Varga <[email protected]>
* FieldInfoTest.cs: Revert nullable reftype tests.

svn path=/trunk/mcs/; revision=56797
2006-02-11 12:50:25 +00:00
Zoltan Varga 6503e9dc78 2006-02-09 Zoltan Varga <[email protected]>
* FieldInfoTest.cs: Add tests for nullable reference types.

svn path=/trunk/mcs/; revision=56703
2006-02-09 14:38:39 +00:00
Zoltan Varga f24079c8d0 2006-01-03 Zoltan Varga <[email protected]>
* FieldInfoTest.cs PropertyInfoTest.cs MethodInfoTest.cs: Add Nullable
	tests.

svn path=/trunk/mcs/; revision=54990
2006-01-02 23:21:19 +00:00
Carlos Alberto Cortez 95bbf4e16d 2005-12-20 Carlos Alberto Cortez <[email protected]>
* 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
2005-12-21 06:00:46 +00:00
Sebastien Pouliot ba27a22eb9 2005-05-02 Sebastien Pouliot <[email protected]>
* 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
2005-05-02 19:02:30 +00:00
Raja R Harinath 78f9422bef * FieldInfoTest.cs (RefOnlyFieldClass): Rename from RefOnlyClass.
* MethodInfoTest.cs (RefOnlyMethodClass): Rename from RefOnlyClass.

svn path=/trunk/mcs/; revision=42677
2005-04-08 08:41:26 +00:00
Carlos Alberto Cortez 476a3e2d57 2005-04-08 Carlos Alberto Cortez <[email protected]>
* AssemblyTest.cs: Added tests for ReflectionOnly support.
	* MethodInfoTest.cs: Added test for Reflection Only support.
	* FieldInfoTest.cs: Added tests for ReflectionOnly support.
	

svn path=/trunk/mcs/; revision=42673
2005-04-08 04:51:53 +00:00
Zoltan Varga 239cbecd36 2004-09-26 Zoltan Varga <[email protected]>
* FieldInfoTest.cs: Add tests for MarshalAsAttribute.

svn path=/trunk/mcs/; revision=34418
2004-09-26 17:14:13 +00:00
Zoltan Varga 9a183ff622 2004-09-26 Zoltan Varga <[email protected]>
* FieldInfoTest.cs: Add tests for FieldOffsetAttribute.

svn path=/trunk/mcs/; revision=34411
2004-09-26 15:00:46 +00:00
Zoltan Varga 115800f817 2004-09-26 Zoltan Varga <[email protected]>
* FieldInfoTest.cs: New file.

svn path=/trunk/mcs/; revision=34410
2004-09-26 14:56:38 +00:00