[Test]
[Category("P1")]
- [Description("AudioDevice State")]
- [Property("SPEC", "Tizen.Multimedia.AudioDevice.State A")]
- [Property("SPEC_URL", "-")]
- [Property("CRITERIA", "PRE")]
- [Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public void State_GET_ENUM_ACTIVATED_STATE()
- {
- Assert.That(AudioManager.GetConnectedDevices().Count(d => d.State == AudioDeviceState.Activated),
- Is.GreaterThan(0));
- }
-
- [Test]
- [Category("P1")]
[Description("Check whether IsRunning returns expected value or not.")]
[Property("SPEC", "Tizen.Multimedia.AudioDevice.IsRunning A")]
[Property("SPEC_URL", "-")]
+++ /dev/null
-using NUnit.Framework;
-
-namespace Tizen.Multimedia.Tests
-{
- [TestFixture]
- [Description("Testing Tizen.Multimedia.AudioDeviceStateChangedEventArgs class")]
- public class AudioDeviceStateChangedEventArgsTests
- {
- [Test]
- [Category("P1")]
- [Description("Is read only")]
- [Property("SPEC", "Tizen.Multimedia.AudioDeviceStateChangedEventArgs.Device A")]
- [Property("SPEC_URL", "-")]
- [Property("CRITERIA", "PRO")]
- [Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public void Device_READ_ONLY()
- {
- AssertHelper.PropertyReadOnly<AudioDeviceStateChangedEventArgs>(
- nameof(AudioDeviceStateChangedEventArgs.Device));
- }
-
- [Test]
- [Category("P1")]
- [Description("Is read only")]
- [Property("SPEC", "Tizen.Multimedia.AudioDeviceStateChangedEventArgs.State A")]
- [Property("SPEC_URL", "-")]
- [Property("CRITERIA", "PRO")]
- [Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public void State_READ_ONLY()
- {
- AssertHelper.PropertyReadOnly<AudioDeviceStateChangedEventArgs>(
- nameof(AudioDeviceStateChangedEventArgs.State));
- }
- }
-}