os/mm/mmtestenv/mmtestfwunittest/src/tsu_mmtsth03/TSU_MmTsthSuite03.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_MmTsthStep03.h"
    22 #include "TSU_MmTsth03.h"
    23 #include "TSU_MmTsthSuite03.h"
    24 
    25 
    26 
    27 
    28 // Create an instance of this test suite.
    29 // NewTSUMmTsthSuite03L 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 CTSUMmTsthSuite03* NewTSUMmTsthSuite03L() 
    33     { 
    34 	CTSUMmTsthSuite03* result = new (ELeave) CTSUMmTsthSuite03;
    35 	CleanupStack::PushL(result);
    36 	result->ConstructL();
    37 	CleanupStack::Pop(); // result
    38 	return result;
    39     }
    40 
    41 // destructor
    42 CTSUMmTsthSuite03::~CTSUMmTsthSuite03()
    43 	{
    44 	}
    45 
    46 _LIT(KTxtVersion,"0.22 (build 09-Sep-2002)");
    47 
    48 // Get test suite version.
    49 TPtrC CTSUMmTsthSuite03::GetVersion() const
    50 	{
    51 	return KTxtVersion();
    52 	}
    53 
    54 // Initialiser for test suite.
    55 // This creates all the test steps and stores them
    56 // inside CTestSuite
    57 void CTSUMmTsthSuite03::InitialiseL()
    58 	{
    59 
    60 	// store the name of this test suite
    61 	iSuiteName = _L("TSU_MMTSTH03");
    62 
    63 	// add test steps
    64 	AddTestStepL(RTestMmTsthU0301::NewL());
    65 	AddTestStepL(RTestMmTsthU0302::NewL());
    66 	AddTestStepL(RTestMmTsthU0303::NewL());
    67 	AddTestStepL(RTestMmTsthU0304::NewL());
    68 	AddTestStepL(RTestMmTsthU0305::NewL());
    69 
    70 	AddTestStepL(RTestMmTsthU0311::NewL());
    71 	}
    72 
    73 
    74 // -------------------------