sapi_applicationmanager/tsrc/testing/tappmgrtest/conf/tappmgrtest.cfg
changeset 0 14df0fbfcc4e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sapi_applicationmanager/tsrc/testing/tappmgrtest/conf/tappmgrtest.cfg	Mon Mar 30 12:51:10 2009 +0300
@@ -0,0 +1,231 @@
+/*  ===========================================================================
+ *  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 tappmgrtest foobar
+foobar getlisttest  Application NULL NULL	0 TempAll 0
+delete foobar
+[Endtest]
+
+//----------------------------------------------------------------------
+[Test]
+title Get_MimeType_gif
+create tappmgrtest foobar
+foobar getlisttest  Application NULL image/gif	0 Temp1 0
+delete foobar
+[Endtest]
+
+//---------------------------------------------------------------------
+[Test]
+title Get_applicationtype_3gp
+create tappmgrtest foobar
+foobar getlisttest  Application NULL video/3gpp	0 Temp2 0
+delete foobar
+[Endtest]
+
+[Test]
+title Get_Application_Txt
+create tappmgrtest foobar
+foobar getlisttest Application c:\data\test.txt	NULL 0 Temp3 0
+delete foobar
+[Endtest]
+
+
+//-----------------------------------------------------------------------
+[Test]
+title Get_Document_Handler
+create tappmgrtest foobar
+foobar getlisttest Application c:\data\test.txt	NULL 0 Temp 0
+delete foobar
+[Endtest]
+
+//-------------------------------------------------------------------------
+[Test]
+title LaunchApp_Image_viewer
+create tappmgrtest foobar
+foobar launchApp s60uid: 0x101f4d90 NULL NULL NULL NULL NULL 0
+delete foobar
+[Endtest]
+
+
+----------------------------------------------------------------
+[Test]
+title LaunchApp_Real_Player_Neagtive
+create tappmgrtest foobar
+foobar launchApp s60uid: 10005a3e NULL  NULL NULL NULL NULL -1
+delete foobar
+[Endtest]
+
+----------------------------------------------------------------
+[Test]
+title LaunchApp_JarFile
+create tappmgrtest foobar
+foobar launchJar s60uid: SpruceTennis NULL  NULL NULL NULL NULL 0
+delete foobar
+[Endtest]
+
+
+
+
+----------------------------------------------------------------
+[Test]
+title LaunchApp_CancellaunchAppL_1
+create tappmgrtest foobar
+// scheme uid commmandline doc mode postion callback expected 
+foobar CancellaunchAppL s60uid: 0x101f4d90 NULL  NULL NULL NULL Callback 0
+delete foobar
+[Endtest]
+
+----------------------------------------------------------------
+
+[Test]
+title LaunchApp_CancellaunchAppL_2
+create tappmgrtest foobar
+// scheme uid commmandline doc mode postion callback expected 
+foobar CancellaunchAppL s60uid: 0x100058c5 NULL  NULL NULL NULL Callback 0
+delete foobar
+[Endtest]
+
+
+
+----------------------------------------------------------------
+[Test]
+title LaunchApp_Recorder_Positive
+create tappmgrtest foobar
+foobar launchApp s60uid: 0x100058ca NULL  NULL NULL NULL NULL 0
+delete foobar
+[Endtest]
+
+//-----------------------------------------------------------------
+[Test]
+title LaunchApp_Messaging
+create tappmgrtest foobar
+foobar launchApp s60uid: 0x100058c5 NULL  NULL NULL NULL NULL 0
+delete foobar
+[Endtest]
+
+
+[Test]
+title LaunchDoc_Path_Chained_Neg
+create tappmgrtest foobar
+//path    handle  MimeType mode callback expectedresult
+foobar launchDoc c:\Data\Images\sapi.jpg  NULL Callback Chained  NULL  -1
+delete foobar
+[Endtest]
+
+
+[Test]
+title LaunchDoc_Path_stand_alone
+create tappmgrtest 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 tappmgrtest 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 tappmgrtest 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 tappmgrtest 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 tappmgrtest 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 tappmgrtest 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 tappmgrtest 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 tappmgrtest foobar
+foobar getlisttest UserInstalledPackage  NULL NULL 0 Temp 0
+delete foobar
+[Endtest]
+
+
+[Test]
+title Get_List_NeagativeIndex
+create tappmgrtest foobar
+foobar getlistnegativetestL Application  NULL NULL Index
+delete foobar
+[Endtest]
+
+
+[Test]
+title Get_List_NeagativeIndex4
+create tappmgrtest foobar
+foobar getlistnegativetestL Application  NULL NULL Index 4
+delete foobar
+[Endtest]
+
+[Test]
+title Get_List_NeagativeIndex
+create tappmgrtest foobar
+foobar getlistnegativetestL Application  NULL NULL Index 0
+delete foobar
+[Endtest]
+
+[Test]
+title Get_List_NeagativeReset
+create tappmgrtest foobar
+foobar getlistnegativetestL Application  NULL NULL Reset 0
+delete foobar
+[Endtest]
+
+[Test]
+title Get_List_NeagativeKey
+create tappmgrtest foobar
+foobar getlistnegativetestL Application  NULL NULL Key  0
+delete foobar
+[Endtest]
\ No newline at end of file