--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sapi_applicationmanager/tsrc/dev/tappmanagertest/conf/tappmanagertest.cfg Mon Mar 30 12:51:10 2009 +0300
@@ -0,0 +1,192 @@
+/* ===========================================================================
+ * 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_MimeType_Handler
+create tappmanagertest foobar
+foobar getlisttest Application NULL audio/mpeg 0 Hanlder_MIME 0
+delete foobar
+[Endtest]
+
+[Test]
+title Get_Document_Handler
+create tappmanagertest foobar
+foobar getlisttest Application c:\data\Hello.txt NULL 0 Handler_Doc 0
+delete foobar
+[Endtest]
+
+[Test]
+title Get_ApplicationList
+create tappmanagertest foobar
+foobar getlisttest Application NULL NULL 0 Application 0
+delete foobar
+[Endtest]
+
+[Test]
+title Get_PackageList
+create tappmanagertest foobar
+foobar getlisttest UserInstalledPackage NULL NULL 0 InstalledPackage 0
+delete foobar
+[Endtest]
+
+[Test]
+title LaunchApp_correctUId_synch
+create tappmanagertest foobar
+//scheme uid commandline doc mode postion callback expectedresult
+foobar launchApp s60uid: 0x101f4d90 NULL NULL NULL NULL NULL 0
+delete foobar
+[Endtest]
+
+[Test]
+title LaunchApp_IncorrectUId1
+create tappmanagertest foobar
+foobar launchApp uid: 0x101f4d90 NULL NULL NULL NULL NULL -1
+delete foobar
+[Endtest]
+
+[Test]
+title LaunchApp_IncorrectUId2
+create tappmanagertest foobar
+foobar launchApp uid: 101f4d90 NULL NULL NULL NULL NULL -1
+delete foobar
+[Endtest]
+
+[Test]
+title LaunchApp_InorrectUId3
+create tappmanagertest foobar
+foobar launchApp s60uid: 0x10100d90 NULL NULL NULL NULL NULL -1
+delete foobar
+[Endtest]
+
+[Test]
+title LaunchApp_Image_commandline_synch
+create tappmanagertest foobar
+//scheme uid commandline doc mode postion callback expectedresult
+foobar launchApp s60uid: 0x101f4d90 c:\Data\Images\AppTest1.jpg NULL NULL NULL NULL 0
+delete foobar
+[Endtest]
+
+
+[Test]
+title LaunchApp_Image_Document_synch
+create tappmanagertest foobar
+//scheme uid commandline doc mode postion callback expectedresult
+foobar launchApp s60uid: 0x101f4d90 NULL c:\Data\Images\AppTest2.jpg NULL NULL NULL 0
+delete foobar
+[Endtest]
+
+
+[Test]
+title LaunchApp_ChainedMode_synch
+create tappmanagertest foobar
+//scheme uid commandline doc mode postion callback expectedresult
+foobar launchApp s60uid: 0x101f4d90 NULL c:\Data\Images\AppTest3.jpg Chained NULL NULL -1
+delete foobar
+[Endtest]
+
+
+[Test]
+title LaunchApp_Background_Manual
+create tappmanagertest foobar
+//scheme uid commandline doc mode postion callback expectedresult
+foobar launchApp s60uid: 0x101f4d90 NULL c:\Data\Images\AppTest4.jpg NULL BackGround NULL 0
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title LaunchApp_Background_Chained
+create tappmanagertest foobar
+//scheme uid commandline doc mode postion callback expectedresult
+foobar launchApp s60uid: 0x101f4d90 NULL c:\Data\Images\AppTest5.jpg Chained BackGround NULL -1
+delete foobar
+[Endtest]
+
+[Test]
+title LaunchDoc_Path
+create tappmanagertest foobar
+//path handle MimeType mode callback expectedresult
+foobar launchDoc c:\Data\Images\AppTest6.jpg NULL NULL NULL NULL 0
+delete foobar
+[Endtest]
+
+
+[Test]
+title LaunchDoc_IncorrectPath1
+create tappmanagertest foobar
+//path handle MimeType mode callback expectedresult
+foobar launchDoc c:\Data\Images\AppTest1.xxx NULL NULL NULL NULL -1
+delete foobar
+[Endtest]
+
+
+[Test]
+title LaunchDoc_IncorrectPath2
+create tappmanagertest foobar
+//path handle MimeType mode callback expectedresult
+foobar launchDoc c:\Data\Test1.jpg NULL NULL NULL NULL -1
+delete foobar
+[Endtest]
+
+[Test]
+title LaunchDoc_Handle
+create tappmanagertest foobar
+//path handle MimeType mode callback expectedresult
+foobar launchDoc NULL c:\Data\Images\AppTest7.jpg NULL NULL NULL 0
+delete foobar
+[Endtest]
+
+[Test]
+title LaunchDoc_Path_Chained
+create tappmanagertest foobar
+//path handle MimeType mode callback expectedresult
+foobar launchDoc c:\Data\Images\AppTest8.jpg NULL NULL Chained NULL -1
+delete foobar
+[Endtest]
+
+[Test]
+title LaunchDoc_MIMEType
+create tappmanagertest foobar
+//path handle MimeType mode callback expectedresult
+foobar launchDoc NULL NULL image/jpeg NULL NULL 0
+delete foobar
+[Endtest]
+
+
+[Test]
+title LaunchDoc_NoInput
+create tappmanagertest foobar
+//path handle MimeType mode callback expectedresult
+foobar launchDoc NULL NULL NULL NULL NULL -1
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Get_ApplicationList_Postive
+create tappmanagertest foobar
+//content Document MimeType ExpectedResult FileName NoOfUids
+foobar getlisttest Application NULL NULL 0 Result3 2 0x100059ef 0x10005955
+delete foobar
+[Endtest]
+
+[Test]
+title Get_ApplicationList_Negative
+create tappmanagertest foobar
+//content Document MimeType ExpectedResult FileName NoOfUids
+foobar getlisttest Application NULL NULL -1 Result3 3 0x100059ef 0x10005955 0x11111111
+delete foobar
+[Endtest]
+