}
#endregion
+ #region ReplayGain
+
+ [Test]
+ [Category("P1")]
+ [Description("Default ReplayGain value is false")]
+ [Property("SPEC", "Tizen.Multimedia.Player.ReplayGain A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PDV")]
+ [Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
+ public void ReplayGain_DEFAULT()
+ {
+ Assert.That(TestPlayer.ReplayGain, Is.False);
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("check whether ReplayGain is readable and writable")]
+ [Property("SPEC", "Tizen.Multimedia.Player.ReplayGain A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
+ public void ReplayGain_SET_GET()
+ {
+ const bool newValue = true;
+
+ TestPlayer.ReplayGain = newValue;
+ Assert.That(TestPlayer.ReplayGain, Is.EqualTo(newValue));
+ }
+
+
+ [Test]
+ [Category("P2")]
+ [Description("Any attempt to access the ReplayGain if the player has been disposed of")]
+ [Property("SPEC", "Tizen.Multimedia.Player.ReplayGain A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PEX")]
+ [Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
+ public void ReplayGain_DISPOSED()
+ {
+ GetIdlePlayer().Dispose();
+ Assert.That(() => TestPlayer.ReplayGain, Throws.TypeOf<ObjectDisposedException>());
+ }
+
+ #endregion
+
#region AudioOnly
[Test]