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

AllTests.cs « System.IO « Test « corlib « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 16858d83b05be5f6acb3145aaecffac2b3373b73 (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
// Testsuite.System.AllSystemTests.cs
//
// Mario Martinez (mariom925@home.om)
//
// (C) Ximian, Inc.  http://www.ximian.com
// 

using System;
using NUnit.Framework;

namespace MonoTests.System.IO {
        /// <summary>
        ///   Combines all available unit tests 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(MemoryStreamTest.Suite);
                                suite.AddTest(StreamReaderTest.Suite);
                                suite.AddTest(StreamWriterTest.Suite);
                                suite.AddTest(PathTest.Suite);
                                suite.AddTest(StringReaderTest.Suite);
                                suite.AddTest(StringWriterTest.Suite);
                                suite.AddTest(FileTest.Suite);
                                return suite;
                        }
                }
        }
}