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
8 using System.Reflection;
\r
10 namespace NUnit.Core
\r
13 /// This class collects static methods that build test cases.
\r
14 public class TestCaseBuilder
\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
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
24 // Test test = CoreExtensions.Host.TestBuilders.BuildFrom( method );
\r
26 // if ( test != null )
\r
27 // test = CoreExtensions.Host.TestDecorators.Decorate( test, method );
\r
32 // public static Test Decorate( test, method )
\r
34 // if ( test != null )
\r
35 // test = CoreExtensions.Host.TestDecorators.Decorate( test, method );
\r
41 /// Private constructor to prevent object creation
\r
43 private TestCaseBuilder() { }
\r