os/mm/mmtestenv/mmtestfwunittest/src/tsu_mmtsth22/TSU_MmTsthSuite22.cpp
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     2
// All rights reserved.
sl@0
     3
// This component and the accompanying materials are made available
sl@0
     4
// under the terms of "Eclipse Public License v1.0"
sl@0
     5
// which accompanies this distribution, and is available
sl@0
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     7
//
sl@0
     8
// Initial Contributors:
sl@0
     9
// Nokia Corporation - initial contribution.
sl@0
    10
//
sl@0
    11
// Contributors:
sl@0
    12
//
sl@0
    13
// Description:
sl@0
    14
//
sl@0
    15
sl@0
    16
// EPOC includes
sl@0
    17
#include <e32base.h>
sl@0
    18
sl@0
    19
// Test system includes
sl@0
    20
#include <testframework.h>
sl@0
    21
#include "TSU_MmTsth22.h"
sl@0
    22
#include "TSU_MmTsthSuite22.h"
sl@0
    23
sl@0
    24
sl@0
    25
sl@0
    26
sl@0
    27
// Create an instance of this test suite.
sl@0
    28
sl@0
    29
// NewTSUMmTsthSuite22L is exported at ordinal 1.
sl@0
    30
// This provides the interface to allow the Test Framework
sl@0
    31
// to create instances of this test suite.
sl@0
    32
EXPORT_C CTSUMmTsthSuite22* NewTSUMmTsthSuite22L() 
sl@0
    33
    { 
sl@0
    34
	CTSUMmTsthSuite22* result = new (ELeave) CTSUMmTsthSuite22;
sl@0
    35
	CleanupStack::PushL(result);
sl@0
    36
	result->ConstructL();
sl@0
    37
	CleanupStack::Pop(); // result
sl@0
    38
	return result;
sl@0
    39
    }
sl@0
    40
sl@0
    41
CTSUMmTsthSuite22::~CTSUMmTsthSuite22()
sl@0
    42
	{
sl@0
    43
	}
sl@0
    44
sl@0
    45
_LIT(KTxtVersion,"0.22 (build 09-Sep-2002)");
sl@0
    46
sl@0
    47
// Get version
sl@0
    48
TPtrC CTSUMmTsthSuite22::GetVersion() const
sl@0
    49
	{
sl@0
    50
	return KTxtVersion();
sl@0
    51
	}
sl@0
    52
sl@0
    53
// Initialiser for test suite.
sl@0
    54
// This creates all the test steps and stores them
sl@0
    55
// inside CTestSuite
sl@0
    56
void CTSUMmTsthSuite22::InitialiseL()
sl@0
    57
	{
sl@0
    58
	// store the name of this test suite
sl@0
    59
	iSuiteName = _L("TSU_MMTSTH22");
sl@0
    60
sl@0
    61
	// add test steps
sl@0
    62
	AddTestStepL(RTestMmTsthU2201::NewL());
sl@0
    63
	}