Welcome to mirror list, hosted at ThFree Co, Russian Federation.

AllTests.cs « System.Data « Test « System.Data « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 09c8b622d4b132dccc8e3a5fac64ee9ce2a51037 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// MonoTests.System.Data.AllTests.cs
//
// Author:
//   Rodrigo Moya <rodrigo@ximian.com>
//
// (C) Copyright 2002 Rodrigo Moya
//

using NUnit.Framework;

namespace MonoTests.System.Data
{
	/// <summary>
	///  Combines all unit tests for the System.Data.dll assembly
	///   into one test suite.
	/// </summary>
	public class AllTests : TestCase
	{
		public AllTests (string name) : base (name) { }

		public static ITest Suite {
			get {
				TestSuite suite =  new TestSuite ();
				suite.AddTest (new TestSuite (typeof (DataColumnTest)));
				suite.AddTest (new TestSuite (typeof (UniqueConstraintTest)));
				suite.AddTest (new TestSuite (typeof (ConstraintTest)));
				suite.AddTest (new TestSuite (typeof (ConstraintCollectionTest)));
				suite.AddTest (new TestSuite (typeof (ForeignKeyConstraintTest)));
				suite.AddTest (new TestSuite (typeof (DataTableTest)));
				suite.AddTest (new TestSuite (typeof (DataRowCollectionTest)));
				suite.AddTest (new TestSuite (typeof (DataRowTest)));
				suite.AddTest (new TestSuite (typeof (DataColumnCollectionTest)));
				suite.AddTest (new TestSuite (typeof (DataSetTest)));
				suite.AddTest (new TestSuite (typeof (DataRelationTest)));
				return suite;
			}
		}
	}
}