os/kernelhwsrv/kerneltest/e32test/rm_debug/t_trkdummyapp.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2008-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 the License "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 // Ensure that old insecure Trk debug agent cannot be installed
    15 // as it should be blocked from SWInstall'ing by a trkdummyapp.exe contained within
    16 // the base OS with the same SID as the insecure Trk.
    17 // 
    18 //
    19 
    20 /**
    21 @file
    22 @internalTechnology
    23 @released
    24 */
    25 
    26 #ifndef T_TRKDUMMYAPP_H
    27 #define T_TRKDUMMYAPP_H
    28 
    29 class CTrkDummyAppTest;
    30 
    31 //
    32 // class CTrkDummyAppTest
    33 //
    34 // Basic test of the existence of the TrkDummyApp.
    35 //
    36 class CTrkDummyAppTest : public CBase
    37 	{
    38 public:
    39 	static CTrkDummyAppTest* NewL();
    40 	~CTrkDummyAppTest();
    41 	void ClientAppL();
    42 
    43 	void TestSecurityCheckPreventInsecureTrkDebugAgent(void);
    44 
    45 	void TestSecurityCheckPreventInsecureTrkDebugAgent2(void);
    46 
    47 	void TestSecurityCheckPreventInsecureTrkDebugAgent200159D8(void);
    48 
    49 	void TestSecurityCheckPreventInsecureTrkDebugAgent200170BC(void);
    50 
    51 private:
    52 	CTrkDummyAppTest();
    53 	void ConstructL();
    54 
    55 	void TestTrkDummyAppExists();
    56 
    57 	};
    58 
    59 #endif // T_TRKDUMMYAPP_H