telephonyprotocols/psdagt/TS_PsdAgt/PsdAgtTestClosure.cpp
changeset 0 3553901f7fa8
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     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 PsdAgt TestCase Test 13.1 - 13.2
       
    15 // 
       
    16 //
       
    17 
       
    18 // EPOC includes
       
    19 #include <e32base.h>
       
    20 #include <in_sock.h>
       
    21 
       
    22 // Test system includes
       
    23 #include "networking/log.h"
       
    24 #include "networking/teststep.h"
       
    25 #include "TestStepPsdAgt.h"
       
    26 #include "TestSuitePsdAgt.h"
       
    27 
       
    28 // COMMDB Database Undo
       
    29 #include "DbUndo.h"
       
    30 
       
    31 // RPacketContext
       
    32 #include <etelpckt.h> 
       
    33 
       
    34 // EPsdStartingConfiguration
       
    35 #include <psdprog.h>
       
    36 
       
    37 // EConnectionOpen
       
    38 #include <connectprog.h>
       
    39 
       
    40 // Class definitions
       
    41 #include "PsdAgtTestClosure.h"
       
    42 
       
    43 // Test case 13.1
       
    44 enum TVerdict CPsdAgtTest13_1::doPsdAgtTestStepL( void )
       
    45 	{
       
    46 	// This test is really only here for code coverage purposes
       
    47 	// It's difficult to actually test for any particular result
       
    48 	// aside from a successful connection / disconnection
       
    49 	TRealAgtNotify agtNotify; 
       
    50 	agtNotify.SetTestCase(1301);
       
    51 	NormalConnectL();
       
    52 	
       
    53 	return iTestStepResult;
       
    54 	}
       
    55 
       
    56 // Test case 13.2
       
    57 enum TVerdict CPsdAgtTest13_2::doPsdAgtTestStepL( void )
       
    58 	{
       
    59 	// This test is really only here for code coverage purposes
       
    60 	// It's difficult to actually test for any particular result
       
    61 	// aside from a successful connection / disconnection
       
    62 	TRealAgtNotify agtNotify; 
       
    63 	agtNotify.SetTestCase(1302);
       
    64 
       
    65 	NormalConnectL();
       
    66 
       
    67 	return iTestStepResult;
       
    68 	}