From c77779b8c7ccd92f03cbdee9b1c468d21116256a Mon Sep 17 00:00:00 2001 From: Milan Hanajik Date: Fri, 20 Mar 2020 08:54:52 +0100 Subject: [PATCH] ".Single" appendix removed from default names of test methods. --- TBF/BenchControl/TestMethods/Adjustment/Factory.cs | 2 +- TBF/BenchControl/TestMethods/FixedStart/Single/Factory.cs | 2 +- .../TestMethods/FixedStartAdvanced/Single/Factory.cs | 2 +- .../TestMethods/FixedStartDeferredEval/Single/Factory.cs | 2 +- .../FixedStartMassCollDeferredEval/Single/Factory.cs | 2 +- .../TestMethods/FixedStartMassCollection/Single/Factory.cs | 2 +- .../TestMethods/FixedStartTankCollection/Single/Factory.cs | 2 +- TBF/BenchControl/TestMethods/FlyingStart/Single/Factory.cs | 2 +- .../FlyingStartFirstRepetWithMassColl/Single/Factory.cs | 2 +- .../FlyingStartMassCollComparative/Single/Factory.cs | 2 +- .../TestMethods/FlyingStartMassCollProlonged/Single/Factory.cs | 2 +- .../TestMethods/FlyingStartMassCollection/Single/Factory.cs | 2 +- .../TestMethods/FlyingStartTankCollection/Single/Factory.cs | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/TBF/BenchControl/TestMethods/Adjustment/Factory.cs b/TBF/BenchControl/TestMethods/Adjustment/Factory.cs index c29252287..b673f49f6 100644 --- a/TBF/BenchControl/TestMethods/Adjustment/Factory.cs +++ b/TBF/BenchControl/TestMethods/Adjustment/Factory.cs @@ -19,7 +19,7 @@ namespace TBF.BenchControl.TestMethods.Adjustment public IComponentCfg DefaultConfig() { - return new TestMethodCfg(this.GetType().Namespace.Substring(29) +".Single", this); + return new TestMethodCfg(this.GetType().Namespace.Substring(29), this); } public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component) diff --git a/TBF/BenchControl/TestMethods/FixedStart/Single/Factory.cs b/TBF/BenchControl/TestMethods/FixedStart/Single/Factory.cs index 49c62659f..457985872 100644 --- a/TBF/BenchControl/TestMethods/FixedStart/Single/Factory.cs +++ b/TBF/BenchControl/TestMethods/FixedStart/Single/Factory.cs @@ -17,7 +17,7 @@ namespace TBF.BenchControl.TestMethods.FixedStart.Single public IComponent GetComponent(IComponentCfg cfg, IList components) { return new Component(cfg); } - public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29), this); } + public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29).Replace(".Single", ""), this); } public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component) { diff --git a/TBF/BenchControl/TestMethods/FixedStartAdvanced/Single/Factory.cs b/TBF/BenchControl/TestMethods/FixedStartAdvanced/Single/Factory.cs index f02b6157c..b3b58a2de 100644 --- a/TBF/BenchControl/TestMethods/FixedStartAdvanced/Single/Factory.cs +++ b/TBF/BenchControl/TestMethods/FixedStartAdvanced/Single/Factory.cs @@ -17,7 +17,7 @@ namespace TBF.BenchControl.TestMethods.FixedStartAdvanced.Single public IComponent GetComponent(IComponentCfg cfg, IList components) { return new Component(cfg); } - public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29), this); } + public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29).Replace(".Single", ""), this); } public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component) { diff --git a/TBF/BenchControl/TestMethods/FixedStartDeferredEval/Single/Factory.cs b/TBF/BenchControl/TestMethods/FixedStartDeferredEval/Single/Factory.cs index 04f6a640d..517b5fd55 100644 --- a/TBF/BenchControl/TestMethods/FixedStartDeferredEval/Single/Factory.cs +++ b/TBF/BenchControl/TestMethods/FixedStartDeferredEval/Single/Factory.cs @@ -17,7 +17,7 @@ namespace TBF.BenchControl.TestMethods.FixedStartDeferredEval.Single public IComponent GetComponent(IComponentCfg cfg, IList components) { return new Component(cfg); } - public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29), this); } + public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29).Replace(".Single", ""), this); } public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component) { diff --git a/TBF/BenchControl/TestMethods/FixedStartMassCollDeferredEval/Single/Factory.cs b/TBF/BenchControl/TestMethods/FixedStartMassCollDeferredEval/Single/Factory.cs index 555ee6146..dd2c8b158 100644 --- a/TBF/BenchControl/TestMethods/FixedStartMassCollDeferredEval/Single/Factory.cs +++ b/TBF/BenchControl/TestMethods/FixedStartMassCollDeferredEval/Single/Factory.cs @@ -17,7 +17,7 @@ namespace TBF.BenchControl.TestMethods.FixedStartMassCollDeferredEval.Single public IComponent GetComponent(IComponentCfg cfg, IList components) { return new Component(cfg); } - public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29), this); } + public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29).Replace(".Single", ""), this); } public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component) { diff --git a/TBF/BenchControl/TestMethods/FixedStartMassCollection/Single/Factory.cs b/TBF/BenchControl/TestMethods/FixedStartMassCollection/Single/Factory.cs index 2b623d87c..f876b264b 100644 --- a/TBF/BenchControl/TestMethods/FixedStartMassCollection/Single/Factory.cs +++ b/TBF/BenchControl/TestMethods/FixedStartMassCollection/Single/Factory.cs @@ -17,7 +17,7 @@ namespace TBF.BenchControl.TestMethods.FixedStartMassCollection.Single public IComponent GetComponent(IComponentCfg cfg, IList components) { return new Component(cfg); } - public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29), this); } + public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29).Replace(".Single", ""), this); } public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component) { diff --git a/TBF/BenchControl/TestMethods/FixedStartTankCollection/Single/Factory.cs b/TBF/BenchControl/TestMethods/FixedStartTankCollection/Single/Factory.cs index 8ba6d7646..9719bf97e 100644 --- a/TBF/BenchControl/TestMethods/FixedStartTankCollection/Single/Factory.cs +++ b/TBF/BenchControl/TestMethods/FixedStartTankCollection/Single/Factory.cs @@ -16,7 +16,7 @@ namespace TBF.BenchControl.TestMethods.FixedStartTankCollection.Single public IComponent GetComponent(IComponentCfg cfg, IList components) { return new Component(cfg); } - public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29), this); } + public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29).Replace(".Single", ""), this); } public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component) { diff --git a/TBF/BenchControl/TestMethods/FlyingStart/Single/Factory.cs b/TBF/BenchControl/TestMethods/FlyingStart/Single/Factory.cs index 3a010facc..fd35c6869 100644 --- a/TBF/BenchControl/TestMethods/FlyingStart/Single/Factory.cs +++ b/TBF/BenchControl/TestMethods/FlyingStart/Single/Factory.cs @@ -17,7 +17,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStart.Single public IComponent GetComponent(IComponentCfg cfg, IList components) { return new Component(cfg); } - public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29), this); } + public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29).Replace(".Single", ""), this); } public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component) { diff --git a/TBF/BenchControl/TestMethods/FlyingStartFirstRepetWithMassColl/Single/Factory.cs b/TBF/BenchControl/TestMethods/FlyingStartFirstRepetWithMassColl/Single/Factory.cs index 3dd54076e..6c8b64746 100644 --- a/TBF/BenchControl/TestMethods/FlyingStartFirstRepetWithMassColl/Single/Factory.cs +++ b/TBF/BenchControl/TestMethods/FlyingStartFirstRepetWithMassColl/Single/Factory.cs @@ -16,7 +16,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStartFirstRepetWithMassColl.Single public IComponent GetComponent(IComponentCfg cfg, IList components) { return new Component(cfg); } - public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29), this); } + public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29).Replace(".Single", ""), this); } public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component) { diff --git a/TBF/BenchControl/TestMethods/FlyingStartMassCollComparative/Single/Factory.cs b/TBF/BenchControl/TestMethods/FlyingStartMassCollComparative/Single/Factory.cs index f8ce6bf89..845ea261c 100644 --- a/TBF/BenchControl/TestMethods/FlyingStartMassCollComparative/Single/Factory.cs +++ b/TBF/BenchControl/TestMethods/FlyingStartMassCollComparative/Single/Factory.cs @@ -16,7 +16,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollComparative.Single public IComponent GetComponent(IComponentCfg cfg, IList components) { return new Component(cfg); } - public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29), this); } + public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29).Replace(".Single", ""), this); } public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component) { diff --git a/TBF/BenchControl/TestMethods/FlyingStartMassCollProlonged/Single/Factory.cs b/TBF/BenchControl/TestMethods/FlyingStartMassCollProlonged/Single/Factory.cs index 6a0bbadc7..6207e79e1 100644 --- a/TBF/BenchControl/TestMethods/FlyingStartMassCollProlonged/Single/Factory.cs +++ b/TBF/BenchControl/TestMethods/FlyingStartMassCollProlonged/Single/Factory.cs @@ -16,7 +16,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollProlonged.Single public IComponent GetComponent(IComponentCfg cfg, IList components) { return new Component(cfg); } - public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29), this); } + public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29).Replace(".Single", ""), this); } public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component) { diff --git a/TBF/BenchControl/TestMethods/FlyingStartMassCollection/Single/Factory.cs b/TBF/BenchControl/TestMethods/FlyingStartMassCollection/Single/Factory.cs index 4ed9c23a5..39bc1761a 100644 --- a/TBF/BenchControl/TestMethods/FlyingStartMassCollection/Single/Factory.cs +++ b/TBF/BenchControl/TestMethods/FlyingStartMassCollection/Single/Factory.cs @@ -17,7 +17,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection.Single public IComponent GetComponent(IComponentCfg cfg, IList components) { return new Component(cfg); } - public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29), this); } + public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29).Replace(".Single", ""), this); } public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component) { diff --git a/TBF/BenchControl/TestMethods/FlyingStartTankCollection/Single/Factory.cs b/TBF/BenchControl/TestMethods/FlyingStartTankCollection/Single/Factory.cs index 4e2e61de9..c442f3ded 100644 --- a/TBF/BenchControl/TestMethods/FlyingStartTankCollection/Single/Factory.cs +++ b/TBF/BenchControl/TestMethods/FlyingStartTankCollection/Single/Factory.cs @@ -16,7 +16,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStartTankCollection.Single public IComponent GetComponent(IComponentCfg cfg, IList components) { return new Component(cfg); } - public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29), this); } + public IComponentCfg DefaultConfig() { return new TestMethodCfg(this.GetType().Namespace.Substring(29).Replace(".Single", ""), this); } public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component) {