Commit Graph
112 Commits
Author SHA1 Message Date
Zoltan Varga 34fa78a5d8 [bcl] Work around quadratic behavior in NunitLite's AreEquivalent () methods. 2014-03-08 16:11:36 -05:00
Marek Safar f2eab9919d [dlr] Handle more expressions in interpreter 2014-01-26 11:35:09 +01:00
Sebastien Pouliot 2ef208b1a6 [Test] Fix build of System.Core unit tests 2013-12-05 17:52:53 -05:00
Blewzman f17a1808cc Small coding style fixes. 2013-12-05 19:49:04 +01:00
Blewzman 3eae2c2407 Support IReadOnlyList in System.Linq.Enumerable.ElementAt and ElementAtOrDefault - with additional unit tests. 2013-12-05 19:35:35 +01:00
Marek Safar 521a61ae5d [linq] Enumerable.Join and GroupJoin needs to ignore null keys. Fixes #16530 2013-12-02 19:03:37 +01:00
Marek Safar f33ed3fd4f Fixes parallel enumerable index counter. Fixes #14515 2013-09-09 09:12:41 +02:00
Zoltan Varga 013a38cfba Implement MethodMirror.MakeGenericMethod (). 2013-06-04 08:01:32 +02:00
Marek Safar 1ff548cb12 Update for mobile profile 2013-02-27 14:08:38 +01:00
Jérémie Laval 551ca84754 [System.Core] Fix compare bug in PLinq's Contains implementation 2012-09-06 13:23:07 +01:00
Jérémie Laval 4ceeaaae89 [System.Core] Fix issue in Join where some data might have been dismissed by accident 2012-09-05 15:37:49 +01:00
Jérémie Laval bc2a63cd96 [System.Core] Returns false in SequenceEqual when the two sequences size are different 2012-09-04 16:36:36 +01:00
Marek Safar 0950176a56 Disable TestGroupBy 2012-06-25 11:12:42 +01:00
Jeremie Laval e2429c7013 [System.Core] Restore ParallelEnumerable tests 2012-06-19 17:12:46 +01:00
Marek Safar b10a33f7ab Disable some deadlocking plinq tests 2012-06-14 17:11:47 +01:00
Rodrigo Kumpera 121776defb Fix error message. 2011-11-25 10:03:50 -02:00
Rodrigo Kumpera 355f3ff9dc Improve error reporting on test failure. 2011-11-24 21:03:13 -02: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 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 d0bc2ba835 Fixicate some unit test 2010-12-03 16:59:44 +00: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 840fed03fc [Plinq] Force strict parallelism in all PLinq unit tests 2010-09-02 11:11:50 +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 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 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
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
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
Jb Evain d7ea5c5e04 2010-03-24 Jb Evain <[email protected]>
* EnumerableTest.cs: add test for #582502.


svn path=/trunk/mcs/; revision=154155
2010-03-24 17:39:49 +00:00
Marek Safar 5688d1dee4 Zip tests.
svn path=/trunk/mcs/; revision=152261
2010-02-23 10:44:18 +00:00
Eric Maupin fe497ee144 * System.Linq/Lookup.cs: Support null keys
* System.Linq/Enumerable.cs: Support null keys

svn path=/trunk/mcs/; revision=146039
2009-11-12 13:56:46 +00:00
Gonzalo Paniagua Javier f8ca363886 2009-07-19 Gonzalo Paniagua Javier <[email protected]>
* Lookup.cs: when there are no matching elements, return an empty
	enumerable. Fixes bug #523386.


svn path=/trunk/mcs/; revision=138190
2009-07-20 02:45:47 +00:00
Raja R Harinath 7eb0cf62a1 fix build break
svn path=/trunk/mcs/; revision=137408
2009-07-06 14:51:46 +00:00