async Task AutomatedTests() { if (_automated) { if (_currentTest >= _tests.Count) { _currentTest = 0; ++_currentLoop; if (_currentLoop >= _loops) { _automated = false; TestList.IsEnabled = true; MarkTestsAsFinishedForUITests(); Summary.Text = "Summary: " + Environment.NewLine; Summary.Text += PerfLog.Summary(); } } if (_currentLoop < _loops) { Summary.Text = $"Tests in progress ({_currentLoop + 1}/{_loops})"; TestList.IsEnabled = false; await GoToTest(_tests[_currentTest++]); } } }
public string TestsSummary() { return(PerfLog.Summary()); }
public NSString TestsSummary(NSString arg) { return(new NSString(PerfLog.Summary())); }