/*  ===========================================================================
 *  Copyright © 2006-2007 Nokia Corporation.
 *  This material, including documentation and any related
 *  computer programs, is protected by copyright controlled by
 *  Nokia Corporation. All rights are reserved. Copying,
 *  including reproducing, storing, adapting or translating, any
 *  or all of this material requires the prior written consent of
 *  Nokia Corporation. This material also contains confidential
 *  information which may not be disclosed to others without the
 *  prior written consent of Nokia Corporation.
 * ============================================================================
 */


[Test]
title GetList
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager GetList 0 NULL  Type UnicodeString Application Finish 0
delete foobar
[Endtest]


[Test]
title GetListBadConType
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager GetList 0 NULL  Type String Application Finish 1002
delete foobar
[Endtest]

[Test]
title GetList_EmptyInputParamList
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager GetList 0 NULL Finish 1003
delete foobar
[Endtest]


[Test]
title GetList_InvalidContentTypeKey
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager GetList 0 NULL  NULLApplicationID UnicodeString Application Finish 0
delete foobar
[Endtest]

[Test]
title GetList_InvalidInterface
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IDataSource GetList 0 checkinterface Type UnicodeString Application Finish 0
delete foobar
[Endtest]

[Test]
title GetList_Filter_doc_8bitString
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager GetList 0 NULL  Type UnicodeString Application Filter Map DocumentPath String c:\data\Hello.txt End Finish 1002
delete foobar                                                                                                   
[Endtest]

[Test]
title GetList_Filter_mime_8bitString
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager GetList 0 NULL  Type UnicodeString Application Filter Map MimeType String c:\data\Hello.txt End Finish 1002
delete foobar                                                                                                   
[Endtest]

[Test]//key-value pair swapped
title GetList_Filter_docpath_mime
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager GetList 0 NULL  Type UnicodeString Application Filter Map DocumentPath UnicodeString test/Test End Finish 1018
delete foobar                                                                                                   
[Endtest]

[Test]//key-value pair swapped
title GetListValidFilterMime
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager GetList 0 NULL  Type UnicodeString Application Filter Map MimeType UnicodeString audio/mpeg End Finish 0
delete foobar                                                                                                   
[Endtest]


[Test]//key-value pair swapped
title GetListInValidMime
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager GetList 0 NULL  Type UnicodeString Application Filter Map MimeType UnicodeString eeeee\ret End Finish 1002
delete foobar                                                                                                   
[Endtest]


[Test]//key-value pair swapped
title GetListInvalidFilterValue2
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager GetList 0 NULL  Type UnicodeString Application Filter Map MimeType UnicodeString c:\data\Hello.txt End Finish 1002
delete foobar                                                                                                   
[Endtest]


[Test]//invalid doc path
title GetListInvalidDocPath
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager GetList 0 NULL  Type UnicodeString Application Filter Map DocumentPath UnicodeString c:\testfolder\Hello.txt End Finish 1018
delete foobar                                                                                                   
[Endtest]

[Test]
title GetListLongDocPath
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager GetList 0 NULL  Type UnicodeString Application Filter Map DocumentPath UnicodeString c:\data\gdfgfdgfdgfgdfgfdgfdgfdgfdgfdgfdgfdgdfgfdgfdgfdgfdgfdgdfgfsgdfsgfdsgfdsgfdgdsgfdsgdfsgdfsgdfsgfdsgsdfgdfgfdsgdfsgsdgdfgfsdgfdsgfdsgfdsgfdsgfdgsdgsdfgsdfgdfsgfdgdsgdsfgdfsgfsdgsdfgsdfgsdfgfdsgfdsgdsfgddfsgdfgdfgwwewewewewewewewewewewewewewewewewewewewewewewew.txt End Finish 1002
delete foobar                                                                                                   
[Endtest]

 
[Test]
title GetListIntType
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager GetList 0 NULL  Type Int Application Finish 1002 
delete foobar                                                                                                   
[Endtest]

[Test]
title GetListIntType
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager GetList 0 NULL  Type Int 12 Finish 1002 
delete foobar                                                                                                   
[Endtest]

[Test]
title GetListInvalidTypeValue
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager GetList 0 NULL  Type String SomOtherType Finish 1002
delete foobar
[Endtest]



[Test]
title GetListInvalidCmd
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager SomeThing 0 NULL  Type String SomOtherType Finish 1004
delete foobar
[Endtest]


[Test]
title GetList_Async
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager GetList 1 NULL  Type String Application Finish 1002
delete foobar
[Endtest]


[Test]
title GetList_Async2
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager GetList 0 CB  Type String Application Finish 1002
delete foobar
[Endtest]



[Test]
title GetListCallNTimes
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar GetListManyTimes Service.AppManager IAppManager GetList 0 NULL  Type UnicodeString Application Finish 0
delete foobar
[Endtest]


[Test]
title GetListCheckOutput
create tappmanprovidernegativetest foobar
//foobar CheckOutputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckOutputArgumentType Service.AppManager IAppManager GetList 0 NULL  Type UnicodeString Application Finish 0
delete foobar
[Endtest]

[Test]//Missing mandatory arg 
title GetListMissingMandatoryArg_bad type
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager GetList 0 NULL Filter Map MimeType UnicodeString audio/mpeg End Finish 1003
delete foobar                                                                                                   
[Endtest]



/**********************************GetList End************************************/

[Test]
title LaunchApp //forward case 
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 0 NULL ApplicationID UnicodeString 0x1000599d Finish 0
delete foobar
[Endtest]

[Test]
title LaunchApp_AppID_8bitstr   //ApplicationID as 8 bit string 
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 0 NULL ApplicationID String 0x1000599d Finish 1002
delete foobar
[Endtest]

[Test]
title LaunchApp_AppID_withoutS60prefix  //ApplicationID without S60 prefix - comment in the code manually
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentTypenos60prefix Service.AppManager IAppManager LaunchApp 0 NULL ApplicationID UnicodeString 0x1000599d Finish 1002
delete foobar
[Endtest]


[Test]
title LaunchAppwithMap //forward case  with options
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 0 NULL ApplicationID UnicodeString 0x1000599d Options Map Mode UnicodeString Standalone End Finish 0
delete foobar
[Endtest]


[Test]
title LaunchAppMode8bitStr //Mode with 8 bit string 
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 0 NULL ApplicationID UnicodeString 0x1000599d Options Map Mode String Standalone End Finish 1002
delete foobar
[Endtest]

[Test]
title LaunchAppPos8bitStr //Position with 8 bit string 
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 0 NULL ApplicationID UnicodeString 0x1000599d Options Map Position String Foreground End Finish 1002
delete foobar
[Endtest]


[Test]
title LaunchAppDoc //Launch app with specified doc in forward case 
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 0 NULL ApplicationID UnicodeString 0x1000599d Options Map DocumentPath UnicodeString c:\data\Hello.txt End Finish 0
delete foobar
[Endtest]

[Test]
title LaunchAppDoc8bitstr //Launch app with specified doc with 8 bit string 
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 0 NULL ApplicationID UnicodeString 0x1000599d Options Map DocumentPath String c:\data\Hello.txt End Finish 1002
delete foobar
[Endtest]


[Test]
title LaunchAppNullKeyforAppID //NULL instead of ApplicationID  for pos based - manually change in code foe s60uid appending
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 0 NULL NULLApplicationID UnicodeString 0x1000599d Finish 0
delete foobar
[Endtest]

[Test]
title LaunchAppsomeKeyforAppID //somethingelse instead of ApplicationID  for pos based
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 0 NULL somethingelse UnicodeString 0x1000599d Finish 1003
delete foobar
[Endtest]


[Test]
title LaunchAppPos1 //pos based case 1 
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 0 NULL Options Map Mode UnicodeString Standalone End ApplicationID UnicodeString 0x1000599d Finish 0
delete foobar
[Endtest]

[Test]
title LaunchAppPos2 //pos based case 3
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 0 NULL NULL Map Mode UnicodeString Standalone DocumentPath String c:\data\Hello.txt End ApplicationID UnicodeString 0x1000599d Finish 0
delete foobar
[Endtest]


[Test]
title LaunchAppPos3 //forward case for pos based 
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 0 NULL NULLApplicationID UnicodeString 0x1000599d NULL UnicodeString somecmd NULL Map Mode UnicodeString Standalone Position UnicodeString Foreground DocumentPath UnicodeString c:\data\Hello.txt End Finish 0
delete foobar
[Endtest]


[Test]
title LaunchAppStringforMap //String instead of Map
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 0 NULL ApplicationID UnicodeString 0x1000599d CmdLine UnicodeString somecmd Options UnicodeString Standalone Finish 1002
delete foobar
[Endtest]


[Test]
title LaunchAppDocinvalidpath //Launch app with specified doc in forward case 
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 0 NULL ApplicationID UnicodeString 0x1000599d Options Map DocumentPath UnicodeString c:\somepathdoesnotoccur\Hello.txt End Finish 1018
delete foobar
[Endtest]

[Test]
title LaunchAppmp3invalidpath //Launch app with specified doc in forward case 
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 0 NULL ApplicationID UnicodeString 0x102072c3 Options Map DocumentPath UnicodeString c:\somepathdoesnotoccur\Hello.mp3 End Finish 1018
delete foobar
[Endtest]


[Test]
title LaunchAppMissingMandatoryArg //Launch app with specified doc in forward case 
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 0 NULL Options Map DocumentPath UnicodeString c:\data\Hello.mp3 End Finish 1003
delete foobar
[Endtest]


[Test]
title LaunchApplongpath //Launch app with specified doc in forward case 
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 0 NULL ApplicationID UnicodeString 0x1000599d Options Map DocumentPath UnicodeString c:\data\c:\data\gdfgfdgfdgfgdfgfdgfdgfdgfdgfdgfdgfdgdfgfdgfdgfdgfdgfdgdfgfsgdfsgfdsgfdsgfdgdsgfdsgdfsgdfsgdfsgfdsgsdfgdfgfdsgdfsgsdgdfgfsdgfdsgfdsgfdsgfdsgfdgsdgsdfgsdfgdfsgfdgdsgdsfgdfsgfsdgsdfgsdfgsdfgfdsgfdsgdsfgddfsgdfgdfgwwewewfdsgdfsgfsdgsdfgdsfgdsfgsdfsgsdfgsdfgsdfgsdfgsd.txt End Finish 1002
delete foobar
[Endtest]

[Test]
title LaunchAppwithInvalidMapType //forward case  with options
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 0 NULL ApplicationID UnicodeString 0x1000599d Options List UnicodeString Standalone End Finish 1002
delete foobar
[Endtest]


[Test]
title LaunchAppAsync 
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 1 cb ApplicationID UnicodeString 0x1000599d Finish 0
delete foobar
[Endtest]

[Test]
title LaunchAppAsync2
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 1 NULL ApplicationID UnicodeString 0x1000599d Finish 1002
delete foobar
[Endtest]


[Test]
title LaunchAppAsync3
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp NULL cb ApplicationID UnicodeString 0x1000599d Finish 1002
delete foobar
[Endtest]


[Test]
title LaunchAppCheckCancel
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckCancel Service.AppManager IAppManager LaunchApp 1 cb ApplicationID UnicodeString 0x1000599d Finish 0
delete foobar
[Endtest]


[Test]
title LaunchAppLeavingCallBack
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchApp 1 LeavingCallBack ApplicationID UnicodeString 0x1000599d Finish 0
delete foobar
[Endtest]



/************************************************   LaunchApp End  ***********************************************************/

[Test]
title LaunchDoc
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchDoc 0 NULL Document Map DocumentPath UnicodeString c:\data\Hello.txt End Finish 0
delete foobar
[Endtest]

[Test]
title LaunchDocNoMandotoryArg
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchDoc 0 NULL DocumentPath UnicodeString c:\data\Hello.txt Finish 1003
delete foobar
[Endtest]


[Test]
title Launchdocmimetypemismatch
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchDoc 0 NULL MimeType String audio/mpeg Finish 1002
delete foobar
[Endtest]

[Test]
title LaunchDocMimeTypeMismatch
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchDoc 0 NULL MimeType UnicodeString audio/mpeg Finish 0
delete foobar
[Endtest]

[Test]
title LaunchDocTypeMismatch
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchDoc 0 NULL Document Map DocumentPath String c:\data\Hello.txt End Finish 1002
delete foobar
[Endtest]

[Test]
title LaunchDocasync
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchDoc 1 cb Document Map DocumentPath UnicodeString c:\data\Hello.txt End Finish 0
delete foobar
[Endtest]

[Test]
title LaunchDocAsync2
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchDoc 1 NULL Document Map DocumentPath UnicodeString c:\data\Hello.txt End Finish 1002
delete foobar
[Endtest]

[Test]
title LaunchDocAsync2
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchDoc 0 cb Document Map DocumentPath UnicodeString c:\data\Hello.txt End Finish 1002
delete foobar
[Endtest]

[Test]
title LaunchDocLeavingCallBack
create tappmanprovidernegativetest foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.AppManager IAppManager LaunchDoc 1 LeavingCallBack Document Map DocumentPath UnicodeString c:\data\Hello.txt End Finish 0
delete foobar
[Endtest]