wlanutilities/wlanwizard/tsrc/ut/testwlanwizardconnect.h
branchRCL_3
changeset 25 f28ada11abbf
parent 24 63be7eb3fc78
equal deleted inserted replaced
24:63be7eb3fc78 25:f28ada11abbf
     1 /*
       
     2  * Copyright (c) 2009 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 #ifndef TESTWLANWIZARDRNDCONNECT_H_
       
    18 #define TESTWLANWIZARDRNDCONNECT_H_
       
    19 
       
    20 #include "testwlanwizardcontext.h"
       
    21 
       
    22 class TestWlanWizardConnect : public TestWlanWizardContext
       
    23 {
       
    24 Q_OBJECT
       
    25 
       
    26 private slots:
       
    27     void tc_connect_to_open_success();
       
    28     void tc_connect_to_open_success_adhoc();
       
    29     void tc_connect_to_wep_success();
       
    30     void tc_connect_to_wpa_psk_success();
       
    31     void tc_connect_to_wpa2_psk_success();
       
    32     void tc_connect_to_open_success_cancel();
       
    33     void tc_network_failure_OpenAuthFailed();
       
    34     void tc_network_failure_SharedKeyAuthRequired();
       
    35     void tc_network_failure_WpaAuthRequired();
       
    36     void tc_network_failure_WpaAuthFailed();
       
    37     void tc_network_failure_802dot1xAuthFailed();
       
    38     void tc_network_failure_IllegalEncryptionKeys();
       
    39     void tc_network_failure_PskModeRequired();
       
    40     void tc_network_failure_EapModeRequired();
       
    41     void tc_network_failure_IllefalWpaPskKey();
       
    42     void tc_network_failure_SharedKeyAuthFailed();
       
    43     void tc_network_failure_ErrNone();
       
    44     void tc_network_failure_30180();
       
    45     void tc_iap_creation_fails();
       
    46     void tc_cancel_key_query();
       
    47     
       
    48 private:
       
    49     void tc_connect_success(
       
    50         const QString &ssid,
       
    51         int networkMode,
       
    52         int securityMode,
       
    53         bool hidden,
       
    54         QString key);
       
    55     
       
    56     void tc_network_error_codes(
       
    57         const QString &ssid,
       
    58         int networkMode,
       
    59         int securityMode,
       
    60         bool hidden,
       
    61         QString key,
       
    62         const QString &errorString,
       
    63         int errorCode);
       
    64 };
       
    65 
       
    66 #endif /* TESTWLANWIZARDRNDCONNECT_H_ */