19 lines
538 B
C#
19 lines
538 B
C#
|
|
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);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|