[Test]
[Category("P1")]
- [Description("GetDownloadProgress normal test")]
+ [Description("GetDownloadProgress normal test for all available states")]
[Property("SPEC", "Tizen.Multimedia.Player.GetDownloadProgress M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
public async Task GetDownloadProgress_CHECK()
{
var player = await GetPreparedPlayer(_streamingSource);
+ Assert.That(() => player.GetDownloadProgress(), Throws.Nothing);
player.Start();
+ Assert.That(() => player.GetDownloadProgress(), Throws.Nothing);
+ player.Stop();
Assert.That(() => player.GetDownloadProgress(), Throws.Nothing);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public async Task GetDownloadProgress_THROWS_IF_NOT_VALID_STATE()
+ public void GetDownloadProgress_THROWS_IF_NOT_VALID_STATE()
{
Assert.That(() => TestPlayer.GetDownloadProgress(), Throws.InvalidOperationException);
-
- var player = await GetPreparedPlayer();
- Assert.That(() => player.GetDownloadProgress(), Throws.InvalidOperationException);
}
[Test]
[Test]
[Category("P2")]
- [Description("Any attempt to access the ReplayGain if the player has been disposed of")]
+ [Description("AudioPitchEnabled throws exception if the player is in a not valid state")]
[Property("SPEC", "Tizen.Multimedia.Player.AudioPitchEnabled A")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Test]
[Category("P2")]
- [Description("Any attempt to access the ReplayGain if the player has been disposed of")]
+ [Description("Any attempt to access the AudioPitchEnabled if the player has been disposed of")]
[Property("SPEC", "Tizen.Multimedia.Player.AudioPitchEnabled A")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Test]
[Category("P2")]
- [Description("Any attempt to access the ReplayGain if the player has been disposed of")]
+ [Description("Any attempt to access the AudioPitch if the player has been disposed of")]
[Property("SPEC", "Tizen.Multimedia.Player.AudioPitch A")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]