shana / google-highly-open-participation-mono

Automatically exported from code.google.com/p/google-highly-open-participation-mono
0 stars 0 forks source link

Implement System.Linq.Queryable, and provide unit tests for it. #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The class System.Linq.Queryable is providing extension methods that are the
root of the different linq providers.

We lack a complete implementation of this class. This task is to actually
implement this class, and provide unit tests for it.

The api is documented here:

http://msdn2.microsoft.com/en-us/library/system.linq.queryable.aspx

Current tests are in svn:

/mcs/class/System.Core/Test/System.Linq/QueryableTest.cs

This task should take between 2 and 5 days (depending if you're familiar
with LINQ and the C#3 concepts or not).

Original issue reported on code.google.com by jbev...@gmail.com on 20 Jan 2008 at 1:04

GoogleCodeExporter commented 9 years ago
I claim this task.

Original comment by andreas....@gmail.com on 20 Jan 2008 at 1:04

GoogleCodeExporter commented 9 years ago

Original comment by jbev...@gmail.com on 20 Jan 2008 at 1:05

GoogleCodeExporter commented 9 years ago
Queryable contains implementations for all methods except AsQueryable(). Its
currently inside the namespace "System.Linqq" to avoid collisions when testing 
on .Net.

The UnitTests cover ArgumentNullExceptions, NoArgumentNullExceptions (IComparer 
etc
can be null) and a they check if MockQuery receives the right 
MetthodCallExpression.

Andreas Noever

Original comment by andreas....@gmail.com on 20 Jan 2008 at 6:14

Attachments:

GoogleCodeExporter commented 9 years ago
Very good work. I'll take some time for me to integrate it, as I want to change 
a
couple of things, but very good nonetheless!

Original comment by jbev...@gmail.com on 20 Jan 2008 at 11:29