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: Monitor Plugin API tests |
|
15 # |
|
16 |
|
17 // --------------------------------------------------------------------------- |
|
18 // Monitor 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 Monitor Plugin Startup Shutdown |
|
32 timeout 60000 |
|
33 create MonitorPluginTest test |
|
34 request Session |
|
35 test BeginMonitorSession |
|
36 wait Session |
|
37 test LoadPlugins |
|
38 test StartMonitoring |
|
39 test ActiveWait |
|
40 test StopMonitoring |
|
41 test EndMonitorSession |
|
42 delete test |
|
43 [Endtest] |
|
44 |
|
45 [Test] |
|
46 title Monitor Plugin Events |
|
47 timeout 60000 |
|
48 create MonitorPluginTest test |
|
49 request Session |
|
50 test BeginMonitorSession |
|
51 wait Session |
|
52 test LoadPlugins |
|
53 test StartMonitoring |
|
54 request Monitor |
|
55 test CreateEvents |
|
56 test CreateEventsDelete |
|
57 wait Monitor |
|
58 test StopMonitoring |
|
59 test EndMonitorSession |
|
60 delete test |
|
61 [Endtest] |
|
62 |
|
63 [Test] |
|
64 title Monitor Events Pause Resume |
|
65 timeout 60000 |
|
66 create MonitorPluginTest test |
|
67 request Session |
|
68 test BeginMonitorSession |
|
69 wait Session |
|
70 test LoadPlugins |
|
71 test StartMonitoring |
|
72 test CreateEvents |
|
73 test PauseMonitoring |
|
74 test ActiveWait |
|
75 test ResumeMonitoring |
|
76 test ActiveWait |
|
77 test ActiveWait |
|
78 test StopMonitoring |
|
79 test EndMonitorSession |
|
80 delete test |
|
81 [Endtest] |
|