mmtestenv/mmtestfwunittest/src/tsu_mmtsth22/TSU_MmTsthSuite22.cpp
changeset 0 40261b775718
equal deleted inserted replaced
-1:000000000000 0:40261b775718
       
     1 // Copyright (c) 2002-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 // EPOC includes
       
    17 #include <e32base.h>
       
    18 
       
    19 // Test system includes
       
    20 #include <testframework.h>
       
    21 #include "TSU_MmTsth22.h"
       
    22 #include "TSU_MmTsthSuite22.h"
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 // Create an instance of this test suite.
       
    28 
       
    29 // NewTSUMmTsthSuite22L is exported at ordinal 1.
       
    30 // This provides the interface to allow the Test Framework
       
    31 // to create instances of this test suite.
       
    32 EXPORT_C CTSUMmTsthSuite22* NewTSUMmTsthSuite22L() 
       
    33     { 
       
    34 	CTSUMmTsthSuite22* result = new (ELeave) CTSUMmTsthSuite22;
       
    35 	CleanupStack::PushL(result);
       
    36 	result->ConstructL();
       
    37 	CleanupStack::Pop(); // result
       
    38 	return result;
       
    39     }
       
    40 
       
    41 CTSUMmTsthSuite22::~CTSUMmTsthSuite22()
       
    42 	{
       
    43 	}
       
    44 
       
    45 _LIT(KTxtVersion,"0.22 (build 09-Sep-2002)");
       
    46 
       
    47 // Get version
       
    48 TPtrC CTSUMmTsthSuite22::GetVersion() const
       
    49 	{
       
    50 	return KTxtVersion();
       
    51 	}
       
    52 
       
    53 // Initialiser for test suite.
       
    54 // This creates all the test steps and stores them
       
    55 // inside CTestSuite
       
    56 void CTSUMmTsthSuite22::InitialiseL()
       
    57 	{
       
    58 	// store the name of this test suite
       
    59 	iSuiteName = _L("TSU_MMTSTH22");
       
    60 
       
    61 	// add test steps
       
    62 	AddTestStepL(RTestMmTsthU2201::NewL());
       
    63 	}