Mercurial > pub > bltoolkit
annotate UnitTests/Linq/Providers.cs @ 5:f7d63a092920
Исправлено условие Where в тех случаях, когда репозитарий не является генериком
author | cin |
---|---|
date | Tue, 10 Mar 2015 16:02:11 +0300 |
parents | f990fcb411a9 |
children |
rev | line source |
---|---|
0 | 1 using System; |
2 using System.Collections; | |
3 using System.Linq; | |
4 | |
5 using NUnit.Framework; | |
6 | |
7 namespace Data.Linq | |
8 { | |
9 public class ProvidersAttribute : TestCaseSourceAttribute | |
10 { | |
11 public ProvidersAttribute() : base(typeof(ProviderFactory), "All") | |
12 { | |
13 } | |
14 } | |
15 | |
16 class ProviderFactory | |
17 { | |
18 public static IEnumerable All | |
19 { | |
20 get { return TestBase.Providers.Select(provider => provider.Name); } | |
21 } | |
22 } | |
23 } |