diff -r 000000000000 -r 14df0fbfcc4e sapi_applicationmanager/tsrc/testing/tappmgrprovider/conf/tappmgrprovider.cfg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sapi_applicationmanager/tsrc/testing/tappmgrprovider/conf/tappmgrprovider.cfg Mon Mar 30 12:51:10 2009 +0300 @@ -0,0 +1,178 @@ +/* =========================================================================== + * 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 Get_ALL_Application +create tappmgrprovider foobar +foobar getlisttest Application NULL NULL 0 TempAll 0 +delete foobar +[Endtest] + +//---------------------------------------------------------------------- +[Test] +title Get_MimeType_gif +create tappmgrprovider foobar +foobar getlisttest Application NULL image/gif 0 Temp1 0 +delete foobar +[Endtest] + +//--------------------------------------------------------------------- +[Test] +title Get_applicationtype_3gp +create tappmgrprovider foobar +foobar getlisttest Application NULL video/3gpp 0 Temp2 0 +delete foobar +[Endtest] + +[Test] +title Get_Application_Txt +create tappmgrprovider foobar +foobar getlisttest Application c:\data\test.txt NULL 0 Temp3 0 +delete foobar +[Endtest] + + +//----------------------------------------------------------------------- +[Test] +title Get_Document_Handler +create tappmgrprovider foobar +foobar getlisttest Application c:\data\test.txt NULL 0 Temp 0 +delete foobar +[Endtest] + +//------------------------------------------------------------------------- +[Test] +title LaunchApp_Image_viewer +create tappmgrprovider foobar +foobar launchApp s60uid: 0x101f4d90 NULL NULL NULL NULL NULL 0 +delete foobar +[Endtest] + + +---------------------------------------------------------------- +[Test] +title LaunchApp_Real_Player_Neagtive +create tappmgrprovider foobar +foobar launchApp s60uid: 10005a3e NULL NULL NULL NULL NULL -1 +delete foobar +[Endtest] + +---------------------------------------------------------------- +[Test] +title LaunchApp_JarFile_Negative +create tappmgrprovider foobar +foobar launchApp s60uid: 0x10137302 NULL NULL NULL NULL NULL -1 +delete foobar +[Endtest] +---------------------------------------------------------------- +[Test] +title LaunchApp_Recorder_Positive +create tappmgrprovider foobar +foobar launchApp s60uid: 0x100058ca NULL NULL NULL NULL NULL 0 +delete foobar +[Endtest] + +//----------------------------------------------------------------- +[Test] +title LaunchApp_Messaging +create tappmgrprovider foobar +foobar launchApp s60uid: 0x100058c5 NULL NULL NULL NULL NULL 0 +delete foobar +[Endtest] + + +[Test] +title LaunchDoc_Path_Chained_Neg +create tappmgrprovider foobar +//path handle MimeType mode callback expectedresult +foobar launchDoc c:\Data\Images\sapi.jpg NULL NULL Chained NULL -1 +delete foobar +[Endtest] + + +[Test] +title LaunchDoc_Path_stand_alone +create tappmgrprovider foobar +//path handle MimeType mode callback expectedresult +foobar launchDoc c:\Data\Images\pict.jpg NULL NULL NULL NULL 0 +delete foobar +[Endtest] + +[Test] +title LaunchDoc_Path_bmp_Negative +create tappmgrprovider foobar +foobar launchDoc c:\Data\Images\test1.bmp NULL NULL NULL NULL -1 +delete foobar +[Endtest] + +// ---------------Automates Test cases ========================================== +[Test] +title Get_ApplicationList_Postive +create tappmgrprovider foobar +//content Document MimeType ExpectedResult FileName NoOfUids +foobar getlisttest Application NULL NULL 0 Result3 3 0x10005901 0x10008d39 0x101f8512 +delete foobar +[Endtest] + + +[Test] +title Get_ApplicationList_Negative +create tappmgrprovider foobar +//content Document MimeType ExpectedResult FileName NoOfUids(output) +foobar getlisttest Application NULL NULL -1 temp 3 0x10005a3e 0x10005955 0x11111111 +delete foobar +[Endtest] + +[Test] +title Get_Application_Browser_AppMgr +create tappmgrprovider foobar +//content Document MimeType ExpectedResult FileName NoOfUids(output)_ +foobar getlisttest Application NULL NULL 0 temp 2 0x10008d39 0x101f8512 +delete foobar +[Endtest] + +[Test] +title Get_Application_MediaP_Messaging +create tappmgrprovider foobar +//content Document MimeType ExpectedResult FileName NoOfUids(output)_ +foobar getlisttest Application NULL NULL 0 temp 2 0x10008d39 0x101f8512 +delete foobar +[Endtest] + +[Test] +title Get_Application_Calendar +create tappmgrprovider foobar +//content Document MimeType ExpectedResult FileName NoOfUids(output)_ +foobar getlisttest Application NULL NULL 0 temp 1 0x10005901 +delete foobar +[Endtest] + + +[Test] +title Get_PackageList +create tappmgrprovider foobar +foobar getlisttest UserInstalledPackage NULL NULL 0 Temp 0 +delete foobar +[Endtest] + + + +[Test] +title LaunchDoc_Cancel +create tappmgrprovider foobar +//path handle MimeType mode callback expectedresult +foobar cancellaunchDoc c:\Data\Images\vista2.jpg NULL NULL NULL callback 0 +delete foobar +[Endtest]