os/persistentdata/featuremgmt/featuremgr/test/shared/inc/efm_test_consts.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/persistentdata/featuremgmt/featuremgr/test/shared/inc/efm_test_consts.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,92 @@
     1.4 +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +// Constants definitions for Feature Manager test code
    1.18 +// 
    1.19 +//
    1.20 +
    1.21 +/**
    1.22 + @file
    1.23 + @test
    1.24 + @internalComponent - Internal Symbian test code 
    1.25 +*/
    1.26 +#ifndef __EFMTESTCONSTS__
    1.27 +#define __EFMTESTCONSTS__
    1.28 +
    1.29 +_LIT( KTargetFeatureFile, "C:\\private\\102836E5\\features.dat");
    1.30 +_LIT( KFeatureFileDefault, "Z:\\EFM\\data\\features_invalid_header.dat");
    1.31 +_LIT( KFeatureFileInvalidHeader, "Z:\\EFM\\data\\features_invalid_header.dat");
    1.32 +_LIT( KFeatureFileRunTime, "C:\\private\\102836E5\\runtime\\features.dat");
    1.33 +_LIT( KPluginSourcePath, "Z:\\EFM\\plugins\\reconciliation.rsc");
    1.34 +_LIT( KPluginDestinationPath, "c:\\resource\\Plugins\\reconciliation.rsc");
    1.35 +
    1.36 +//use UIDs from non-allocated range (0x00000000 -  1000484F)
    1.37 +const TUid KDefaultSupportedUid = { 0x01000001 };
    1.38 +const TUid KDefaultUnsupportedUid = { 0x01000002 };
    1.39 +const TUid KModifiableUid = { 0x01000003 };
    1.40 +const TUid KUnmodifiableUid = { 0x01000004 };
    1.41 +const TUid KUnknownUid = { 0x01000005 };
    1.42 +const TUid KUninitializedUid = { 0x01000006 };
    1.43 +const TUid KBlacklistedUid = { 0x01000007 };
    1.44 +const TUid KNotPersistedUid = { 0x01000008 };
    1.45 +const TUid KSupportedUpgradeableUid = { 0x01000101 };
    1.46 +const TUid KSupportedUpgradeableBlacklistedUid = { 0x01000102 };
    1.47 +const TUid KSupportedUpgradeableModifiableUid = { 0x01000103 };
    1.48 +const TUid KSupportedUpgradeableModifiableUninitialisedUid = { 0x01000104 };
    1.49 +const TUid KSupportedUpgradeableModifiablePersistedUid = { 0x01000105 } ;
    1.50 +const TUid KModifiablePersistedUid = { 0x01000106 } ;
    1.51 +const TUid KModifiableUninitialisedPersistedUid = { 0x01000107 } ;
    1.52 +const TUid KPersistedUid = { 0x01000108 };
    1.53 +const TUid KNonmodifiableUninitialisedUid = { 0x01000109 };
    1.54 +const TUid KHangingPluginUid = { 0x0100010A };
    1.55 +const TUid KSlowStartPluginUid = { 0x0100010B };
    1.56 +const TUid KFeatureAUid = { 0x0100010C };
    1.57 +const TUid KFeatureBUid = { 0x0100010D };
    1.58 +const TUid KFeatureCUid = { 0x0100010E };
    1.59 +const TUid KOODUid = { 0x0100010F };
    1.60 +const TUid KPluginIgnoringUid = { 0x01000110 };
    1.61 +const TUid KPropertyCat1 = {0x01000111};
    1.62 +const TUid KPropertyCat2 = {0x01000112};
    1.63 +const TUid KAccessTestPropertyCat = {0x01000113};
    1.64 +
    1.65 +
    1.66 +const TUid KNewUid = { 0x01000009 };
    1.67 +const TUid KNewUid2 = { 0x0100000A };
    1.68 +const TUid KNewUid1 = { 0x0100000B };
    1.69 +const TUid KNewUid3 = { 0x0100000C };
    1.70 +const TUid KNewUid4 = { 0x0100000D };
    1.71 +
    1.72 +const TUid KDSR1Uid = { 0x10000001 }; // Uid written in test feature file to DSR
    1.73 +const TUid KDSR2Uid = { 0x10000006 }; // Another Uid written in test feature file to DSR
    1.74 +const TUid KDSR3Uid = { 0x1000000A }; // This should not be written to DSR in test feature file
    1.75 +
    1.76 +const TUid KDSRLowBound1= { 0x100DCBA9 };
    1.77 +const TUid KDSRHighBound1 = { 0x100DEF01 };
    1.78 +
    1.79 +// These UIDs are used by the 'MergePluginFeatures' OOM test.
    1.80 +const TUid KMergeUid1 = { 0x01000011 };
    1.81 +const TUid KMergeUid2 = { 0x01000012 };
    1.82 +const TUid KMergeUid3 = { 0x01000013 };
    1.83 +const TUid KMergeUid4 = { 0x01000014 };
    1.84 +const TUid KMergeUid5 = { 0x01000015 };
    1.85 +                                       
    1.86 +// Feature data used in test cases.
    1.87 +const TInt KDefaultData1 = { 0xabcd };
    1.88 +const TInt KChangeData = { 0xfafa };
    1.89 +const TInt KWaitDelay = { 2000000 };
    1.90 +const TInt KPropertyKey = 1;
    1.91 +
    1.92 +enum { EReadDeviceDataCap = 1, 
    1.93 +	   ENonReadDeviceDataCap };
    1.94 +
    1.95 +#endif//__EFMTESTCONSTS__