1 /* |
|
2 * Copyright (c) 2010 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 "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: |
|
15 * |
|
16 */ |
|
17 |
|
18 [StifSettings] |
|
19 CapsModifier= UsbOtgWatcherTest.exe |
|
20 [EndStifSettings] |
|
21 |
|
22 // UsbOtgWatcherTest Module - total 10 tc |
|
23 |
|
24 // UsbOtgWatcherTest Api Tests (1 tc) |
|
25 |
|
26 [Test] |
|
27 title SetupTearDown |
|
28 create UsbOtgWatcherTest tester |
|
29 tester SetupTearDown API |
|
30 delete tester |
|
31 [Endtest] |
|
32 |
|
33 |
|
34 // Add new api tests here |
|
35 // ... |
|
36 |
|
37 |
|
38 // UsbOtgWatcherTest Module Tests (9 tc) |
|
39 |
|
40 // Add new module tests here |
|
41 // ... |
|
42 |
|
43 [Test] |
|
44 title PinOnTest_Success |
|
45 create UsbOtgWatcherTest tester |
|
46 tester PinOnTest_Success MODULE |
|
47 delete tester |
|
48 [Endtest] |
|
49 |
|
50 |
|
51 [Test] |
|
52 title PinOffTest_Success |
|
53 create UsbOtgWatcherTest tester |
|
54 tester PinOffTest_Success MODULE |
|
55 delete tester |
|
56 [Endtest] |
|
57 |
|
58 [Test] |
|
59 title PinOnTest_EmptyCable |
|
60 create UsbOtgWatcherTest tester |
|
61 tester PinOnTest_EmptyCable MODULE |
|
62 delete tester |
|
63 [Endtest] |
|
64 |
|
65 [Test] |
|
66 title PinOnTest_TryStartError |
|
67 create UsbOtgWatcherTest tester |
|
68 tester PinOnTest_TryStartError MODULE |
|
69 delete tester |
|
70 [Endtest] |
|
71 |
|
72 [Test] |
|
73 title PinOnTest_BusRequestError |
|
74 create UsbOtgWatcherTest tester |
|
75 tester PinOnTest_BusRequestError MODULE |
|
76 delete tester |
|
77 [Endtest] |
|
78 |
|
79 [Test] |
|
80 title DeviceAttached_BadHubPostion |
|
81 create UsbOtgWatcherTest tester |
|
82 tester DeviceAttached_BadHubPostion MODULE |
|
83 delete tester |
|
84 [Endtest] |
|
85 |
|
86 [Test] |
|
87 title DeviceAttached_TooMuchRequired |
|
88 create UsbOtgWatcherTest tester |
|
89 tester DeviceAttached_TooMuchRequired MODULE |
|
90 delete tester |
|
91 [Endtest] |
|
92 |
|
93 [Test] |
|
94 title DeviceAttached_SupportedDevice |
|
95 create UsbOtgWatcherTest tester |
|
96 tester DeviceAttached_SupportedDevice MODULE |
|
97 delete tester |
|
98 [Endtest] |
|
99 |
|
100 [Test] |
|
101 title DeviceDetached_SupportedDevice |
|
102 create UsbOtgWatcherTest tester |
|
103 tester DeviceDetached_SupportedDevice MODULE |
|
104 delete tester |
|
105 [Endtest] |
|
106 |
|
107 |
|
108 |
|
109 // UsbOtgWatcherTest Branch Tests (... tc) |
|
110 |
|
111 // Add new branch tests here |
|
112 // ... |
|