More configuration checks when starting a test

This commit is contained in:
Milan Hanajik
2015-02-02 23:18:28 +01:00
parent 94aa744fd4
commit 0c9408ff64
18 changed files with 158 additions and 112 deletions
@@ -444,7 +444,7 @@ namespace TBF.BenchControl.TestMethods.ReferenceFlowmeterCalibration
}
/// Create a list with one item 'retVal' (default is Event.Done) and return it
IList<Event> retList = new List<Event>();
IList<Event> retList = new List<Event>(1);
retList.Add(retVal);
return retList;
}
@@ -12,6 +12,7 @@ namespace TBF.BenchControl.TestMethods.ReferenceFlowmeterCalibration
public bool Evaluate { get { return false; } }
public bool Publish { get { return false; } }
public bool CanTest(Entities.MetersKind meters) { return true; }
public TestMethod(TestMethodCfg cfg)
: base(cfg)