public class AudioDeviceTests : AudioManagerTestBase
{
public const string LogTag = "TizenTest.Multimedia.AudioDevice";
- private static TestPage _testPage = TestPage.GetInstance();
-
private static bool _isBluetoothAvailable = true;
[OneTimeSetUp]
private static void AssertDevice(Func<AudioDevice, bool> deviceCheckFunc)
{
+ TestPage.GetInstance().UnlockUIButton();
+
foreach (var device in AudioManager.GetConnectedDevices())
{
if (deviceCheckFunc(device))
{
- ManualTest.Confirm();
return;
}
}
Assert.Fail($"The target audio device is not connected");
-
- ManualTest.Confirm();
}
[Test]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- [Precondition(1, " 4-Wire Ear Jack is connected")]
+ [Precondition(1, "4-Wire Ear Jack is connected")]
[Step(1, "Click run TC")]
[Step(2, "Check the result on display.")]
- [Postcondition(1, " 4-Wire Ear Jack is disconnected from the device")]
+ [Postcondition(1, "4-Wire Ear Jack is disconnected from the device")]
public async Task Type_GET_ENUM_AUDIOJACK()
{
if (IsAudioJackAvailable == false)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- [Precondition(1, " 4-Wire Ear Jack is connected")]
+ [Precondition(1, "4-Wire Ear Jack is connected")]
[Step(1, "Click run TC")]
[Step(2, "Check the result on display.")]
- [Postcondition(1, " 4-Wire Ear Jack is disconnected from the device")]
+ [Postcondition(1, "4-Wire Ear Jack is disconnected from the device")]
public async Task IoDirection_GET_ENUM_INPUT_OUTPUT()
{