diff -r 9aa586a731eb -r 3341fe7c643a controlpanel/tsrc/unit/ut_cpapi/src/main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/controlpanel/tsrc/unit/ut_cpapi/src/main.cpp Tue Jul 06 14:34:22 2010 +0300 @@ -0,0 +1,37 @@ +/* +* 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: +* test application for qt control panel public apis. +*/ +#include +#include +#include "ut_cpapi.h" +int main(int argc, char *argv[]) +{ + HbApplication app(argc, argv); + int res = 0; + //char *pass[3]; + //pass[0] = argv[0]; + //pass[1] = "-o"; + + // log folder: \epoc32\winscw\c\data + + app.setApplicationName("TestCpAPI"); + //pass[2] = "c:\\data\\u.txt"; + TestCpAPI *tcUtilities = new TestCpAPI(); + res |= QTest::qExec(tcUtilities); + delete tcUtilities; + tcUtilities = NULL; + return res; +}