/// <summary> /// Constructor for AvalonModel. /// If firstCase and lastCase are both set to -1 all tests in the xtc file will be run. /// To run only one test, set them both to its number. /// <param name="modelName">Name of the model. If no name is specified, the .xtc file name /// will be used as the model name.</param> /// <param name="xtcFileName">Name of xtc file.</param> /// <param name="firstCase">Number of first test case to run.</param> /// <param name="lastCase">Number of last test case to run.</param> /// </summary> protected AvalonModel(string modelName, string xtcFileName, int firstCase, int lastCase) { this.xtcFileName = xtcFileName; if (modelName == "") { //If no model name specified, use the name of the .xtc file as the model name. this.Name = this.GetType().Name; } else { this.Name = modelName; } this.firstCase = firstCase; this.lastCase = lastCase; testLogName = this.Name; dispatcherSignalHelper = new DispatcherSignalHelper(); }
/// <summary> /// Constructor for AvalonTest. /// </summary> protected AvalonTest() { dispatcherSignalHelper = new DispatcherSignalHelper(); }