Microsoft.Silverlight.Testing.Harness.TestRunFilter.SortTestMethods C# (CSharp) Method

SortTestMethods() protected method

Sorts the test methods, if requested.
protected SortTestMethods ( IList methods ) : void
methods IList List of test methods.
return void
        protected void SortTestMethods(IList<ITestMethod> methods)
        {
            if (_settings.SortTestMethods)
            {
                methods.Replace(methods.OrderBy(m => m.Name));
            }
        }