sysstatemgmt/systemstatereferenceplugins/test/tclayer/group/tclayer_server.mmp
changeset 0 4e1aa6a622a0
child 3 a811597961f0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @test
       
    19  @internalComponent - Internal Symbian test code 
       
    20 */
       
    21  
       
    22 
       
    23 TARGET			tclayer_server.exe
       
    24 TARGETTYPE		exe
       
    25 TARGETPATH		/sys/bin
       
    26 UID				0x1000007A 0xA00056EB
       
    27 VENDORID		0x70000001
       
    28 // Use KPSUidStartup as the secure id of this test server to allow P+S keys to be defined
       
    29 SECUREID 		0x101F8766
       
    30 
       
    31 OS_LAYER_SYSTEMINCLUDE_SYMBIAN
       
    32 
       
    33 // testcode
       
    34 USERINCLUDE		../inc
       
    35 USERINCLUDE 	../../../localinc
       
    36 USERINCLUDE		../../../custcmd/inc
       
    37 
       
    38 LIBRARY			euser.lib
       
    39 LIBRARY			efsrv.lib
       
    40 LIBRARY			estor.lib
       
    41 LIBRARY			testexecuteutils.lib 
       
    42 LIBRARY			testexecutelogclient.lib 
       
    43 
       
    44 LIBRARY			ssmcmn.lib
       
    45 LIBRARY			ssmuiproviderdll.lib
       
    46 
       
    47 LIBRARY			etel.lib
       
    48 LIBRARY			etelmm.lib
       
    49 LIBRARY			centralrepository.lib
       
    50 
       
    51 // testcode
       
    52 SOURCEPATH		../src
       
    53 SOURCE			tclayer_server.cpp
       
    54 SOURCE			tclayer_step_startersession.cpp
       
    55 SOURCE			tclayer_step_startupadaptationadapter.cpp
       
    56 SOURCE			tclayer_step_ssmpropertyobserver.cpp
       
    57 SOURCE			tclayer_step_ssmsimstatusobserver.cpp
       
    58 SOURCE			tclayer_step_ssmsecurityeventobserver.cpp
       
    59 
       
    60 #if !defined (TEST_CLAYER)
       
    61 #define TEST_CLAYER
       
    62 MACRO TEST_CLAYER_MACRO
       
    63 #endif
       
    64 
       
    65 
       
    66 /*
       
    67 The following wrapper source files use a slightly complex trick to provide dummy (or wrapper) implementations of external APIs used by 
       
    68 the classes under test.
       
    69 
       
    70 The external APIs used by the classes under test are re-defined in the wrapper .cpp files with a dummy implementation which can have
       
    71 functionality such as the return values etc. varied by the test steps easily.
       
    72 
       
    73 This means that the external APIs symbols are resolved by the linker to the symbols provided in the *wrapper.cpp (or at link time, *wrapper.o)
       
    74 files. This means that there is no need to include the .lib files which provide these external APIs, such as ecom.lib.
       
    75 
       
    76 The case of ssmcmn.lib is handled in a slightly more complex way. As only some of the methods in these .libs
       
    77 needed wrapping for the test, only some of the methods are wrapped. This means that some unresolved symbols are still present after the linker
       
    78 has processed all the .o files. These unresolved symbols are then linked to the fully functional DLL stub implementations in the .lib files.
       
    79 
       
    80 As the wrapped/dummy implementations are present there are no unresolved symbols for them when the .libs are considered by the linker, so the
       
    81 linker doesn't link in the fully functional DLL stub code for them.
       
    82 
       
    83 For further details please see the tool chain documentation, particularily how linking works.    
       
    84 
       
    85 
       
    86 A simple explaination of the above is:
       
    87 --------------------------------------
       
    88 The compiler first looks in .cpp files and then in .lib files for methods/functions.
       
    89 
       
    90 By providing implementations of these methods/functions in the .cpp
       
    91 files the compiler doesn't need to look in the .lib files for the
       
    92 real implementations.
       
    93 
       
    94 */
       
    95 
       
    96 OPTION ARMCC --diag_suppress 2874
       
    97 
       
    98 SOURCE			adaptationcliwrapper.cpp
       
    99 SOURCE			ssmcmnwrapper.cpp
       
   100 SOURCE 			featurediscoverywrapper.cpp
       
   101 SOURCE			ecomsessionwrapper.cpp
       
   102 SOURCE			startupadaptationwrapper.cpp
       
   103 
       
   104 SOURCE			testpropertyobserver.cpp
       
   105 
       
   106 // Source under test
       
   107 
       
   108 USERINCLUDE ../../../clayer/inc
       
   109 
       
   110 SOURCEPATH ../../../clayer/src
       
   111 SOURCE			starterclient.cpp
       
   112 
       
   113 SOURCE			adaptationbase.cpp
       
   114 
       
   115 SOURCE 			saaemergencycallrfadaptation.cpp
       
   116 SOURCE			saamiscadaptation.cpp
       
   117 SOURCE 			saartcadaptation.cpp
       
   118 SOURCE			saasimadaptation.cpp
       
   119 SOURCE			saastateadaptation.cpp
       
   120 
       
   121 SOURCE			emergencycallrfadaptation.cpp
       
   122 SOURCE			miscadaptation.cpp
       
   123 SOURCE			rtcadaptation.cpp
       
   124 SOURCE			simadaptation.cpp
       
   125 SOURCE			stateadaptation.cpp
       
   126 
       
   127 SOURCE			startupadaptationadapter.cpp
       
   128 
       
   129 SOURCE			ssmpropertyobserver.cpp
       
   130 
       
   131 SOURCE			ssmsimstatusobserver.cpp
       
   132 SOURCE			ssmsecurityeventobserver.cpp
       
   133 SOURCE			ssmsecuritynotecontroller.cpp
       
   134 SOURCE			strtsecphaseobserver.cpp
       
   135 SOURCE			strtsecnoterequestqueue.cpp
       
   136 
       
   137 // We test this custom command here as it is closely related to the SIM status observer SUP 
       
   138 SOURCEPATH		../../../custcmd/src
       
   139 SOURCE			cmdpublishsimownedandchanged.cpp		
       
   140 
       
   141 //Needed for security event observer
       
   142 SOURCE			ssmsecuritychecknotifier.cpp
       
   143 
       
   144 SMPSAFE