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: Composer Plugin API tests |
|
15 # |
|
16 |
|
17 // --------------------------------------------------------------------------- |
|
18 // Composer 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 Startup and Shutdown |
|
32 create ComposerPluginTest test |
|
33 request Session |
|
34 test BeginComposerSession |
|
35 wait Session |
|
36 test LoadPlugins |
|
37 test SetSessions |
|
38 test ActiveWait |
|
39 test RemoveSessions |
|
40 test EndComposerSession |
|
41 delete test |
|
42 [Endtest] |
|
43 |
|
44 [Test] |
|
45 title Modify Object 1 |
|
46 create ComposerPluginTest test |
|
47 request Session |
|
48 test BeginComposerSession |
|
49 wait Session |
|
50 test LoadPlugins |
|
51 test SetSessions |
|
52 test ModifyObjects 1 e:\testing\data\Jpg.jpg |
|
53 test WaitComposingComplete |
|
54 test DeleteObject e:\testing\data\Jpg.jpg |
|
55 test RemoveSessions |
|
56 test EndComposerSession |
|
57 delete test |
|
58 [Endtest] |
|
59 |
|
60 [Test] |
|
61 title Modify Object 2 |
|
62 create ComposerPluginTest test |
|
63 request Session |
|
64 test BeginComposerSession |
|
65 wait Session |
|
66 test LoadPlugins |
|
67 test SetSessions |
|
68 test ModifyObjects 1 e:\testing\data\Animated.gif |
|
69 test WaitComposingComplete |
|
70 test DeleteObject e:\testing\data\Animated.gif |
|
71 test RemoveSessions |
|
72 test EndComposerSession |
|
73 delete test |
|
74 [Endtest] |
|
75 |
|
76 [Test] |
|
77 title Modify Object 3 |
|
78 create ComposerPluginTest test |
|
79 request Session |
|
80 test BeginComposerSession |
|
81 wait Session |
|
82 test LoadPlugins |
|
83 test SetSessions |
|
84 test ModifyObjects 1 e:\testing\data\H263.3gp |
|
85 test WaitComposingComplete |
|
86 test DeleteObject e:\testing\data\H263.3gp |
|
87 test RemoveSessions |
|
88 test EndComposerSession |
|
89 delete test |
|
90 [Endtest] |
|
91 |
|
92 [Test] |
|
93 title Modify Object 4 |
|
94 create ComposerPluginTest test |
|
95 request Session |
|
96 test BeginComposerSession |
|
97 wait Session |
|
98 test LoadPlugins |
|
99 test SetSessions |
|
100 test ModifyObjects 1 e:\testing\data\Wtf.wtf |
|
101 test WaitComposingComplete |
|
102 test DeleteObject e:\testing\data\Wtf.wtf |
|
103 test RemoveSessions |
|
104 test EndComposerSession |
|
105 delete test |
|
106 [Endtest] |
|
107 |
|
108 [Test] |
|
109 title Modify Multiple Objects |
|
110 create ComposerPluginTest test |
|
111 request Session |
|
112 test BeginComposerSession |
|
113 wait Session |
|
114 test LoadPlugins |
|
115 test SetSessions |
|
116 test ModifyObjects 100 |
|
117 test WaitComposingComplete |
|
118 test DeleteObjects 100 |
|
119 test RemoveSessions |
|
120 test EndComposerSession |
|
121 delete test |
|
122 [Endtest] |
|