コード例 #1
0
 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
ファイル: MyTestApp.cs プロジェクト: gabornemeth/NUnit.XForms
 public MyTestApp()
 {
     var runner = new TestRunner();
     runner.Add(typeof(MyTest));
     var page = new TestRunnerPage(runner);
     page.Title = "XForms test runner";
     MainPage = new NavigationPage(page);
 }
コード例 #3
0
 public TestRunnerPage(TestRunner runner)
 {
     InitializeComponent();
     BindingContext = new TestSuiteViewModel(runner);
 }