mds_plat/context_engine_plugin_api/tsrc/conf/ContextEnginePluginTest.cfg
changeset 0 c53acadfccc6
equal deleted inserted replaced
-1:000000000000 0:c53acadfccc6
       
     1 #
       
     2 # Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of the License "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 #
       
    14 # Description:  Context Engine Plugin API tests
       
    15 #
       
    16 
       
    17 // ---------------------------------------------------------------------------
       
    18 // Context Engine Plugin API test cases
       
    19 // ---------------------------------------------------------------------------
       
    20 
       
    21 // These should be run in sequential mode if several cases are run at the same
       
    22 // time!
       
    23 
       
    24 [StifSettings]
       
    25 TestThreadStackSize= 32768
       
    26 TestThreadMinHeap= 4096
       
    27 TestThreadMaxHeap= 16777216
       
    28 [EndStifSettings]
       
    29 
       
    30 [Test]
       
    31 title Get ContextEngine instance with observer
       
    32 create ContextEnginePluginTest test
       
    33 request Session
       
    34 test BeginTestSession
       
    35 wait Session
       
    36 request Init
       
    37 test CreateContextEngineWithObserver
       
    38 wait Init
       
    39 test EndTestSession
       
    40 delete test
       
    41 [Endtest]
       
    42 
       
    43 [Test]
       
    44 title Get ContextEngine instance without observer
       
    45 create ContextEnginePluginTest test
       
    46 request Session
       
    47 test BeginTestSession
       
    48 wait Session
       
    49 test CreateContextEngineWithoutObserver
       
    50 test EndTestSession
       
    51 delete test
       
    52 [Endtest]
       
    53 
       
    54 [Test]
       
    55 title Release ContextEngine instance
       
    56 create ContextEnginePluginTest test
       
    57 request Session
       
    58 test BeginTestSession
       
    59 wait Session
       
    60 test CreateContextEngineWithoutObserver
       
    61 test ReleaseContextEngineInstance
       
    62 test EndTestSession
       
    63 delete test
       
    64 [Endtest]
       
    65 
       
    66 [Test]
       
    67 title Set MdE session test
       
    68 create ContextEnginePluginTest test
       
    69 request Session
       
    70 test BeginTestSession
       
    71 wait Session
       
    72 request Init
       
    73 test SetMdESessionTest
       
    74 wait Init
       
    75 test EndTestSession
       
    76 delete test
       
    77 [Endtest]
       
    78 
       
    79 [Test]
       
    80 title Context Engine Snapshots
       
    81 create ContextEnginePluginTest test
       
    82 request Session
       
    83 test BeginTestSession
       
    84 wait Session
       
    85 test CreateObjects 3 e:\testing\data\Jpg.jpg e:\testing\data\Animated.gif e:\testing\data\H263.3gp
       
    86 request Init
       
    87 test CreateContextEngineWithObserver
       
    88 wait Init
       
    89 request Snapshot
       
    90 test ContextSnapshots engine
       
    91 wait Snapshot
       
    92 wait Snapshot
       
    93 wait Snapshot
       
    94 wait Snapshot
       
    95 wait Snapshot
       
    96 wait Snapshot
       
    97 wait Snapshot
       
    98 wait Snapshot
       
    99 wait Snapshot
       
   100 test DeleteObjects
       
   101 test EndTestSession
       
   102 delete test
       
   103 [Endtest]
       
   104 
       
   105 [Test]
       
   106 title Context Engine Multiple Snapshots
       
   107 create ContextEnginePluginTest test
       
   108 request Session
       
   109 test BeginTestSession
       
   110 wait Session
       
   111 test CreateObjects 3 e:\testing\data\Jpg.jpg e:\testing\data\Animated.gif e:\testing\data\H263.3gp
       
   112 request Init
       
   113 test CreateContextEngineWithObserver
       
   114 wait Init
       
   115 request Snapshot
       
   116 test MultipleSnapshots engine
       
   117 wait Snapshot
       
   118 wait Snapshot
       
   119 test DeleteObjects
       
   120 test EndTestSession
       
   121 delete test
       
   122 [Endtest]
       
   123 
       
   124 [Test]
       
   125 title Context Engine Plugin Count
       
   126 create ContextEnginePluginTest test
       
   127 request Session
       
   128 test BeginTestSession
       
   129 wait Session
       
   130 request Init
       
   131 test CreateContextEngineWithObserver
       
   132 wait Init
       
   133 test PluginCount
       
   134 test EndTestSession
       
   135 delete test
       
   136 [Endtest]
       
   137 
       
   138 [Test]
       
   139 title Context Engine Static Data
       
   140 create ContextEnginePluginTest test
       
   141 request Session
       
   142 test BeginTestSession
       
   143 wait Session
       
   144 test CreateContextEngineWithoutObserver
       
   145 test ContextEngineStaticData
       
   146 test EndTestSession
       
   147 delete test
       
   148 [Endtest]
       
   149 
       
   150 [Test]
       
   151 title Context Plugin Startup/Shutdown
       
   152 create ContextEnginePluginTest test
       
   153 request Session
       
   154 test BeginTestSession
       
   155 wait Session
       
   156 request Init
       
   157 test LoadPlugin
       
   158 wait Init
       
   159 test EndTestSession
       
   160 delete test
       
   161 [Endtest]
       
   162 
       
   163 [Test]
       
   164 title Context Plugin Snapshots
       
   165 create ContextEnginePluginTest test
       
   166 request Session
       
   167 test BeginTestSession
       
   168 wait Session
       
   169 test CreateObjects 3 e:\testing\data\Jpg.jpg e:\testing\data\Animated.gif e:\testing\data\H263.3gp
       
   170 request Init
       
   171 test LoadPlugin
       
   172 wait Init
       
   173 test ContextSnapshots plugin
       
   174 test DeleteObjects
       
   175 test EndTestSession
       
   176 delete test
       
   177 [Endtest]
       
   178 
       
   179 [Test]
       
   180 title Context Plugin Array Snapshots
       
   181 create ContextEnginePluginTest test
       
   182 request Session
       
   183 test BeginTestSession
       
   184 wait Session
       
   185 test CreateObjects 3 e:\testing\data\Jpg.jpg e:\testing\data\Animated.gif e:\testing\data\H263.3gp
       
   186 request Init
       
   187 test LoadPlugin
       
   188 wait Init
       
   189 test MultipleSnapshots plugin
       
   190 test DeleteObjects
       
   191 test EndTestSession
       
   192 delete test
       
   193 [Endtest]
       
   194 
       
   195 [Test]
       
   196 title Context Engine Destroy
       
   197 create ContextEnginePluginTest test
       
   198 request Session
       
   199 test BeginTestSession
       
   200 wait Session
       
   201 request Init
       
   202 test CreateContextEngineWithObserver
       
   203 wait Init
       
   204 test Destroy
       
   205 test EndTestSession
       
   206 delete test
       
   207 [Endtest]