wlanutilities/wlanwizard/t_wlanwizard/ut/main.cpp
changeset 31 e8f4211554fb
child 39 7b3e49e4608a
equal deleted inserted replaced
30:ab513c8439db 31:e8f4211554fb
       
     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 // System includes
       
    18 #include <HbApplication>
       
    19 #include <QtCore>
       
    20 #include <QTest>
       
    21 #include <QDebug>
       
    22 #include <QList>
       
    23 
       
    24 // User includes
       
    25 #include "testwlanwizardui.h"
       
    26 #include "testwlanwizard.h"
       
    27 #include "hbautotest.h"
       
    28 
       
    29 // ======== LOCAL FUNCTIONS ========
       
    30 int main(int argc, char *argv[])
       
    31 {
       
    32     qDebug("TestWlanWizardUI main start");
       
    33     HbApplication app(argc, argv);
       
    34     app.setApplicationName("TestWlanWizardUI");
       
    35 
       
    36     char *pass[3];
       
    37     pass[0] = argv[0];
       
    38     pass[1] = "-o";
       
    39     pass[2] = "c:\\data\\TestWlanWizard.txt";
       
    40     TestWlanWizard tcUtilities;
       
    41     int res = QTest::qExec(&tcUtilities, 3, pass);
       
    42 
       
    43     pass[2] = "c:\\data\\TestWlanWizardUi.txt";
       
    44     TestWlanWizardUi tc;
       
    45     res = QTest::qExec(&tc, 3, pass);
       
    46     
       
    47     qDebug("TestWlanWizardUI main exit");
       
    48     return res;
       
    49 }