Commit Graph
10 Commits
Author SHA1 Message Date
Miguel de Icaza c6ab899595 [System] Fix most warnings on the System test suite 2014-09-24 10:43:46 -04:00
Sebastien Pouliot 32c4b50508 Ensure the linker does not remove some types needed (thru reflection) for some test cases to work 2013-03-19 14:07:17 -04:00
Marek Safar f0ad346fb6 Mobile tests update 2013-02-22 21:41:19 +01:00
Gert Driesen 3ee30c68d1 * ContextStack.cs: Added argument check to Type indexer, avoiding a
NRE. Modify System.Int32 indexer to throw ArgumentOutOfRangeException
instead of ArgumentException. Reduce number of times that item count
must be obtained.
* ContextStackTest.cs: Added unit tests for indexers, and argument
(null) checks.

svn path=/trunk/mcs/; revision=135596
2009-06-06 17:07:34 +00:00
Gert Driesen c604084e4e * ContextStackTest.cs: Fix build of unit tests on 1.0 profile.
svn path=/trunk/mcs/; revision=84431
2007-08-20 08:44:09 +00:00
Ivan Zlatev 419b9c4800 Ops, forgot to remove the Test category.
svn path=/trunk/mcs/; revision=84371
2007-08-19 09:19:21 +00:00
Ivan Zlatev 917ec97a49 2007-08-19 Ivan N. Zlatev <[email protected]>
* ContextStack.cs: Update to 2.0.
        * ContextStackTest.cs: New unit tests for ContextStack.


svn path=/trunk/mcs/; revision=84369
2007-08-19 08:24:16 +00:00
Gert Driesen 5993c31300 * InstanceDescriptor.cs: Allow null members. Fixed exception messages.
For properties, do not perform argument check. Fixed Invoke to return
null when member is null or when member is not ctor, method, field or
property (eg. a type). Removed obsolete HasThis method.
* InstanceDescriptorTest.cs: Improved ctor tests. Added tests for 
properties and fields.

svn path=/trunk/mcs/; revision=82411
2007-07-21 09:15:36 +00:00
Sebastien Pouliot ac6e5dcfa2 2005-10-18 Sebastien Pouliot <[email protected]>
* InstanceDescriptorCas.cs: Added more tests for LinkDemand as it just
	occured to me that it looked like the LinkDemand was on the class (and
	not only on the ctor).


svn path=/trunk/mcs/; revision=51872
2005-10-18 15:49:22 +00:00
Sebastien Pouliot 2c650d6245 2005-10-18 Sebastien Pouliot <[email protected]>
* InstanceDescriptorCas.cs: New. CAS unit tests.
	* InstanceDescriptorTest.cs: New. Unit tests for InstanceDescriptor
	when using a ContructorInfo.

svn path=/trunk/mcs/; revision=51866
2005-10-18 15:17:53 +00:00