// _Unsupported_ Those API could be not implemented and return KErrNotSupported


[Define]
KErrNotFound -1
KErrNotSupported -5
KErrAlreadyExists -11
KErrNotReady -18
KErrAccessDenied -21

KErrEventPending -2000
KErrCallbackErrorCode -2001
KErrUnexpectedValue -2002
KErrNotificationPending -2005
KErrUnexpectedNotification -2006
KErrTimeoutController -2007



[Enddefine]



[Test]
title 1. Create AudioRouting CAudioInput - Recorder
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject Recorder
waittestclass AudioRoutingTest
AudioRoutingTest AudioInput Recorder
delete AudioRoutingTest
[Endtest]

[Test]
title 1.1. Create AudioRouting CAudioInput - Recorder
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject Recorder
waittestclass AudioRoutingTest
AudioRoutingTest AudioInput Recorder
AudioRoutingTest SetAudioInput
AudioRoutingTest AudioInputs
delete AudioRoutingTest
[Endtest]

[Test]
title 1.2. Create AudioRouting CAudioInput - VideoRecorder
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest AudioInput VideoRecord
delete AudioRoutingTest
[Endtest]

[Test]
title 2. Create AudioRouting CAudioInput - CustomCommand
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject Recorder
waittestclass AudioRoutingTest
AudioRoutingTest CreateObject CustomCommand
AudioRoutingTest AudioInput CustomCommand
delete AudioRoutingTest
[Endtest]

[Test]
title 3. Create AudioRouting CAudioInput - CustomCommand
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject AudioPlayer
waittestclass AudioRoutingTest
AudioRoutingTest CreateObject CustomCommand AudioPlayer
AudioRoutingTest AudioInput CustomCommand
AudioRoutingTest SetAudioInput
AudioRoutingTest AudioInputs
delete AudioRoutingTest
[Endtest]

[Test]
title 4. Create AudioRouting CAudioInput - CustomInterface
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject AudioPlayer
waittestclass AudioRoutingTest
AudioRoutingTest CreateObject CustomInterface AudioPlayer
AudioRoutingTest AudioInput CustomInterface
delete AudioRoutingTest
[Endtest]

[Test]
title 5. Create AudioRouting CAudioInput - CustomInterface
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject Recorder
waittestclass AudioRoutingTest
AudioRoutingTest CreateObject CustomCommand Recorder
AudioRoutingTest CreateObject CustomInterface Recorder
AudioRoutingTest AudioInput CustomInterface Recorder
delete AudioRoutingTest
[Endtest]

[Test]
title 5.1. Create CAudioInput - CustomInterface
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject Recorder
waittestclass AudioRoutingTest
AudioRoutingTest CreateObject CustomInterface Recorder
AudioRoutingTest AudioInput CustomInterface
delete AudioRoutingTest
[Endtest]

[Test]
title 6. Create AudioRouting CAudioInput - DevSound
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject DevSound
waittestclass AudioRoutingTest
AudioRoutingTest AudioInput DevSound
delete AudioRoutingTest
[Endtest]

[Test]
title 7. Create AudioRouting CAudioInput - InputStream
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject InputStream
waittestclass AudioRoutingTest
AudioRoutingTest AudioInput InputStream
delete AudioRoutingTest
[Endtest]

[Test]
title 8. Create AudioRouting CAudioOutput - CMdaAudioPlayerUtility
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject AudioPlayer
waittestclass AudioRoutingTest
AudioRoutingTest AudioInput AudioPlayer
[Endtest]

[Test]
title 8.1. CAudioOutput - CMdaAudioPlayerUtility - AudioOutput
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject AudioPlayer
waittestclass AudioRoutingTest
AudioRoutingTest AudioInput AudioPlayer
AudioRoutingTest AudioOutput
[Endtest]

[Test]
title 9. Create AudioRouting CAudioOutput - CMdaAudioRecorderUtility
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject OutputRecord
waittestclass AudioRoutingTest
AudioRoutingTest AudioInput OutputRecord
delete AudioRoutingTest
[Endtest]

[Test]
title 10. Create AudioRouting CAudioOutput - CMdaAudioOutputStream 
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject OutputStream
//waittestclass AudioRoutingTest
AudioRoutingTest AudioInput OutputStream
delete AudioRoutingTest
[Endtest]

[Test]
title 11. Create AudioRouting CAudioOutput - CMdaAudioToneUtility 
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject ToneUtility
waittestclass AudioRoutingTest
AudioRoutingTest AudioInput ToneUtility
delete AudioRoutingTest
[Endtest]

[Test]
title 12. Create AudioRouting CAudioOutput - DevSound 
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject DevSound1
waittestclass AudioRoutingTest
AudioRoutingTest AudioInput DevSound1
delete AudioRoutingTest
[Endtest]

[Test]
title 12.1. Create CAudioOutput - DevSound - ProxyF 
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject DevSound1
waittestclass AudioRoutingTest
AudioRoutingTest AudioInput DevSound1
AudioRoutingTest DefaultAudioOutput
AudioRoutingTest RegisterObserver
AudioRoutingTest SecureOutput
AudioRoutingTest SetAudioOutput
AudioRoutingTest SetSecureOutput
AudioRoutingTest UnregisterObserver
delete AudioRoutingTest
[Endtest]

[Test]
title 13. Create AudioRouting CAudioOutput - CustomInterfaceOutput 
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject AudioPlayer
waittestclass AudioRoutingTest
AudioRoutingTest CreateObject CustomInterface AudioPlayer
AudioRoutingTest AudioInput CustomInterfaceOutput
delete AudioRoutingTest
[Endtest]

[Test]
title 13.1. Create AudioRouting CAudioOutput - CustomCommand
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject AudioPlayer
waittestclass AudioRoutingTest
AudioRoutingTest CreateObject CustomCommand AudioPlayer
AudioRoutingTest CreateObject CustomInterface CustomCommand
AudioRoutingTest AudioInput CustomInterfaceOutput
AudioRoutingTest SetAudioOutput
AudioRoutingTest SetSecureOutput
pause 2000
AudioRoutingTest DefaultAudioOutput
AudioRoutingTest SecureOutput
pause 2000
delete AudioRoutingTest
[Endtest]

[Test]
title 14. Create AudioRouting CAudioOutput - CustomCommand
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject AudioPlayer
waittestclass AudioRoutingTest
AudioRoutingTest CreateObject CustomCommand AudioPlayer
AudioRoutingTest AudioInput CustomCommandOutput
AudioRoutingTest RegisterObserver
AudioRoutingTest UnregisterObserver
delete AudioRoutingTest
[Endtest]

[Test]
title 15. Create AudioRouting CAudioOutput - MidiClient 
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject MidiClient
waittestclass AudioRoutingTest
AudioRoutingTest AudioInput MidiClient
AudioRoutingTest DefaultAudioOutput
AudioRoutingTest RegisterObserver
AudioRoutingTest SecureOutput
AudioRoutingTest SetAudioOutput
AudioRoutingTest SetSecureOutput
AudioRoutingTest UnregisterObserver
delete AudioRoutingTest
[Endtest]

[Test]
title 16. Create AudioRouting CAudioOutput - DrmPlayer 
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject DrmPlayer
waittestclass AudioRoutingTest
AudioRoutingTest AudioInput DrmPlayer
delete AudioRoutingTest
[Endtest]

[Test]
title 17. Create AudioRouting CAudioOutput - VideoPlayer 
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject VideoPlayer Output
waittestclass AudioRoutingTest
AudioRoutingTest AudioInput VideoPlayer
AudioRoutingTest AudioInputs
AudioRoutingTest SetAudioInput
delete AudioRoutingTest
[Endtest]

[Test]
title 18. Create AudioRouting CAudioOutput - VideoPlayer 
create AudioRoutingTestClass AudioRoutingTest
AudioRoutingTest CreateObject VideoPlayer Input
waittestclass AudioRoutingTest
AudioRoutingTest AudioInput VideoPlayer
AudioRoutingTest DefaultAudioOutput
AudioRoutingTest RegisterObserver
AudioRoutingTest SecureOutput
AudioRoutingTest SetAudioOutput
AudioRoutingTest SetSecureOutput
AudioRoutingTest UnregisterObserver
delete AudioRoutingTest
[Endtest]