controlpanel/tsrc/unit/ut_cpapi/src/main.cpp
changeset 55 4c15d9aa2384
parent 47 dbe66a66f6a9
child 62 531951b2e59a
equal deleted inserted replaced
47:dbe66a66f6a9 55:4c15d9aa2384
     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 *       test application for qt control panel public apis.
       
    16 */
       
    17 #include <hbapplication.h>
       
    18 #include <QTest>
       
    19 #include "ut_cpapi.h"
       
    20 int main(int argc, char *argv[])
       
    21 {
       
    22     HbApplication app(argc, argv);
       
    23     int res = 0;
       
    24     //char *pass[3];
       
    25     //pass[0] = argv[0];
       
    26     //pass[1] = "-o";
       
    27     
       
    28     // log folder: \epoc32\winscw\c\data
       
    29     
       
    30     app.setApplicationName("TestCpAPI");
       
    31     //pass[2] = "c:\\data\\u.txt";
       
    32     TestCpAPI *tcUtilities = new TestCpAPI();
       
    33     res |= QTest::qExec(tcUtilities);
       
    34     delete tcUtilities;
       
    35     tcUtilities = NULL;
       
    36     return res;
       
    37 }