diff -r 6465d5bb863a -r 13e71d907dc3 controlpanel/tsrc/unit/ut_cpapi/src/main.cpp --- a/controlpanel/tsrc/unit/ut_cpapi/src/main.cpp Fri Jun 25 17:09:30 2010 +0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,37 +0,0 @@ -/* -* 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; -}