2010-03-17 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mcs / nunit24 / NUnitCore / core / TestCaseBuilder.cs
1 // ****************************************************************\r
2 // This is free software licensed under the NUnit license. You\r
3 // may obtain a copy of the license as well as information regarding\r
4 // copyright ownership at http://nunit.org/?p=license&r=2.4.\r
5 // ****************************************************************\r
6 \r
7 using System;\r
8 using System.Reflection;\r
9 \r
10 namespace NUnit.Core\r
11 {\r
12         /// <summary>\r
13         /// This class collects static methods that build test cases.\r
14         public class TestCaseBuilder\r
15         {\r
16                 /// <summary>\r
17                 /// Makes a test case from a given method if any builders\r
18                 /// know how to do it and returns null otherwise.\r
19                 /// </summary>\r
20                 /// <param name="method">MethodInfo for the particular method</param>\r
21                 /// <returns>A test case or null</returns>\r
22 //              public static Test BuildFrom( MethodInfo method )\r
23 //              {\r
24 //                      Test test = CoreExtensions.Host.TestBuilders.BuildFrom( method );\r
25 //\r
26 //                      if ( test != null )\r
27 //                              test = CoreExtensions.Host.TestDecorators.Decorate( test, method );\r
28 //\r
29 //                      return test;\r
30 //              }\r
31 //\r
32 //              public static Test Decorate( test, method )\r
33 //              {\r
34 //                      if ( test != null )\r
35 //                              test = CoreExtensions.Host.TestDecorators.Decorate( test, method );\r
36 //\r
37 //                      return test;\r
38 //              }\r
39 //\r
40                 /// <summary>\r
41                 /// Private constructor to prevent object creation\r
42                 /// </summary>\r
43                 private TestCaseBuilder() { }\r
44         }\r
45 }\r