ximpfw/tsrc/src/t_utils/t_utils.h
author hgs
Wed, 03 Nov 2010 09:32:20 +0530
changeset 51 61fad867f68e
permissions -rw-r--r--
201041
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
51
hgs
parents:
diff changeset
     1
/*
hgs
parents:
diff changeset
     2
* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
hgs
parents:
diff changeset
     3
* All rights reserved.
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
hgs
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
hgs
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
hgs
parents:
diff changeset
     8
*
hgs
parents:
diff changeset
     9
* Initial Contributors:
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
hgs
parents:
diff changeset
    11
*
hgs
parents:
diff changeset
    12
* Contributors:
hgs
parents:
diff changeset
    13
*
hgs
parents:
diff changeset
    14
* Description: XIMP Framework Test Code 
hgs
parents:
diff changeset
    15
*
hgs
parents:
diff changeset
    16
*/
hgs
parents:
diff changeset
    17
hgs
parents:
diff changeset
    18
#ifndef T_UTILS_H__
hgs
parents:
diff changeset
    19
#define T_UTILS_H__
hgs
parents:
diff changeset
    20
hgs
parents:
diff changeset
    21
hgs
parents:
diff changeset
    22
//  EXTERNAL INCLUDES
hgs
parents:
diff changeset
    23
#include <platform/digia/eunit/ceunittestsuiteclass.h>
hgs
parents:
diff changeset
    24
#include <platform/digia/eunit/EUnitDecorators.h>
hgs
parents:
diff changeset
    25
hgs
parents:
diff changeset
    26
hgs
parents:
diff changeset
    27
#include <ximpbase.h>
hgs
parents:
diff changeset
    28
hgs
parents:
diff changeset
    29
#include "prfwteststatuseventlistener.h"
hgs
parents:
diff changeset
    30
#include "prfwwaitobserver.h"
hgs
parents:
diff changeset
    31
hgs
parents:
diff changeset
    32
class CXIMPTestContextWrapperMgr;
hgs
parents:
diff changeset
    33
hgs
parents:
diff changeset
    34
/**
hgs
parents:
diff changeset
    35
 * XIMP Framework Eunit tests.
hgs
parents:
diff changeset
    36
 *
hgs
parents:
diff changeset
    37
 * Tests for XIMP session management services.
hgs
parents:
diff changeset
    38
 *
hgs
parents:
diff changeset
    39
 * @since S60 v4.0
hgs
parents:
diff changeset
    40
 */
hgs
parents:
diff changeset
    41
class T_Utils : public CEUnitTestSuiteClass
hgs
parents:
diff changeset
    42
    {
hgs
parents:
diff changeset
    43
hgs
parents:
diff changeset
    44
public:
hgs
parents:
diff changeset
    45
    static T_Utils* NewL();
hgs
parents:
diff changeset
    46
    virtual ~T_Utils();
hgs
parents:
diff changeset
    47
hgs
parents:
diff changeset
    48
private:
hgs
parents:
diff changeset
    49
    T_Utils();
hgs
parents:
diff changeset
    50
    void ConstructL();
hgs
parents:
diff changeset
    51
hgs
parents:
diff changeset
    52
private:    // Test case functions
hgs
parents:
diff changeset
    53
hgs
parents:
diff changeset
    54
    void Setup_L();
hgs
parents:
diff changeset
    55
    void Teardown();
hgs
parents:
diff changeset
    56
hgs
parents:
diff changeset
    57
    void T_FileToolTest_L();
hgs
parents:
diff changeset
    58
hgs
parents:
diff changeset
    59
    void T_KillServers_L();
hgs
parents:
diff changeset
    60
    
hgs
parents:
diff changeset
    61
    void T_ObjectCollection_Unnamed_L();
hgs
parents:
diff changeset
    62
    void T_ObjectCollection_Named_L();
hgs
parents:
diff changeset
    63
    void T_RestrictedObjectCollection_L();
hgs
parents:
diff changeset
    64
    void T_DataSubscriptionState_L();
hgs
parents:
diff changeset
    65
    
hgs
parents:
diff changeset
    66
    void T_TXIMPRequestIdBuilder_Test_L();
hgs
parents:
diff changeset
    67
    void T_TXIMPRequestId_Test_L();
hgs
parents:
diff changeset
    68
hgs
parents:
diff changeset
    69
private:    // Test helpers
hgs
parents:
diff changeset
    70
hgs
parents:
diff changeset
    71
private: // Test data
hgs
parents:
diff changeset
    72
hgs
parents:
diff changeset
    73
    /**
hgs
parents:
diff changeset
    74
     * Eunit test case table declaration.
hgs
parents:
diff changeset
    75
     */
hgs
parents:
diff changeset
    76
    EUNIT_DECLARE_TEST_TABLE;
hgs
parents:
diff changeset
    77
    };
hgs
parents:
diff changeset
    78
hgs
parents:
diff changeset
    79
#endif      //  T_UTILS_H__
hgs
parents:
diff changeset
    80
hgs
parents:
diff changeset
    81
// end of file
hgs
parents:
diff changeset
    82
hgs
parents:
diff changeset
    83
hgs
parents:
diff changeset
    84
hgs
parents:
diff changeset
    85