diff -r dbe86d96ce5b -r 2dc6da6fb431 wlanutilities/wlanwizard/t_wlanwizard/ut/main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wlanutilities/wlanwizard/t_wlanwizard/ut/main.cpp Fri Jun 11 14:43:07 2010 +0300 @@ -0,0 +1,49 @@ +/* + * Copyright (c) 2009 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: + */ + +// System includes +#include +#include +#include +#include +#include + +// User includes +#include "testwlanwizardui.h" +#include "testwlanwizard.h" +#include "hbautotest.h" + +// ======== LOCAL FUNCTIONS ======== +int main(int argc, char *argv[]) +{ + qDebug("TestWlanWizardUI main start"); + HbApplication app(argc, argv); + app.setApplicationName("TestWlanWizardUI"); + + char *pass[3]; + pass[0] = argv[0]; + pass[1] = "-o"; + pass[2] = "c:\\data\\TestWlanWizard.txt"; + TestWlanWizard tcUtilities; + int res = QTest::qExec(&tcUtilities, 3, pass); + + pass[2] = "c:\\data\\TestWlanWizardUi.txt"; + TestWlanWizardUi tc; + res = QTest::qExec(&tc, 3, pass); + + qDebug("TestWlanWizardUI main exit"); + return res; +}