62
|
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 |
|
|
19 |
#if defined(__S60_)
|
|
20 |
// To get the MW_LAYER_SYSTEMINCLUDE-definition
|
|
21 |
#include <platform_paths.hrh>
|
|
22 |
#endif
|
|
23 |
|
|
24 |
TARGET UsbOtgWatcherTest.dll
|
|
25 |
TARGETTYPE dll
|
|
26 |
UID 0x1000008D 0x101FB3E3
|
|
27 |
|
|
28 |
CAPABILITY ALL -TCB
|
|
29 |
//CAPABILITY LocalServices ReadDeviceData NetworkControl WriteDeviceData DiskAdmin ReadUserData WriteUserData ProtServ CommDD
|
|
30 |
//CAPABILITY CommDD NetworkControl WriteDeviceData NetworkServices LocalServices ProtServ
|
|
31 |
VENDORID VID_DEFAULT
|
|
32 |
|
|
33 |
DEFFILE UsbOtgWatcherTest.def
|
|
34 |
|
|
35 |
MW_LAYER_SYSTEMINCLUDE
|
|
36 |
MACRO STIF_STUB
|
|
37 |
MACRO STIF
|
|
38 |
|
|
39 |
//includes for stubbing
|
|
40 |
SYSTEMINCLUDE /epoc32/include/mw/stubsrv/
|
|
41 |
SYSTEMINCLUDE /epoc32/include/mw/taf/
|
|
42 |
|
|
43 |
USERINCLUDE ../inc
|
|
44 |
SOURCEPATH ../src
|
|
45 |
|
|
46 |
SOURCE UsbOtgWatcherTest.cpp
|
|
47 |
SOURCE UsbOtgWatcherTestBlocks.cpp
|
|
48 |
|
|
49 |
// Mock classes (used for emulation of real ones)
|
|
50 |
SOURCE mockcusbidpinobserver.cpp
|
|
51 |
SOURCE mockcusbvbusobserver.cpp
|
|
52 |
SOURCE mockcusbotgstateobserver.cpp
|
|
53 |
SOURCE mockcusbhosteventnotificationobserver.cpp
|
|
54 |
SOURCE mockcusbmessagenotificationobserver.cpp
|
|
55 |
SOURCE mockcusbbusactivityobserver.cpp
|
|
56 |
SOURCE mockrusb.cpp
|
|
57 |
SOURCE mockcusbtimer.cpp
|
|
58 |
SOURCE mockcusbnotifmanager.cpp
|
|
59 |
SOURCE mockchbindicatorsymbian.cpp
|
|
60 |
|
|
61 |
// real classes to be tested
|
|
62 |
SOURCEPATH ../../../src
|
|
63 |
USERINCLUDE ../../../inc
|
|
64 |
|
|
65 |
SOURCE cusbotgwatcher.cpp
|
|
66 |
SOURCE cusbstate.cpp
|
|
67 |
SOURCE cusbstatehostabase.cpp
|
|
68 |
SOURCE cusbstatehostainitiate.cpp
|
|
69 |
SOURCE cusbstatehostahost.cpp
|
|
70 |
SOURCE cusbstatehostaperipheral.cpp
|
|
71 |
SOURCE cusbstatehosthandle.cpp
|
|
72 |
SOURCE cusbservicecontrol.cpp
|
|
73 |
SOURCE cusbnotifier.cpp
|
|
74 |
SOURCE cusbwarningnotifier.cpp
|
|
75 |
SOURCE CUsbNoteNotifier.cpp
|
|
76 |
SOURCE CUsbStateHostHandleDropping.cpp
|
|
77 |
SOURCE CUsbStateHostDelayNotAttachedHandle.cpp
|
|
78 |
SOURCE CUsbStateHostDelayAttachedHandle.cpp
|
|
79 |
SOURCE CUsbStateHostUndefined.cpp
|
|
80 |
SOURCE cusbstatehostdelayhandle.cpp
|
|
81 |
SOURCE cusbindicatornotifier.cpp
|
|
82 |
|
|
83 |
|
|
84 |
|
|
85 |
|
|
86 |
//standart lib for stif testing
|
|
87 |
LIBRARY euser.lib
|
87
|
88 |
LIBRARY StifTestInterface.lib
|
62
|
89 |
LIBRARY stiftestengine.lib
|
|
90 |
|
|
91 |
//lib for stubbing
|
|
92 |
LIBRARY apibehavior.lib
|
|
93 |
LIBRARY stubber.lib
|
|
94 |
|
|
95 |
//lib for component testing
|
|
96 |
LIBRARY usbdescriptors.lib
|
|
97 |
LIBRARY usbdi_utils.lib
|
|
98 |
LIBRARY aknnotify.lib
|
|
99 |
|
|
100 |
LANG SC
|
|
101 |
|
|
102 |
|
|
103 |
|
|
104 |
// End of File
|