os/mm/mmtestenv/mmtestfwunittest/src/tsu_mmtsth02/TSU_MmTsthSuite02.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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_MmTsth02.h"
    22 #include "TSU_MmTsthSuite02.h"
    23 
    24 
    25 
    26 
    27 // Create an instance of this test suite.
    28 // NewTSUMmTsthSuite02L is exported at ordinal 1.
    29 // This provides the interface to allow the Test Framework
    30 // to create instances of this test suite.
    31 EXPORT_C CTSUMmTsthSuite02* NewTSUMmTsthSuite02L() 
    32     { 
    33 	CTSUMmTsthSuite02* result = new (ELeave) CTSUMmTsthSuite02;
    34 	CleanupStack::PushL(result);
    35 	result->ConstructL();
    36 	CleanupStack::Pop(); // result
    37 	return result;
    38     }
    39 
    40 // destructor
    41 CTSUMmTsthSuite02::~CTSUMmTsthSuite02()
    42 	{
    43 	}
    44 
    45 _LIT(KTxtVersion,"0.22 (build 09-Sep-2002)");
    46 
    47 // Get test suite version.
    48 TPtrC CTSUMmTsthSuite02::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 CTSUMmTsthSuite02::InitialiseL()
    57 	{
    58 
    59 	// store the name of this test suite
    60 	iSuiteName = _L("TSU_MMTSTH02");
    61 
    62 	// add test steps
    63 	AddTestStepL(RTestMmTsthU0201::NewL());
    64 	AddTestStepL(RTestMmTsthU0202::NewL());
    65 	AddTestStepL(RTestMmTsthU0203::NewL());
    66 	}