Commit Graph
16 Commits
Author SHA1 Message Date
Marcos Henrich 0e13745ec2 Test BlockCollection.AddAny. Covers #22775. 2014-10-08 11:58:26 +01:00
Marcos Henrich 7e034defbc Test that BlockingCollection.Add blocks when there is no more space. 2014-10-08 10:41:14 +01:00
Miguel de Icaza c6ab899595 [System] Fix most warnings on the System test suite 2014-09-24 10:43:46 -04:00
Maxime Brugidou 07be9a1f9c Add Unit tests 2013-11-22 15:33:26 +01:00
Alexander Köplinger 40eaa78a8d Fixed a test issue where net45 methods were used in net40 profile 2013-10-25 19:52:36 +02:00
Rodrigo Kumpera e03314480d [bcl] Fix BlockingCollection.TakeFromAny to handle when no items are available on the first collection. Fixes #6095. 2013-09-12 16:42:53 -04:00
Zoltan Varga c94730c32f Disable some System tests which are expected to fail in the mobile profile. 2013-04-11 16:37:02 +02:00
Marek Safar aff6d0592c Mobile tests update 2013-02-26 17:17:22 +01:00
Marek Safar f0ad346fb6 Mobile tests update 2013-02-22 21:41:19 +01:00
Jérémie Laval 516a087a4c [System] Fix timeout in BlockingCollection. Fix #6732. 2012-09-04 14:43:58 +01:00
Jeremie Laval ccd53a905e [System] Optimize ConcurrentBag, implement TryPeek and add unit tests
Initially reported by linquize
2012-07-24 17:09:15 +01:00
Marek Safar 510a2941c4 Move ConcurrentBag tests to System assembly 2012-02-10 14:56:23 +00:00
Guillaume Pouillet 0d98fbbe29 Fix bug in BlockingCollection<T>.TryTake Add corresponding unit test 2010-12-07 11:24:03 +01: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 e828ffcda6 2009-08-19 Jérémie Laval <[email protected]>
In class/System/System.Collections.Concurrent/:
   * BlockingCollection.cs: Rewrite to use a transaction id
   based approach. Ported to 4.0 API. Fix GetConsumingEnumerable.

In class/System/Test/System.Collections.Concurrent/:
   * BlockingCollectionTests.cs: Track API changes.

In class/System/System.Threading/:
   * Barrier.cs: Fix Barrier to be really thread-safe.
   Remove deadlocking.

In class/corlib/System.Collections.Concurrent/:
   * Partitioner.cs: Fix infinite recursion when calling Create
   with a IList.
   * Partitionners/ListPartitioner.cs: Fix bad splitting for the
   last partition.

In class/corlib/System.Threading.Tasks/:
   * Task.cs: Refactor Wait methods.

In class/corlib/System.Threading/:
   * AtomicBoolean.cs: Turn it into a class
   * CountdownEvent.cs: Work on cached variable. Make sure
   count doesn't go under 0.
   * ParallelLoopState.cs: Initialize correctly AtomicBoolean.

svn path=/trunk/mcs/; revision=140229
2009-08-19 10:51:42 +00:00
Jérémie Laval 9bf30cecff 2009-08-11 Jérémie Laval <[email protected]>
* Update unit tests
    * Moved BlockingCollection and Barrier in System.dll (with assorted fixes)
    * Fix wrong signature in TaskFactory<T>
    * Update .dll.sources files
    * Move AggregateException in System namespace
    * Remove While in Parallel
    * Correct Wait(CancellationToken) signature in CountdownEvent
    * update corlib.dll.sources

svn path=/trunk/mcs/; revision=139727
2009-08-11 18:47:31 +00:00