public TestSuiteViewModel(TestRunner runner)
 {
     //_model = runner;
     _fixtures = new List<TestFixtureViewModel>();
     foreach (var fixture in runner.Fixtures)
         _fixtures.Add(new TestFixtureViewModel(fixture, this));
     Results = new ObservableCollection<TestResultInfo>();
 }
Пример #2
0
 public MyTestApp()
 {
     var runner = new TestRunner();
     runner.Add(typeof(MyTest));
     var page = new TestRunnerPage(runner);
     page.Title = "XForms test runner";
     MainPage = new NavigationPage(page);
 }
 public TestRunnerPage(TestRunner runner)
 {
     InitializeComponent();
     BindingContext = new TestSuiteViewModel(runner);
 }