}
}
+ [Test]
+ [Category("P2")]
+ [Description("Throws if device is null")]
+ [Property("SPEC", "Tizen.Multimedia.AudioStreamPolicy.AddDeviceForStreamRouting M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MEX")]
+ [Property("AUTHOR", "Sangchul Lee, sc11.lee@samsung.com")]
+ public void AddDeviceForStreamRouting_ARGUMENT_NULL_EXCEPTION()
+ {
+ using (AudioStreamPolicy asp = new AudioStreamPolicy(AudioStreamType.Voip))
+ {
+ Assert.That(() => asp.AddDeviceForStreamRouting(null),
+ Throws.TypeOf<ArgumentNullException>());
+ }
+ }
+
[Test]
[Category("P2")]
[Description("Throws if stream type is not supported for the method")]
}
}
+ [Test]
+ [Category("P2")]
+ [Description("Throws if device is null")]
+ [Property("SPEC", "Tizen.Multimedia.AudioStreamPolicy.RemoveDeviceForStreamRouting M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MEX")]
+ [Property("AUTHOR", "Sangchul Lee, sc11.lee@samsung.com")]
+ public void RemoveDeviceForStreamRouting_ARGUMENT_NULL_EXCEPTION()
+ {
+ using (AudioStreamPolicy asp = new AudioStreamPolicy(AudioStreamType.Voip))
+ {
+ Assert.That(() => asp.RemoveDeviceForStreamRouting(null),
+ Throws.TypeOf<ArgumentNullException>());
+ }
+ }
+
[Test]
[Category("P1")]
[Description("Sets and gets the preferred output device.")]