Adjustment component class name changed to TestMethods.Adjustment.Single
This commit is contained in:
parent
df7631eb3a
commit
9c0430a0d8
@ -15,7 +15,7 @@ namespace TBF.BenchControl
|
||||
{
|
||||
Factories = new List<IComponentFactory>();
|
||||
|
||||
Factories.Add(new TestMethods.Adjustment.TestMethodFactory());
|
||||
Factories.Add(new TestMethods.Adjustment.Factory());
|
||||
Factories.Add(new ResultsPrinters.Basic.PrinterFactory());
|
||||
Factories.Add(new BenchInfo.Munich.ComponentFactory());
|
||||
Factories.Add(new BenchInfo.Polska.ComponentFactory());
|
||||
|
||||
@ -7,9 +7,9 @@ using TBF.BenchControl.Configs.NameOnly;
|
||||
|
||||
namespace TBF.BenchControl.TestMethods.Adjustment
|
||||
{
|
||||
public class TestMethodFactory : IComponentFactory
|
||||
public class Factory : IComponentFactory
|
||||
{
|
||||
public string ClassName { get { return "Adjustment"; } }
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Single"; } }
|
||||
|
||||
public void ResetStaticProperties() { TestMethod.ResetStaticProperties(); }
|
||||
|
||||
@ -17,7 +17,10 @@ namespace TBF.BenchControl.TestMethods.Adjustment
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new TestMethod(cfg); }
|
||||
|
||||
public IComponentCfg DefaultConfig() { return new TestMethodCfg("Adjustment", this); }
|
||||
public IComponentCfg DefaultConfig()
|
||||
{
|
||||
return new TestMethodCfg(this.GetType().Namespace.Substring("TBF.BenchControl.TestMethods.".Length) + ".Single", this);
|
||||
}
|
||||
|
||||
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
|
||||
{
|
||||
@ -1017,7 +1017,7 @@
|
||||
<Compile Include="BenchControl\TestBenchSim.cs" />
|
||||
<Compile Include="BenchControl\TestMethods\Adjustment\AdjustmentSeq.cs" />
|
||||
<Compile Include="BenchControl\TestMethods\Adjustment\TestMethod.cs" />
|
||||
<Compile Include="BenchControl\TestMethods\Adjustment\TestMethodFactory.cs" />
|
||||
<Compile Include="BenchControl\TestMethods\Adjustment\Factory.cs" />
|
||||
<Compile Include="BenchControl\TestMethods\Adjustment\WMErrorsForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user