locsrv_plat/supl_network_initiation_api/tsrc/inc/testsuplnetworkserver.h
changeset 0 667063e416a2
equal deleted inserted replaced
-1:000000000000 0:667063e416a2
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  CTestSuplNetworkServer class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_TESTSUPLNETWORKSERVER_H
       
    21 #define C_TESTSUPLNETWORKSERVER_H
       
    22 
       
    23 #include <e32base.h>
       
    24 
       
    25  
       
    26 /**
       
    27  *  This class is used to test methods of RSuplNetworkServer class
       
    28  *  @p CTestSuplNetworkServer contians functions to test methods of
       
    29  *  RSuplNetworkServer class
       
    30  *
       
    31  *  @lib testsuplinitapi.lib
       
    32  *  @since S60 v3.2
       
    33  */
       
    34  class CTestSuplNetworkServer : public CBase
       
    35     {
       
    36 
       
    37 public:
       
    38 
       
    39 	/**
       
    40      * Two-phased constructor.
       
    41      */
       
    42      static CTestSuplNetworkServer* NewLC();
       
    43     
       
    44 
       
    45     /**
       
    46     * Destructor.
       
    47     */
       
    48     virtual ~CTestSuplNetworkServer();
       
    49     
       
    50     /**
       
    51     * This function will test Connect method of RSuplNetworkServer class.
       
    52     */
       
    53     void TestConnectL();
       
    54 
       
    55 	/**
       
    56     * This function will test Connect method of RSuplNetworkServer class
       
    57     * for negative case.
       
    58     */
       
    59     void TestConnectL(TInt);
       
    60     
       
    61    	/**
       
    62     * This function will test ForwardMessage method of RSuplNetworkServer class.
       
    63     */
       
    64     void TestForwardMessageL();
       
    65     
       
    66     /**
       
    67     * This function will test Version method of RSuplNetworkServer class.
       
    68     */
       
    69     void TestVersionL();
       
    70 
       
    71 
       
    72 private: 
       
    73 
       
    74 	/**
       
    75     * Constructor.
       
    76     */
       
    77     CTestSuplNetworkServer();
       
    78     };
       
    79 
       
    80 #endif // C_TESTSUPLNETWORKSERVER_H