コード例 #1
0
        public void TestShowArtistGoesAheadWhenItCan()
        {
            ShowGigsTask task1 = new ShowGigsTask() { SearchTerms = TestTerm };
            task1.Show();

            ShowGigsTask task2 = new ShowGigsTask();
            task2.Show();

            Assert.Pass();
        }
コード例 #2
0
 private void ShowGigsTask(object sender, RoutedEventArgs e)
 {
     ShowGigsTask task = new ShowGigsTask();
     task.Show();
 }
コード例 #3
0
 private void SearchGigsTask(object sender, RoutedEventArgs e)
 {
     ShowGigsTask task = new ShowGigsTask();
     task.SearchTerms = "New York";
     task.Show();
 }
コード例 #4
0
 public void TestSearchTermPropertyPersists()
 {
     ShowGigsTask task = new ShowGigsTask() { SearchTerms = TestTerm };
     Assert.AreEqual(TestTerm, task.SearchTerms, "Expected the same term");
 }