public void TestShowArtistGoesAheadWhenItCan() { ShowGigsTask task1 = new ShowGigsTask() { SearchTerms = TestTerm }; task1.Show(); ShowGigsTask task2 = new ShowGigsTask(); task2.Show(); Assert.Pass(); }
private void ShowGigsTask(object sender, RoutedEventArgs e) { ShowGigsTask task = new ShowGigsTask(); task.Show(); }
private void SearchGigsTask(object sender, RoutedEventArgs e) { ShowGigsTask task = new ShowGigsTask(); task.SearchTerms = "New York"; task.Show(); }
public void TestSearchTermPropertyPersists() { ShowGigsTask task = new ShowGigsTask() { SearchTerms = TestTerm }; Assert.AreEqual(TestTerm, task.SearchTerms, "Expected the same term"); }