tbf/TestBenchFramework/BenchControl/TestMethods/LeakTest/TestMethodFactory.cs

19 lines
538 B
C#
Raw Normal View History

using TBF.BenchControl.Generic;
namespace TBF.BenchControl.TestMethods.LeakTest
{
public class TestMethodFactory : IComponentFactory
{
public string ClassName { get { return "Leak-Test"; } }
public void ResetStaticProperties() { TestMethod.ResetStaticProperties(); }
public IComponentCfg DefaultConfig() { return new TestMethodCfg(this); }
public IComponentCfg CmpntCfgFromCmpntEntity(Entities.Component component)
{
return ComponentCfgBase.CreateFromDbEntity(typeof(TestMethodCfg), component, this);
}
}
}