tcpiputils/dnd/Test/te_dnssuffix/src/te_dnssuffixtestblock.cpp
branchRCL_3
changeset 75 c1029e558ef5
parent 67 bb2423252ea3
child 76 27c54f8619d4
equal deleted inserted replaced
67:bb2423252ea3 75:c1029e558ef5
     1 // Copyright (c) 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 // Contains the implementation of TEF3.0 respective test block
       
    15 //
       
    16 
       
    17 
       
    18 
       
    19 /**
       
    20  @file
       
    21  @internalTechnology
       
    22 */
       
    23 
       
    24 #include "te_dnssuffixtestblock.h" 
       
    25 #include "te_dnssuffixtestwrapper.h"
       
    26 /**
       
    27 Function to manage the wrapper object instantiation. As part of this test suite, 
       
    28 only one wrapper is used.
       
    29 
       
    30 This function is called by the TestEngine while parsing the CREATE_OBJECT command
       
    31 in the script file.
       
    32 
       
    33 @return Returns the wrapper instance pointer
       
    34 @param aData Name of the wrapper has to be instantiated.
       
    35 */
       
    36 CDataWrapper* CVirtualTunnelTestBlock::CreateDataL(const TDesC& aData)
       
    37 	{
       
    38 	CDataWrapper* wrapper = NULL;
       
    39 	if (KDNSSuffixTestWrapper() == aData)
       
    40 		{
       
    41 		wrapper = CDNSSuffixTestWrapper::NewL();
       
    42 		}
       
    43 	return wrapper;
       
    44 	}