telutils/keysequencerecognitionservice/tsrc/ut_imeikeysequencehandler/ut_imeikeysequencehandler.h
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
child 21 0a6dd2dc9970
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
     1 /*
       
     2 * Copyright (c) 2010 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 UT_IMEIKEYSEQUENCEHANDLER_H
       
    19 #define UT_IMEIKEYSEQUENCEHANDLER_H
       
    20 
       
    21 #include <QtTest/QtTest>
       
    22 #include <mockservice.h>
       
    23 
       
    24 class ImeiKeySequenceHandler;
       
    25 
       
    26 class UT_ImeiKeySequenceHandler : public QObject, public MockService
       
    27 {
       
    28     Q_OBJECT
       
    29 
       
    30 public:    
       
    31     
       
    32     UT_ImeiKeySequenceHandler();
       
    33     ~UT_ImeiKeySequenceHandler();
       
    34     
       
    35 private slots:
       
    36 
       
    37     void init();
       
    38     void cleanup();
       
    39 
       
    40     void t_keySequenceValidator();
       
    41     void t_executeValidKeySequence();
       
    42     void t_executeInvalidKeySequence();
       
    43     
       
    44 private:
       
    45     ImeiKeySequenceHandler *m_handler;
       
    46 };
       
    47 
       
    48 #endif  // UT_IMEIKEYSEQUENCEHANDLER_H