serviceproviders/sapi_applicationmanager/tsrc/dev/tappmanagertest/conf/tappmanagertest.cfg
changeset 19 989d2f495d90
child 56 c210248fa89d
equal deleted inserted replaced
14:a36b1e19a461 19:989d2f495d90
       
     1 /*  ===========================================================================
       
     2  *  Copyright © 2006-2007 Nokia Corporation.
       
     3  *  This material, including documentation and any related
       
     4  *  computer programs, is protected by copyright controlled by
       
     5  *  Nokia Corporation. All rights are reserved. Copying,
       
     6  *  including reproducing, storing, adapting or translating, any
       
     7  *  or all of this material requires the prior written consent of
       
     8  *  Nokia Corporation. This material also contains confidential
       
     9  *  information which may not be disclosed to others without the
       
    10  *  prior written consent of Nokia Corporation.
       
    11  * ============================================================================
       
    12  */
       
    13 
       
    14 [Test]
       
    15 title Get_MimeType_Handler
       
    16 create tappmanagertest foobar
       
    17 foobar getlisttest Application NULL audio/mpeg  0 Hanlder_MIME 0
       
    18 delete foobar
       
    19 [Endtest]
       
    20 
       
    21 [Test]
       
    22 title Get_Document_Handler
       
    23 create tappmanagertest foobar
       
    24 foobar getlisttest Application c:\data\Hello.txt NULL 0	Handler_Doc 0
       
    25 delete foobar
       
    26 [Endtest]
       
    27 
       
    28 [Test]
       
    29 title Get_ApplicationList
       
    30 create tappmanagertest foobar
       
    31 foobar getlisttest Application NULL	NULL 0 Application 0
       
    32 delete foobar
       
    33 [Endtest]
       
    34 
       
    35 [Test]
       
    36 title Get_PackageList
       
    37 create tappmanagertest foobar
       
    38 foobar getlisttest UserInstalledPackage NULL	NULL 0 InstalledPackage 0
       
    39 delete foobar
       
    40 [Endtest]
       
    41 
       
    42 [Test]
       
    43 title LaunchApp_correctUId_synch
       
    44 create tappmanagertest foobar
       
    45 //scheme uid commandline doc mode postion callback expectedresult
       
    46 foobar launchApp s60uid: 0x101f4d90 NULL NULL NULL NULL NULL 0
       
    47 delete foobar
       
    48 [Endtest]
       
    49 
       
    50 [Test]
       
    51 title LaunchApp_IncorrectUId1
       
    52 create tappmanagertest foobar
       
    53 foobar launchApp uid: 0x101f4d90 NULL NULL NULL NULL NULL -1
       
    54 delete foobar
       
    55 [Endtest]
       
    56 
       
    57 [Test]
       
    58 title LaunchApp_IncorrectUId2
       
    59 create tappmanagertest foobar
       
    60 foobar launchApp uid: 101f4d90 NULL NULL NULL NULL NULL -1
       
    61 delete foobar
       
    62 [Endtest]
       
    63 
       
    64 [Test]
       
    65 title LaunchApp_InorrectUId3
       
    66 create tappmanagertest foobar
       
    67 foobar launchApp s60uid: 0x10100d90 NULL NULL NULL NULL NULL -1
       
    68 delete foobar
       
    69 [Endtest]
       
    70 
       
    71 [Test]
       
    72 title LaunchApp_Image_commandline_synch
       
    73 create tappmanagertest foobar
       
    74 //scheme uid commandline doc mode postion callback expectedresult
       
    75 foobar launchApp s60uid: 0x101f4d90 c:\Data\Images\AppTest1.jpg  NULL NULL NULL NULL 0
       
    76 delete foobar
       
    77 [Endtest]
       
    78 
       
    79 
       
    80 [Test]
       
    81 title LaunchApp_Image_Document_synch
       
    82 create tappmanagertest foobar
       
    83 //scheme uid commandline doc mode postion callback expectedresult
       
    84 foobar launchApp s60uid: 0x101f4d90 NULL  c:\Data\Images\AppTest2.jpg  NULL NULL NULL 0
       
    85 delete foobar
       
    86 [Endtest]
       
    87 
       
    88 
       
    89 [Test]
       
    90 title LaunchApp_ChainedMode_synch
       
    91 create tappmanagertest foobar
       
    92 //scheme uid commandline doc mode postion callback expectedresult
       
    93 foobar launchApp s60uid: 0x101f4d90 NULL  c:\Data\Images\AppTest3.jpg  Chained NULL NULL -1
       
    94 delete foobar
       
    95 [Endtest]
       
    96 
       
    97 
       
    98 [Test]
       
    99 title LaunchApp_Background_Manual
       
   100 create tappmanagertest foobar
       
   101 //scheme uid commandline doc mode postion callback expectedresult
       
   102 foobar launchApp s60uid: 0x101f4d90 NULL  c:\Data\Images\AppTest4.jpg  NULL BackGround NULL 0
       
   103 delete foobar
       
   104 [Endtest]
       
   105 
       
   106 
       
   107 
       
   108 [Test]
       
   109 title LaunchApp_Background_Chained
       
   110 create tappmanagertest foobar
       
   111 //scheme uid commandline doc mode postion callback expectedresult
       
   112 foobar launchApp s60uid: 0x101f4d90 NULL  c:\Data\Images\AppTest5.jpg  Chained BackGround NULL -1
       
   113 delete foobar
       
   114 [Endtest]
       
   115 
       
   116 [Test]
       
   117 title LaunchDoc_Path
       
   118 create tappmanagertest foobar
       
   119 //path handle MimeType mode callback expectedresult
       
   120 foobar launchDoc c:\Data\Images\AppTest6.jpg  NULL NULL NULL NULL  0
       
   121 delete foobar
       
   122 [Endtest]
       
   123 
       
   124 
       
   125 [Test]
       
   126 title LaunchDoc_IncorrectPath1
       
   127 create tappmanagertest foobar
       
   128 //path handle MimeType mode callback expectedresult
       
   129 foobar launchDoc c:\Data\Images\AppTest1.xxx  NULL NULL NULL NULL  -1
       
   130 delete foobar
       
   131 [Endtest]
       
   132 
       
   133 
       
   134 [Test]
       
   135 title LaunchDoc_IncorrectPath2
       
   136 create tappmanagertest foobar
       
   137 //path handle MimeType mode callback expectedresult
       
   138 foobar launchDoc c:\Data\Test1.jpg  NULL NULL NULL NULL  -1
       
   139 delete foobar
       
   140 [Endtest]
       
   141 
       
   142 [Test]
       
   143 title LaunchDoc_Handle
       
   144 create tappmanagertest foobar
       
   145 //path handle MimeType mode callback expectedresult
       
   146 foobar launchDoc NULL c:\Data\Images\AppTest7.jpg   NULL NULL NULL  0
       
   147 delete foobar
       
   148 [Endtest]
       
   149 
       
   150 [Test]
       
   151 title LaunchDoc_Path_Chained
       
   152 create tappmanagertest foobar
       
   153 //path handle MimeType mode callback expectedresult
       
   154 foobar launchDoc c:\Data\Images\AppTest8.jpg  NULL NULL Chained  NULL  -1
       
   155 delete foobar
       
   156 [Endtest]
       
   157 
       
   158 [Test]
       
   159 title LaunchDoc_MIMEType
       
   160 create tappmanagertest foobar
       
   161 //path handle MimeType mode callback expectedresult
       
   162 foobar launchDoc NULL NULL  image/jpeg NULL  NULL  0
       
   163 delete foobar
       
   164 [Endtest]
       
   165 
       
   166 
       
   167 [Test]
       
   168 title LaunchDoc_NoInput
       
   169 create tappmanagertest foobar
       
   170 //path handle MimeType mode callback expectedresult
       
   171 foobar launchDoc NULL NULL NULL NULL NULL  -1
       
   172 delete foobar
       
   173 [Endtest]
       
   174 
       
   175 
       
   176 
       
   177 [Test]
       
   178 title Get_ApplicationList_Postive
       
   179 create tappmanagertest foobar
       
   180 //content Document MimeType ExpectedResult FileName NoOfUids
       
   181 foobar getlisttest Application NULL	NULL 0 Result3  2  0x100059ef 0x10005955
       
   182 delete foobar
       
   183 [Endtest]
       
   184 
       
   185 [Test]
       
   186 title Get_ApplicationList_Negative
       
   187 create tappmanagertest foobar
       
   188 //content Document MimeType ExpectedResult FileName NoOfUids
       
   189 foobar getlisttest Application NULL	NULL -1 Result3  3  0x100059ef 0x10005955 0x11111111
       
   190 delete foobar
       
   191 [Endtest]
       
   192