public void TestShowArtistGoesAheadWhenItCan()
        {
            ShowArtistTask task1 = new ShowArtistTask() { ArtistId = TestArtistId };
            task1.Show();

            ShowArtistTask task2 = new ShowArtistTask() { ArtistName = TestArtistName };
            task2.Show();

            Assert.Pass();
        }
Example #2
0
 private void ShowArtistTask(object sender, RoutedEventArgs e)
 {
     ShowArtistTask task = new ShowArtistTask();
     task.ArtistName = "Lady Gaga";
     task.Show();
 }
Example #3
0
 /// <summary>
 /// Launches Nokia Music to show details for the artist using the ShowArtistTask
 /// </summary>
 public void Show()
 {
     ShowArtistTask task = new ShowArtistTask() { ArtistId = this.Id };
     task.Show();
 }
 private void ShowArtist(object sender, RoutedEventArgs e)
 {
     ShowArtistTask task = new ShowArtistTask();
     task.ArtistId = this._artistId;
     task.Show();
 }
 public void TestArtistIdOrNamePropertyIsRequiredForShow()
 {
     ShowArtistTask task = new ShowArtistTask();
     task.Show();
 }