diff -r 000000000000 -r 3553901f7fa8 telephonyprotocols/psdagt/TS_PsdAgt/PsdAgtTestClosure.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/telephonyprotocols/psdagt/TS_PsdAgt/PsdAgtTestClosure.cpp Tue Feb 02 01:41:59 2010 +0200 @@ -0,0 +1,68 @@ +// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// This contains PsdAgt TestCase Test 13.1 - 13.2 +// +// + +// EPOC includes +#include +#include + +// Test system includes +#include "networking/log.h" +#include "networking/teststep.h" +#include "TestStepPsdAgt.h" +#include "TestSuitePsdAgt.h" + +// COMMDB Database Undo +#include "DbUndo.h" + +// RPacketContext +#include + +// EPsdStartingConfiguration +#include + +// EConnectionOpen +#include + +// Class definitions +#include "PsdAgtTestClosure.h" + +// Test case 13.1 +enum TVerdict CPsdAgtTest13_1::doPsdAgtTestStepL( void ) + { + // This test is really only here for code coverage purposes + // It's difficult to actually test for any particular result + // aside from a successful connection / disconnection + TRealAgtNotify agtNotify; + agtNotify.SetTestCase(1301); + NormalConnectL(); + + return iTestStepResult; + } + +// Test case 13.2 +enum TVerdict CPsdAgtTest13_2::doPsdAgtTestStepL( void ) + { + // This test is really only here for code coverage purposes + // It's difficult to actually test for any particular result + // aside from a successful connection / disconnection + TRealAgtNotify agtNotify; + agtNotify.SetTestCase(1302); + + NormalConnectL(); + + return iTestStepResult; + }