Microsoft.Silverlight.Testing.Client.DataManager.OnTestMethodCompleted C# (CSharp) Method

OnTestMethodCompleted() private method

Process the completion of test methods.
private OnTestMethodCompleted ( object sender, TestMethodCompletedEventArgs e ) : void
sender object The source object.
e Microsoft.Silverlight.Testing.Harness.TestMethodCompletedEventArgs The event data.
return void
        private void OnTestMethodCompleted(object sender, TestMethodCompletedEventArgs e)
        {
            ScenarioResult result = e.Result;
            if (result == null)
            {
                throw new InvalidOperationException("The result was not present.");
            }

            ProcessResult(result);
        }