2015-04-15 18:32:56 +00:00
|
|
|
|
///
|
|
|
|
|
|
/// Copyright (c) 2013-2015 Sensus Metering Systems
|
|
|
|
|
|
///
|
|
|
|
|
|
using TBF.BenchControl.Generic;
|
2015-02-19 07:37:37 +00:00
|
|
|
|
|
|
|
|
|
|
namespace TBF.BenchControl.TestMethods.LeakTest
|
|
|
|
|
|
{
|
|
|
|
|
|
public class TestMethodFactory : IComponentFactory
|
|
|
|
|
|
{
|
|
|
|
|
|
public string ClassName { get { return "Leak-Test"; } }
|
|
|
|
|
|
|
|
|
|
|
|
public void ResetStaticProperties() { TestMethod.ResetStaticProperties(); }
|
|
|
|
|
|
|
2015-06-29 09:14:33 +00:00
|
|
|
|
public IComponent DummyComponent() { return new TestMethod(); }
|
|
|
|
|
|
|
2015-02-19 07:37:37 +00:00
|
|
|
|
public IComponentCfg DefaultConfig() { return new TestMethodCfg(this); }
|
|
|
|
|
|
|
|
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Entities.Component component)
|
|
|
|
|
|
{
|
|
|
|
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(TestMethodCfg), component, this);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|