contentstorage/casoftwareregistry/tsrc/t_casoftwareregistry/inc/t_casoftwareregistry.h
changeset 117 c63ee96dbe5f
equal deleted inserted replaced
115:3ab5c078b490 117:c63ee96dbe5f
       
     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 *
       
    16 */
       
    17 
       
    18 #ifndef T_CA_SERVICE_REGISTRY_H
       
    19 #define T_CA_SERVICE_REGISTRY_H
       
    20 
       
    21 #include <QtTest/QtTest>
       
    22 #include "casoftwareregistry.h"
       
    23 
       
    24 /**
       
    25  *
       
    26  * Test class.
       
    27  *
       
    28  */
       
    29 class T_CaSoftwareRegistry: public QObject
       
    30 {
       
    31     Q_OBJECT
       
    32 public:
       
    33     T_CaSoftwareRegistry();
       
    34 private slots:
       
    35 
       
    36     //setup methods
       
    37     void initTestCase();
       
    38     void cleanup();
       
    39 
       
    40     void testSoftwareRegistryCreate();
       
    41 #ifdef Q_OS_SYMBIAN
       
    42     void testExtractingDetailsFromEntry();
       
    43     void testExtractingDetailsFromJavaEntry();
       
    44     void testUninstallDetails();
       
    45     void testGetLogEntries();
       
    46     void testApplicationsUids();
       
    47     // tests for caprogressscanner
       
    48     void testProgresScannerNew();
       
    49     void testProgressStartOperationHandler();
       
    50     void testProgressProgressOperationHandler();    
       
    51     void testProgressEndOperationHandler();
       
    52     void testCreateUninstallNotifier();
       
    53 #endif
       
    54     void testEntryDetails();
       
    55 
       
    56     void testUninstallDetailsBadComponentId();
       
    57 
       
    58 private:
       
    59     QSharedPointer<CaSoftwareRegistry> mSoftwareRegistry;
       
    60 };
       
    61 
       
    62 #endif // T_CA_SERVICE_REGISTRY_H