Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

46 lines
1.3 KiB
C#

// ****************************************************************
// This is free software licensed under the NUnit license. You
// may obtain a copy of the license as well as information regarding
// copyright ownership at http://nunit.org/?p=license&r=2.4.
// ****************************************************************
using System;
using System.Reflection;
namespace NUnit.Core
{
/// <summary>
/// This class collects static methods that build test cases.
public class TestCaseBuilder
{
/// <summary>
/// Makes a test case from a given method if any builders
/// know how to do it and returns null otherwise.
/// </summary>
/// <param name="method">MethodInfo for the particular method</param>
/// <returns>A test case or null</returns>
// public static Test BuildFrom( MethodInfo method )
// {
// Test test = CoreExtensions.Host.TestBuilders.BuildFrom( method );
//
// if ( test != null )
// test = CoreExtensions.Host.TestDecorators.Decorate( test, method );
//
// return test;
// }
//
// public static Test Decorate( test, method )
// {
// if ( test != null )
// test = CoreExtensions.Host.TestDecorators.Decorate( test, method );
//
// return test;
// }
//
/// <summary>
/// Private constructor to prevent object creation
/// </summary>
private TestCaseBuilder() { }
}
}