Exemplo n.º 1
0
        public void TestShowArtistGoesAheadWhenItCan()
        {
            ShowGigsTask task1 = new ShowGigsTask() { SearchTerms = TestTerm };
            task1.Show();

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

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