os/persistentdata/featuremgmt/featuremgr/test/shared/inc/efm_test_consts.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // Constants definitions for Feature Manager test code
    15 // 
    16 //
    17 
    18 /**
    19  @file
    20  @test
    21  @internalComponent - Internal Symbian test code 
    22 */
    23 #ifndef __EFMTESTCONSTS__
    24 #define __EFMTESTCONSTS__
    25 
    26 _LIT( KTargetFeatureFile, "C:\\private\\102836E5\\features.dat");
    27 _LIT( KFeatureFileDefault, "Z:\\EFM\\data\\features_invalid_header.dat");
    28 _LIT( KFeatureFileInvalidHeader, "Z:\\EFM\\data\\features_invalid_header.dat");
    29 _LIT( KFeatureFileRunTime, "C:\\private\\102836E5\\runtime\\features.dat");
    30 _LIT( KPluginSourcePath, "Z:\\EFM\\plugins\\reconciliation.rsc");
    31 _LIT( KPluginDestinationPath, "c:\\resource\\Plugins\\reconciliation.rsc");
    32 
    33 //use UIDs from non-allocated range (0x00000000 -  1000484F)
    34 const TUid KDefaultSupportedUid = { 0x01000001 };
    35 const TUid KDefaultUnsupportedUid = { 0x01000002 };
    36 const TUid KModifiableUid = { 0x01000003 };
    37 const TUid KUnmodifiableUid = { 0x01000004 };
    38 const TUid KUnknownUid = { 0x01000005 };
    39 const TUid KUninitializedUid = { 0x01000006 };
    40 const TUid KBlacklistedUid = { 0x01000007 };
    41 const TUid KNotPersistedUid = { 0x01000008 };
    42 const TUid KSupportedUpgradeableUid = { 0x01000101 };
    43 const TUid KSupportedUpgradeableBlacklistedUid = { 0x01000102 };
    44 const TUid KSupportedUpgradeableModifiableUid = { 0x01000103 };
    45 const TUid KSupportedUpgradeableModifiableUninitialisedUid = { 0x01000104 };
    46 const TUid KSupportedUpgradeableModifiablePersistedUid = { 0x01000105 } ;
    47 const TUid KModifiablePersistedUid = { 0x01000106 } ;
    48 const TUid KModifiableUninitialisedPersistedUid = { 0x01000107 } ;
    49 const TUid KPersistedUid = { 0x01000108 };
    50 const TUid KNonmodifiableUninitialisedUid = { 0x01000109 };
    51 const TUid KHangingPluginUid = { 0x0100010A };
    52 const TUid KSlowStartPluginUid = { 0x0100010B };
    53 const TUid KFeatureAUid = { 0x0100010C };
    54 const TUid KFeatureBUid = { 0x0100010D };
    55 const TUid KFeatureCUid = { 0x0100010E };
    56 const TUid KOODUid = { 0x0100010F };
    57 const TUid KPluginIgnoringUid = { 0x01000110 };
    58 const TUid KPropertyCat1 = {0x01000111};
    59 const TUid KPropertyCat2 = {0x01000112};
    60 const TUid KAccessTestPropertyCat = {0x01000113};
    61 
    62 
    63 const TUid KNewUid = { 0x01000009 };
    64 const TUid KNewUid2 = { 0x0100000A };
    65 const TUid KNewUid1 = { 0x0100000B };
    66 const TUid KNewUid3 = { 0x0100000C };
    67 const TUid KNewUid4 = { 0x0100000D };
    68 
    69 const TUid KDSR1Uid = { 0x10000001 }; // Uid written in test feature file to DSR
    70 const TUid KDSR2Uid = { 0x10000006 }; // Another Uid written in test feature file to DSR
    71 const TUid KDSR3Uid = { 0x1000000A }; // This should not be written to DSR in test feature file
    72 
    73 const TUid KDSRLowBound1= { 0x100DCBA9 };
    74 const TUid KDSRHighBound1 = { 0x100DEF01 };
    75 
    76 // These UIDs are used by the 'MergePluginFeatures' OOM test.
    77 const TUid KMergeUid1 = { 0x01000011 };
    78 const TUid KMergeUid2 = { 0x01000012 };
    79 const TUid KMergeUid3 = { 0x01000013 };
    80 const TUid KMergeUid4 = { 0x01000014 };
    81 const TUid KMergeUid5 = { 0x01000015 };
    82                                        
    83 // Feature data used in test cases.
    84 const TInt KDefaultData1 = { 0xabcd };
    85 const TInt KChangeData = { 0xfafa };
    86 const TInt KWaitDelay = { 2000000 };
    87 const TInt KPropertyKey = 1;
    88 
    89 enum { EReadDeviceDataCap = 1, 
    90 	   ENonReadDeviceDataCap };
    91 
    92 #endif//__EFMTESTCONSTS__