common/tools/ats/smoketest/appinstall/src/AppInstallSmokeTestModule.cpp
author Dario Sestito <darios@symbian.org>
Mon, 18 Oct 2010 17:36:29 +0100
changeset 1308 767d8390f87d
parent 872 17498133d9ad
permissions -rw-r--r--
Add build of naviengine SMP minigui rom
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
739
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
     1
/*
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
     2
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
     3
* All rights reserved.
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
     4
* This component and the accompanying materials are made available
872
17498133d9ad adding EPL headers to smoke test
victorp@symbian.org
parents: 739
diff changeset
     5
* under the terms of the License "Eclipse Public License v1.0"
739
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
     6
* which accompanies this distribution, and is available
872
17498133d9ad adding EPL headers to smoke test
victorp@symbian.org
parents: 739
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
739
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
     8
*
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
     9
* Initial Contributors:
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    11
*
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    12
* Contributors:
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    13
* 
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    14
* Description: This file contains testclass implementation.
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    15
*
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    16
*/
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    17
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    18
// INCLUDE FILES
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    19
#include <Stiftestinterface.h>
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    20
#include "AppInstallSmokeTestModule.h"
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    21
#include <SettingServerClient.h>
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    22
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    23
// EXTERNAL DATA STRUCTURES
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    24
//extern  ?external_data;
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    25
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    26
// EXTERNAL FUNCTION PROTOTYPES  
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    27
//extern ?external_function( ?arg_type,?arg_type );
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    28
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    29
// CONSTANTS
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    30
//const ?type ?constant_var = ?constant;
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    31
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    32
// MACROS
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    33
//#define ?macro ?macro_def
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    34
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    35
// LOCAL CONSTANTS AND MACROS
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    36
//const ?type ?constant_var = ?constant;
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    37
//#define ?macro_name ?macro_def
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    38
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    39
// MODULE DATA STRUCTURES
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    40
//enum ?declaration
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    41
//typedef ?declaration
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    42
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    43
// LOCAL FUNCTION PROTOTYPES
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    44
//?type ?function_name( ?arg_type, ?arg_type );
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    45
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    46
// FORWARD DECLARATIONS
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    47
//class ?FORWARD_CLASSNAME;
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    48
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    49
// ============================= LOCAL FUNCTIONS ===============================
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    50
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    51
// -----------------------------------------------------------------------------
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    52
// ?function_name ?description.
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    53
// ?description
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    54
// Returns: ?value_1: ?description
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    55
//          ?value_n: ?description_line1
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    56
//                    ?description_line2
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    57
// -----------------------------------------------------------------------------
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    58
//
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    59
/*
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    60
?type ?function_name(
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    61
    ?arg_type arg,  // ?description
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    62
    ?arg_type arg)  // ?description
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    63
    {
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    64
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    65
    ?code  // ?comment
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    66
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    67
    // ?comment
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    68
    ?code
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    69
    }
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    70
*/
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    71
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    72
// ============================ MEMBER FUNCTIONS ===============================
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    73
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    74
// -----------------------------------------------------------------------------
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    75
// CAppInstallSmokeTestModule::CAppInstallSmokeTestModule
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    76
// C++ default constructor can NOT contain any code, that
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    77
// might leave.
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    78
// -----------------------------------------------------------------------------
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    79
//
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    80
CAppInstallSmokeTestModule::CAppInstallSmokeTestModule( 
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    81
    CTestModuleIf& aTestModuleIf ):
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    82
        CScriptBase( aTestModuleIf )
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    83
    {
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    84
    }
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    85
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    86
// -----------------------------------------------------------------------------
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    87
// CAppInstallSmokeTestModule::ConstructL
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    88
// Symbian 2nd phase constructor can leave.
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    89
// -----------------------------------------------------------------------------
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    90
//
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    91
void CAppInstallSmokeTestModule::ConstructL()
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    92
    {
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    93
    //Read logger settings to check whether test case name is to be
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    94
    //appended to log file name.
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    95
    RSettingServer settingServer;
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    96
    TInt ret = settingServer.Connect();
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    97
    if(ret != KErrNone)
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    98
        {
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
    99
        User::Leave(ret);
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   100
        }
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   101
    // Struct to StifLogger settigs.
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   102
    TLoggerSettings loggerSettings; 
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   103
    // Parse StifLogger defaults from STIF initialization file.
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   104
    ret = settingServer.GetLoggerSettings(loggerSettings);
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   105
    if(ret != KErrNone)
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   106
        {
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   107
        User::Leave(ret);
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   108
        } 
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   109
    // Close Setting server session
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   110
    settingServer.Close();
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   111
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   112
    TFileName logFileName;
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   113
    
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   114
    if(loggerSettings.iAddTestCaseTitle)
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   115
        {
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   116
        TName title;
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   117
        TestModuleIf().GetTestCaseTitleL(title);
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   118
        logFileName.Format(KAppInstallSmokeTestModuleLogFileWithTitle, &title);
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   119
        }
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   120
    else
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   121
        {
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   122
        logFileName.Copy(KAppInstallSmokeTestModuleLogFile);
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   123
        }
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   124
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   125
    iLog = CStifLogger::NewL( KAppInstallSmokeTestModuleLogPath, 
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   126
                          logFileName,
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   127
                          CStifLogger::ETxt,
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   128
                          CStifLogger::EFile,
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   129
                          EFalse );
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   130
    
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   131
    SendTestClassVersion();
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   132
    }
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   133
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   134
// -----------------------------------------------------------------------------
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   135
// CAppInstallSmokeTestModule::NewL
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   136
// Two-phased constructor.
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   137
// -----------------------------------------------------------------------------
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   138
//
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   139
CAppInstallSmokeTestModule* CAppInstallSmokeTestModule::NewL( 
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   140
    CTestModuleIf& aTestModuleIf )
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   141
    {
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   142
    CAppInstallSmokeTestModule* self = new (ELeave) CAppInstallSmokeTestModule( aTestModuleIf );
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   143
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   144
    CleanupStack::PushL( self );
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   145
    self->ConstructL();
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   146
    CleanupStack::Pop();
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   147
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   148
    return self;
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   149
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   150
    }
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   151
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   152
// Destructor
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   153
CAppInstallSmokeTestModule::~CAppInstallSmokeTestModule()
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   154
    { 
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   155
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   156
    // Delete resources allocated from test methods
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   157
    Delete();
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   158
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   159
    // Delete logger
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   160
    delete iLog; 
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   161
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   162
    }
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   163
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   164
//-----------------------------------------------------------------------------
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   165
// CAppInstallSmokeTestModule::SendTestClassVersion
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   166
// Method used to send version of test class
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   167
//-----------------------------------------------------------------------------
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   168
//
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   169
void CAppInstallSmokeTestModule::SendTestClassVersion()
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   170
	{
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   171
	TVersion moduleVersion;
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   172
	moduleVersion.iMajor = TEST_CLASS_VERSION_MAJOR;
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   173
	moduleVersion.iMinor = TEST_CLASS_VERSION_MINOR;
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   174
	moduleVersion.iBuild = TEST_CLASS_VERSION_BUILD;
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   175
	
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   176
	TFileName moduleName;
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   177
	moduleName = _L("AppInstallSmokeTestModule.dll");
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   178
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   179
	TBool newVersionOfMethod = ETrue;
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   180
	TestModuleIf().SendTestModuleVersion(moduleVersion, moduleName, newVersionOfMethod);
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   181
	}
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   182
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   183
// ========================== OTHER EXPORTED FUNCTIONS =========================
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   184
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   185
// -----------------------------------------------------------------------------
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   186
// LibEntryL is a polymorphic Dll entry point.
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   187
// Returns: CScriptBase: New CScriptBase derived object
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   188
// -----------------------------------------------------------------------------
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   189
//
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   190
EXPORT_C CScriptBase* LibEntryL( 
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   191
    CTestModuleIf& aTestModuleIf ) // Backpointer to STIF Test Framework
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   192
    {
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   193
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   194
    return ( CScriptBase* ) CAppInstallSmokeTestModule::NewL( aTestModuleIf );
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   195
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   196
    }
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   197
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   198
552776214487 Test: Tweaked Profile tests and added AppInstall
brendand
parents:
diff changeset
   199
//  End of File