camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxeimagedataqueuesymbian/unittest_cxeimagedataqueuesymbian.h
branchRCL_3
changeset 54 bac7acad7cb3
parent 53 61bc0f252b2b
child 57 2c87b2808fd7
equal deleted inserted replaced
53:61bc0f252b2b 54:bac7acad7cb3
     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 #ifndef UNITTEST_CXEIMAGEDATAQUEUESYMBIAN_H
       
    18 #define UNITTEST_CXEIMAGEDATAQUEUESYMBIAN_H
       
    19 
       
    20 #include <QObject>
       
    21 
       
    22 class CxeImageDataQueueUnit;
       
    23 
       
    24 class UnitTestCxeImageDataQueueSymbian : public QObject
       
    25 {
       
    26     Q_OBJECT
       
    27 
       
    28 public:
       
    29     UnitTestCxeImageDataQueueSymbian();
       
    30     ~UnitTestCxeImageDataQueueSymbian();
       
    31 
       
    32 private slots:
       
    33     void init();
       
    34     void cleanup();
       
    35 
       
    36     void testSize();
       
    37     void testClear1();
       
    38     void testClear2();
       
    39     void testOperatorAtIndex();
       
    40     void testStartSave();
       
    41 
       
    42 private:
       
    43     // Helper methods for test cases
       
    44 
       
    45 private:
       
    46     // Using inherited class for test to isolate other engine classes out.
       
    47     CxeImageDataQueueUnit *mImageDataQueue;
       
    48 };
       
    49 
       
    50 #endif // UNITTEST_CXEIMAGEDATAQUEUESYMBIAN_H