Ejemplo n.º 1
0
        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++]);
                }
            }
        }
Ejemplo n.º 2
0
 public string TestsSummary()
 {
     return(PerfLog.Summary());
 }
Ejemplo n.º 3
0
 public NSString TestsSummary(NSString arg)
 {
     return(new NSString(PerfLog.Summary()));
 }