Commit Graph
42 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
Zoltan Varga d0be44220b Revert a change added by cd35ca1 by mistake 2014-07-12 14:20:44 +02:00
Zoltan Varga cd35ca1fe9 [bcl] Fix a race in a Task test. Fixes #20921. 2014-07-12 00:31:47 +02:00
Marek Safar 5721da66f2 [corlib] Fix incorrect assert 2014-07-09 17:37:28 +02:00
Marek Safar 60def70139 [corlib] Make CompletionOnDifferentCustomSynchronizationContext test more reliable 2014-07-09 17:07:29 +02:00
Zoltan Varga 757ae5f2a9 [bcl] Fix retaining objects in one of the ConditionalWeakTable tests. 2014-07-09 16:26:26 +02:00
Marek Safar d151adb4fe [corlib] Update racy test 2014-06-26 17:20:29 +02:00
Marek Safar a58aeafe1d [corlib] Fix racy test 2014-06-24 14:20:16 +02:00
Marek Safar b3c6f228b3 [corlib] Fix extra await context switch when custom SynchronizationContext does not change. Fixes #17878 2014-04-25 18:03:43 +02:00
Alexander Köplinger b0032294da [Test] Cleaned up how a bunch of tests were ignored
Previously, many tests just had a return statement when the test shouldn't
be executed (e.g. Unix-only). This made it look like the test was successful
when in fact it wasn't executed at all.
Assert.Ignore() is now used instead to correctly exclude those tests.
2014-02-23 19:44:21 +01:00
Marek Safar 268a8fbbaf [corlib] Remove unreliable test check 2014-02-18 21:41:16 +01:00
Sebastien Pouliot e4dcfc71ff [tests] Fix some corlib unit tests to run successfully on iOS 2013-12-10 21:48:09 -05:00
Marek Safar 85aaf9b074 [corlib] Better handling of awaiter continuation on finished task 2013-12-07 19:51:36 +01:00
Marek Safar c9311087d9 Improve test failure check 2013-12-06 09:39:30 +01:00
Sebastien Pouliot c1193a68d2 [Test] Ignore a test case if executed on the main thread 2013-12-05 14:35:34 -05:00
Marek Safar 3b664f331f [corlib] Implement task awaiters running on custom task scheduler. Fixes #16587 2013-12-05 09:51:56 +01:00
Marek Safar 8c2c29d41c Add test for #12745 2013-08-26 11:13:03 +02:00
Marek Safar 7e7134d3c6 Block task awaiter until task completes. Fixes #12745 2013-06-27 16:02:07 +02:00
Marek Safar 773aaf7ac7 Enable fixed tests 2013-05-29 11:04:17 +02:00
Marek Safar 02a3f41adf Run YieldAwaitable tests on default synchronization context. Fixes #12446 2013-05-29 11:02:53 +02:00
Zoltan Varga 8da1402c8b Disable some YieldAwaitable tests on MT. 2013-05-29 06:41:23 +02:00
Marek Safar d6af35c68f Fix more mobile tests 2013-02-12 20:02:07 +01:00
Rodrigo Kumpera 8b5f71ef60 Fix a ConditionalWeakTable test. 2012-06-19 18:05:19 -03:00
Miguel de Icaza ae0feab435 Removal of NET_1_1 defines and some NET_2_0; Both defines are true these days in Mono, no versions prior to 2.0 are supported 2012-06-01 18:04:24 -04:00
Rodrigo Kumpera d05602e388 Scan all ephemeron arrays during nursery collections.
* sgen-gc.c (mark_ephemerons_in_range): All ephemeron arrays
	must be scanned during a nursery collection since we ignore
	them during remset processing for a good reason.

	In the future we should use cardtable information to avoid
	scanning the whole thing.

	Fixes bxc #1175.
2011-11-22 17:22:46 -02:00
Marek Safar 4d97f8cc45 Correctly capture synchronization context 2011-10-04 19:00:04 +01:00
Marek Safar 235a41e76d Add more task awaiters and optimize existing ones by using new overloads 2011-09-20 19:04:13 +01:00
Marek Safar d6b4a3cc3f Move some async types to corlib 2011-09-19 15:01:21 +01:00
Rodrigo Kumpera 6fbb313683 Fix test suite as boehm doesn't support ephemerons 2011-01-05 00:15:18 +08:00
Rodrigo Kumpera 97dde77036 2010-06-21 Rodrigo Kumpera <[email protected]>
* ConditionalWeakTableTest.cs: Make test more resilient.

svn path=/trunk/mcs/; revision=159262
2010-06-21 13:17:13 +00:00
Rodrigo Kumpera 80430fed7b 2010-06-18 Rodrigo Kumpera <[email protected]>
* ConditionalWeakTableTest.cs: Fix another test.

svn path=/trunk/mcs/; revision=159159
2010-06-18 22:18:56 +00:00
Rodrigo Kumpera 92d33f2fca 2010-06-18 Rodrigo Kumpera <[email protected]>
* ConditionalWeakTableTest.cs: Fix it.

svn path=/trunk/mcs/; revision=159157
2010-06-18 22:18:37 +00:00
Rodrigo Kumpera e3f40af339 2010-05-11 Rodrigo Kumpera <[email protected]>
* ConditionalWeakTableTest.cs: New test suite.

svn path=/trunk/mcs/; revision=157175
2010-05-11 21:54:59 +00:00
Sebastien Pouliot cde9cb60e2 In Test/System.Runtime.CompilerServices:
2009-10-15  Sebastien Pouliot  <[email protected]>

	* RuntimeHelpersTest.cs: Add more test cases for validations

In System.Runtime.CompilerServices:
2009-10-15  Sebastien Pouliot  <[email protected]>

	* RuntimeHelpers.cs: Add missing validations


svn path=/trunk/mcs/; revision=144208
2009-10-15 14:36:12 +00:00
Zoltan Varga 0e810e463b 2009-06-20 Zoltan Varga <[email protected]>
* *.cs: Convert all tests to new-style nunit classes/methods.

svn path=/trunk/mcs/; revision=136554
2009-06-20 21:25:36 +00:00
Gert Driesen 53e058a35a * corlib_test.dll.sources: Added test for InternalVisibleToAttribute.
* InternalVisibleToAttributeTest.cs: Added test for .ctor and
AllInternalsVisible property.

svn path=/trunk/mcs/; revision=135885
2009-06-10 20:11:53 +00:00
Sebastien Pouliot 0e20877100 2006-11-01 Sebastien Pouliot <[email protected]>
* RuntimeWrappedExceptionCas.cs: New. CAS tests for 
	RuntimeWrappedException.
	* RuntimeWrappedExceptionTest.cs: New. Unit tests for 
	RuntimeWrappedException.


svn path=/trunk/mcs/; revision=67215
2006-11-01 13:29:47 +00:00
Ben Maurer 2cac9d1d6b eol style
svn path=/trunk/mcs/; revision=46462
2005-06-23 23:11:11 +00:00
Zoltan Varga 0576e591c1 2003-04-18 Zoltan Varga <[email protected]>
* RuntimeHelpersTest.cs: Added tests for Equals() and GetHashCode ()
	methods.

svn path=/trunk/mcs/; revision=13772
2003-04-18 17:53:34 +00:00
Nick Drochak 91de9c3719 Removed unneeded files. Legacy from nunit v1.
svn path=/trunk/mcs/; revision=11008
2003-01-29 10:51:45 +00:00
Nick Drochak 99a25b98bd 2002-12-21 Nick Drochak <[email protected]>
* all: make tests build and run under nunit2

svn path=/trunk/mcs/; revision=9817
2002-12-21 14:15:43 +00:00
Paolo Molaro 7997efba36 2002-09-21 Zoltan Varga <[email protected]>
* AllTests.cs: new file

	* RuntimeHelpersTest.cs: new file

svn path=/trunk/mcs/; revision=7760
2002-09-24 09:09:35 +00:00