datacommsserver/esockserver/test/TE_ESock/EsockCloseServer.cpp
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     1 // Copyright (c) 2001-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 // This contains ESock CloseServer Test
       
    15 // 
       
    16 //
       
    17 
       
    18 // EPOC includes
       
    19 #include <e32base.h>
       
    20 
       
    21 // Test system includes
       
    22 #include "EsockCloseServer.h"
       
    23 #include <c32root.h>
       
    24 
       
    25 
       
    26 const TDesC& CEsockCloseServer::GetTestName()
       
    27 	{
       
    28 	// store the name of this test case
       
    29 	_LIT(ret,"CloseServer");
       
    30 	return ret;
       
    31 	}
       
    32 
       
    33 
       
    34 
       
    35 // destructor
       
    36 CEsockCloseServer::~CEsockCloseServer()
       
    37 	{
       
    38 	}
       
    39 
       
    40 // 
       
    41 enum TVerdict CEsockCloseServer::easyTestStepL()
       
    42 	{
       
    43 	iEsockSuite->iSocketServer.Close();
       
    44 	return EPass;
       
    45 	}
       
    46