AjaxControlToolkit.Jasmine.TestRunner.GetSuites C# (CSharp) Method

GetSuites() private method

private GetSuites ( ) : IEnumerable
return IEnumerable
        IEnumerable<SuiteInfo> GetSuites()
        {
            var suitesDir = Server.MapPath("~/Suites");

            return GetTestPagePaths(suitesDir)
                .Select(path => new SuiteInfo {
                    path = GetRelativePath(path, suitesDir),
                    specCount = CountSpecsInFile(path)
                })
                .Where(s => s.specCount > 0);
        }