Commit Graph
437 Commits
Author SHA1 Message Date
Miguel de Icaza 2852ed0b59 Update copyrights 2011-09-13 18:26:13 -04:00
Sebastien Pouliot 7fad18abb0 Ensure we can roundtrip 'Local' (special case) timezone. Fix bug #326 2011-09-09 11:29:52 -04:00
Jb Evain 8dd7cde335 add test case for #701187 2011-06-23 00:11:34 +02:00
Atsushi Eno c838b12b2e Remove obsolete nunit syntax from tests except for Assertion usage. 2011-04-06 20:01:27 +09:00
Jb Evain daf322c099 Add test for bug ug #678897 2011-03-15 22:19:09 +01:00
Jb Evain e508315f87 Add test for Reverse over arrays 2011-01-26 00:08:41 +01:00
Jb Evain 96ee0a8380 Add test for Enumeerable.Range high boundaries 2011-01-25 23:46:22 +01:00
Jérémie Laval 4dfafb9da5 Add bigger unit test for Intersect and Union 2011-01-07 11:18:23 +00:00
Jb Evain beb2696811 Add test for bug #661462 2010-12-30 16:20:44 +01:00
Jérémie Laval c4d8a92388 Implement CreateSetComparer method in HashSet 2010-12-09 16:00:15 +00:00
Jérémie Laval d0bc2ba835 Fixicate some unit test 2010-12-03 16:59:44 +00:00
Jérémie Laval ff80eb8f67 [ReaderWriterLockSlim] Fix for #656353. Add corresponding unit test.
When in SupportsRecursion mode, a test was not including proper state check for short-circuiting.
2010-12-01 14:38:28 +00:00
Jb Evain d368e0a10a Add MakeBinary test for ArrayIndex expressions 2010-11-29 22:51:55 +01:00
Jérémie Laval 34f14e5178 [PLinq] Split long running test in two 2010-11-26 14:10:04 +00:00
Jérémie Laval 4016c03e34 Fix ReaderWriterLockSlim Exit methods in SupportsRecursion mode and add corresponding unit tests 2010-11-23 10:59:07 +00:00
Jérémie Laval 9539c3e471 Add TaskExtensions class and Unwrap extension methods 2010-11-03 11:51:04 +00:00
Jérémie Laval 252741661e Fix a dodgy ReaderWriterLockSlim unit test 2010-10-22 15:16:49 +01:00
Jérémie Laval e0d372e7bf Turn Is*LockHeld properties into thread-specific values in ReaderWriterLockSlim. Add corresponding unit tests. 2010-09-28 13:23:05 +01:00
Jérémie Laval 840fed03fc [Plinq] Force strict parallelism in all PLinq unit tests 2010-09-02 11:11:50 +01:00
Jérémie Laval 5c52755ffd Allow recursive Write + n * Read lock pattern for ReaderWriterLockSlim and add corresponding unit test 2010-09-01 14:26:42 +01:00
Jérémie Laval 68d6de4134 Check Recursive counts for ReaderWriterLockSlim in unit tests 2010-09-01 13:58:58 +01:00
Jérémie Laval fcf6cc6955 Add unit tests for recursive acquire of a Write or Upgradeable lock from a Read lock state 2010-08-31 17:01:41 +01:00
Jérémie Laval 0348e24eb7 Add unit test for ReaderWriterLockSlim basic recursion support. 2010-08-31 17:01:40 +01:00
Jérémie Laval ed5833ed6a Tune thread count in ReaderWriterLockSlim unit tests 2010-08-31 17:01:38 +01:00
Jérémie Laval 5d3ce7655d Fix ReaderWriterLockSlim unit tests.
In the latest revision of the framework, ReaderWriterLockSlim is totally fair and thus a call to TryEnterReadLock musn't succeed when writers are waiting to get the lock before them (and when the lock is currently in read mode).
2010-08-31 17:01:37 +01:00
Jérémie Laval 15a738f32f Fix ReaderWriterLockSlim unit tests.
As stated by MSDN, to be fully downgraded to a read lock state a call to ExitUpgradableReadLock must be issued straight after EnterReadLock.
2010-08-31 17:01:37 +01:00
Jérémie Laval 40b3724b7b [PLinq] Remove the scwl noise in ParallelEnumerable TestOrderByAgeAscendingTheByNameDescending test 2010-08-27 17:29:59 +01:00
Jérémie Laval ec820e9208 [PLinq] Add Cancellation checks even deeper. Introduce merge token.
Merge token are simply the combined cancellation source of user (i.e. token supplied with PLinq operator WithCancellation) and internal tokens (supplied with WithImplementerToken).
2010-08-26 22:28:06 +01:00
Jérémie Laval 77ef827491 [PLinq] Enable First and FirstOrDefault unit tests 2010-08-26 13:45:50 +01:00
Jérémie Laval 6c0fa71d33 [PLinq] Reactivate a bunch more of unit tests 2010-08-26 12:05:44 +01:00
Jérémie Laval 189a1d07a2 [PLinq] Add SelectMany unit tests 2010-08-26 11:26:42 +01:00
Jérémie Laval 427a08307e [PLinq] Add GroupBy unit tests 2010-08-25 10:54:16 +01:00
Jérémie Laval d1624718c8 [PLinq] Add test for Join operator 2010-08-24 14:09:09 +01:00
Jérémie Laval f00afa22f2 [PLinq] Add implementation of Take/TakeWhile operators (including corresponding query node and unit tests) 2010-08-20 14:48:21 +01:00
Jb Evain c69b9183f1 Add test for #572084, issue with SymmetricWith and duplicate items 2010-08-19 16:52:14 +02:00
Jb Evain ad42775d82 Add test for #611821 2010-08-19 12:34:38 +02:00
Jérémie Laval ccea4ec859 [PLinq] Tune SkipWhile operator, re-enable its unit tests 2010-08-18 10:33:17 +01:00
Jérémie Laval f6d5a369e7 [PLinq] Re-enable tests that were previously [Ignore]'ed 2010-08-18 10:11:10 +01:00
Jérémie Laval c8fd34ce9c [PLinq] Add more twist to unit tests by forcing use of a standard IEnumerable. 2010-08-17 17:01:04 +01:00
Jérémie Laval cd34013c1c Disable two faulty tests that timeout the build bot. 2010-08-13 17:15:26 +01:00
Jb Evain 48f763576b Add test for bug #625367 2010-07-26 13:04:52 +02:00
Jb Evain 16c589d582 2010-05-25 Jb Evain <[email protected]>
* MemoryMappedFileTest.cs: use proper overloads.


svn path=/trunk/mcs/; revision=157849
2010-05-25 13:50:59 +00:00
Jb Evain f0a33c9d0c 2010-05-19 Jb Evain <[email protected]>
* EnumerableMoreTest.cs: add more GroupBy tests.


svn path=/trunk/mcs/; revision=157560
2010-05-19 14:41:39 +00:00
Jb Evain 3554b87644 2010-05-19 Jb Evain <[email protected]>
* ExpressionTest_Constant.cs: add tests for nullable constants.


svn path=/trunk/mcs/; revision=157551
2010-05-19 13:36:47 +00:00
Jérémie Laval e45ad8f140 2010-04-29 Jérémie Laval <[email protected]>
In class/System.Core/Test/System.Linq/:
   * ParallelEnumerableTests.cs: Add Ignore attribute instead of commenting test.
   Enable more tests.

svn path=/trunk/mcs/; revision=156434
2010-04-29 13:17:31 +00:00
Jérémie Laval 533c70aa68 2010-04-23 Jérémie Laval <[email protected]>
In class/System.Core/Test/System.Linq/:
   * ParallelEnumerableTests.cs: Fix namespace, add NET_4_0 #ifdef
   * ParallelTestHelper.cs: Fix namespace

In class/System/Test/System.Collections.Concurrent/:
   * BlockingCollectionTests.cs: Add IsCompletedEmptyTestCase,
   fix namespace

svn path=/trunk/mcs/; revision=155968
2010-04-22 23:09:35 +00:00
Jérémie Laval a545bfcb1b 2010-04-15 Jérémie Laval <[email protected]>
In class/System.Core/Test/System.Linq/:
   * ParallelEnumerableTests.cs: Tweak Skip unit test to avoid deadlocking for now

svn path=/trunk/mcs/; revision=155542
2010-04-15 20:19:44 +00:00
Jérémie Laval f035f2879f 2010-04-15 Jérémie Laval <[email protected]>
In class/System.Core/:
   * System.Core_test.dll.sources: Add PLinq unit tests

In class/System.Core/Test/System.Linq/:
   * ParallelEnumerableTests.cs:
   * ParallelTestHelper.cs: Add PLinq unit tests

svn path=/trunk/mcs/; revision=155534
2010-04-15 19:02:02 +00:00
Jb Evain 7feca4fdb6 comment out debug output
svn path=/trunk/mcs/; revision=155398
2010-04-14 15:25:59 +00:00
Miguel de Icaza 071f495d6a 2010-04-12 Miguel de Icaza <[email protected]>
* Enumerable.cs: Jumbo patch that inlines code, mainly for the AOT
	scenario where we our compiler cant infer the extra layer of
	indirection of a lambda function.

	But additionally, since we lack support for our JIT to inline
	intermediate delegate calls, it should save memory and run
	faster. 

svn path=/trunk/mcs/; revision=155280
2010-04-13 02:49:19 +00:00