diff -r dbe86d96ce5b -r 2dc6da6fb431 wlanutilities/wlanqtutilities/tsrc/stubs/wlanqtutilsconnteststub.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wlanutilities/wlanqtutilities/tsrc/stubs/wlanqtutilsconnteststub.cpp Fri Jun 11 14:43:07 2010 +0300 @@ -0,0 +1,49 @@ +/* +* Copyright (c) 2009-2010 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 is a source file for connmon library stub functions +*/ + +#include + +#ifdef __WINS__ + +#ifdef WLANQTUTILS_T_WLANQTUTILS_UT_FLAG + +// ---------------------------------------------- +// Stub functions for ICT library, used in UT +// ---------------------------------------------- + +#include "wlanqtutilstestcontext.h" + +extern WlanQtUtilsTestContext testContext; + +// ---------------------------------------------------- +// NewL is not stubbed -> parameters are not checked at all +// ---------------------------------------------------- + +/** + * Empty implementation to prevent actual ICT from starting. Result callback is called directly + * in the test cases. + */ +EXPORT_C void CIctsClientInterface::StartL() + { + } + +#endif // WLANQTUTILS_T_WLANQTUTILS_UT_FLAG + +// ---------------------------------------------------- +// No stubs used in emulator +// ---------------------------------------------------- +#endif // __WINS__