controlpanel/tsrc/unit/ut_cputility/src/ut_cputility.h
branchRCL_3
changeset 24 8ee96d21d9bf
equal deleted inserted replaced
23:8bda91a87a00 24:8ee96d21d9bf
       
     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 
       
    18 #ifndef TEST_CP_UTILITY_H
       
    19 #define TEST_CP_UTILITY_H
       
    20 
       
    21 #include <QObject>
       
    22 
       
    23 class TestCpUtility : public QObject
       
    24 {
       
    25     Q_OBJECT
       
    26     
       
    27 private slots:
       
    28     void initTestCase();
       
    29     void cleanupTestCase();
       
    30     
       
    31 //public slots:
       
    32     void testDrivesOnce();
       
    33     void testDrivesRepeatTwice();
       
    34     
       
    35     void testPluginDirectoriesOnce();
       
    36     void testPluginDirectoriesRepeatTwice();
       
    37     
       
    38     void testConfigFileDirectoriesOnce();
       
    39     void testConfigFileDirectoriesRepeatTwice();
       
    40     
       
    41 private:
       
    42     void verifyDrivesList(const QStringList &strList);
       
    43     void verifyDirectoriesList(const QStringList &strList);
       
    44     void verifyConfigFileDirectories(const QStringList &strList);
       
    45 };
       
    46 
       
    47 #endif // TEST_CP_PLUGIN_UTILITY_H