wlanutilities/wlanwizard/tsrc/stubs/wlanqtutils_stub.cpp
changeset 58 301aeb18ae47
parent 56 de27cc8389dd
equal deleted inserted replaced
56:de27cc8389dd 58:301aeb18ae47
     1 /*
     1 /*
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3  * All rights reserved.
     3 * All rights reserved.
     4  * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5  * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6  * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8  *
     8 *
     9  * Initial Contributors:
     9 * Initial Contributors:
    10  * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11  *
    11 *
    12  * Contributors:
    12 * Contributors:
    13  *
    13 *
    14  * Description:
    14 * Description:
    15  */
    15 * WLAN Qt Utilities library test stub.
       
    16 */
    16 
    17 
    17 #include "wlanqtutilsap.h"
    18 #include "wlanqtutilsap.h"
    18 #include "wlanqtutils.h"
    19 #include "wlanqtutils.h"
    19 #include <QDebug>
    20 #include <QDebug>
    20 
    21 
    98     qDebug("mActiveWlanIapReturn = %d", mActiveWlanIapReturn);
    99     qDebug("mActiveWlanIapReturn = %d", mActiveWlanIapReturn);
    99     mCalledMethods.append("disconnectIap");
   100     mCalledMethods.append("disconnectIap");
   100     QCOMPARE(iapId, mActiveWlanIapReturn);
   101     QCOMPARE(iapId, mActiveWlanIapReturn);
   101 }
   102 }
   102 
   103 
       
   104 void WlanQtUtils::moveIapToInternetSnap(int iapId)
       
   105 {
       
   106     qDebug("moveIapToInternetSnap iapId = %d", iapId);
       
   107     //mCalledMethods.append("moveIapToInternetSnap");
       
   108 }
       
   109 
   103 int WlanQtUtils::activeIap()
   110 int WlanQtUtils::activeIap()
   104 {
   111 {
   105     mCalledMethods.append("activeIap");
   112     mCalledMethods.append("activeIap");
   106     return mActiveWlanIapReturn;
   113     return mActiveWlanIapReturn;
   107 }
   114 }