Mercurial > pub > bltoolkit
annotate UnitTests/Linq/Providers.cs @ 4:f757da6161a1
!bug 100 + 2h fixed gregression
author | cin |
---|---|
date | Sun, 24 Aug 2014 17:57:42 +0400 |
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 } |