Beispiel #1
0
 static void AssertMusicVideoClip (MusicVideoClip musicVideoClip, MusicVideoClipOptions options)
 {
     AssertVideoItem (musicVideoClip, options);
     Assert.AreEqual (musicVideoClip.StorageMedium, options.StorageMedium);
     Assert.AreEqual (musicVideoClip.Date, options.Date);
     Assert.IsTrue (musicVideoClip.Artists.IsReadOnly);
     Assert.IsTrue (musicVideoClip.Albums.IsReadOnly);
     Assert.IsTrue (musicVideoClip.ScheduledStartTimes.IsReadOnly);
     Assert.IsTrue (musicVideoClip.ScheduledEndTimes.IsReadOnly);
     Assert.IsTrue (musicVideoClip.Contributors.IsReadOnly);
     CollectionAssert.AreEqual (musicVideoClip.Artists, options.Artists);
     CollectionAssert.AreEqual (musicVideoClip.Albums, options.Albums);
     CollectionAssert.AreEqual (musicVideoClip.ScheduledStartTimes, options.ScheduledStartTimes);
     CollectionAssert.AreEqual (musicVideoClip.ScheduledEndTimes, options.ScheduledEndTimes);
     CollectionAssert.AreEqual (musicVideoClip.Contributors, options.Contributors);
 }
Beispiel #2
0
 public void MusicVideoClipInstantiation ()
 {
     var options = new MusicVideoClipOptions ();
     SetMusicVideoClipOptions (options);
     var music_video_clip = new MusicVideoClip ("-1", "-1", options);
     AssertMusicVideoClip (music_video_clip, options);
     AssertMusicVideoClip (music_video_clip, music_video_clip.GetOptions ());
 }