appfw/apparchitecture/tef/t_nonnativetest.h
branchRCL_3
changeset 19 924385140d98
equal deleted inserted replaced
18:0818dd463d41 19:924385140d98
       
     1 // Copyright (c) 2010 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  @internalComponent - Internal Symbian test code 
       
    19 */
       
    20 
       
    21 #if (!defined __T_NONNATIVETEST_H__)
       
    22 #define __T_NONNATIVETEST_H__
       
    23 
       
    24 
       
    25 #include <test/testexecutestepbase.h>
       
    26 
       
    27 class RTestableApaLsSession;
       
    28 
       
    29 
       
    30 /*Tests non-native application launching functionality */
       
    31 
       
    32 class CT_NonNativeTestStep : public CTestStep 
       
    33     {
       
    34 public:
       
    35     CT_NonNativeTestStep();
       
    36     ~CT_NonNativeTestStep();
       
    37     virtual TVerdict doTestStepPreambleL();
       
    38     virtual TVerdict doTestStepPostambleL();
       
    39     virtual TVerdict doTestStepL();
       
    40 
       
    41 private:
       
    42     void RunTestCases();   
       
    43     void TestNonNativeAppLaunchWithUnavailableMappingL(RTestableApaLsSession &aLs);
       
    44     void TestNonNativeUnsupportedAPIs(RTestableApaLsSession &aLs);
       
    45     void TestGetAppTypeL(RTestableApaLsSession &aLs);
       
    46     };
       
    47 
       
    48 _LIT(KT_NonNativeTestStep,"T_NonNativeTest");
       
    49 
       
    50 #endif