controlpanelui/src/cpcategorymodel/tsrc/ut_categorymodelutility/src/ut_categorymodelutility.h
branchRCL_3
changeset 13 90fe62538f66
equal deleted inserted replaced
12:3fec62e6e7fc 13:90fe62538f66
       
     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 the functions in cpcategorysettingformmodel class 
       
    16 */
       
    17 
       
    18 #ifndef UT_CATEGORYMODELUTILITY_H_ 
       
    19 #define UT_CATEGORYMODELUTILITY_H_
       
    20 
       
    21 #include <QObject>
       
    22 
       
    23 class TestCpCategoryModelUtility :public QObject
       
    24 {
       
    25     Q_OBJECT
       
    26 private slots:
       
    27     
       
    28     void initTestCase();
       
    29 
       
    30     void testSetEntryItemReturnFalse(); // test the setEntryItemContentIfEmpty() function can return false
       
    31     void testSetEntryItemContent(); // 
       
    32     void testDrives();  // test the drives() function
       
    33     void testPluginDirectories();  // test the pluginDirectories() function
       
    34     void testConfigFileDirectories(); // test the configFileDirectories() function
       
    35     void testBuildConfigPluginItems(); // test the buildConfigPluginItems() function
       
    36     void testCreateCpPluginItemData();       
       
    37     void cleanupTestCase();    
       
    38 };
       
    39 #endif /* UT_CATEGORYMODELUTILITY_H_ */