/// <summary> /// Filters the initialization test steps. /// </summary> private void InitializeTestSteps(List <TestStep> testSteps) { foreach (var curretTestStep in testSteps) { if (!TestStepManager.IsInitializationTestStep(curretTestStep)) { this.ObservableTestSteps.Add(curretTestStep); } } }
/// <summary> /// Initializes the test steps for export. /// </summary> /// <param name="testSteps">The test steps.</param> /// <returns>reinitialized test steps for export</returns> private List <TestStep> InitializeTestStepsForExport(List <TestStep> testSteps) { List <TestStep> testStepsForExport = new List <TestStep>(); foreach (var curretTestStep in testSteps) { if (!TestStepManager.IsInitializationTestStep(curretTestStep)) { testStepsForExport.Add(curretTestStep); } } return(testStepsForExport); }