wlanutilities/cpwlansettingsplugin/tsrc/wlansettingstest.h
branchRCL_3
changeset 25 f28ada11abbf
parent 24 63be7eb3fc78
equal deleted inserted replaced
24:63be7eb3fc78 25:f28ada11abbf
     1 /*
       
     2 * Copyright (c) 2010 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:  
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef WLANSETTINGSTEST_H_
       
    19 #define WLANSETTINGSTEST_H_
       
    20 
       
    21 
       
    22 #include <QtTest/QtTest>
       
    23 #include <QScopedPointer>
       
    24 #include "wlansettings.h"
       
    25 
       
    26 class WlanSettingsTest: public QObject
       
    27 {
       
    28     Q_OBJECT
       
    29     
       
    30 public:
       
    31     WlanSettingsTest();    
       
    32     ~WlanSettingsTest();
       
    33     
       
    34 private slots:  
       
    35     void test_setWlanPowerMode();
       
    36     
       
    37     void test_CheckJoinWlanModeManual();
       
    38     
       
    39     void test_CheckWlanScanIntervalManual();
       
    40     
       
    41     void test_CheckJoinWlanModeAuto();
       
    42     
       
    43     void test_CheckWlanScanIntervalAuto();
       
    44 
       
    45     void test_CheckManualIntervalValidity();
       
    46     
       
    47     void test_CheckWlanPowerSavingMode();
       
    48     
       
    49 private:    //data
       
    50     
       
    51     QScopedPointer<WlanSettings> mSecuritySettings;
       
    52     uint mScanIntervalAuto;
       
    53     uint mScanIntervalManual;
       
    54     int mJoinWlanMode;
       
    55     
       
    56 };
       
    57 
       
    58 
       
    59 #endif /* WLANSETTINGSTEST_H_ */