[Test]
title PressKey 
pause 2000
presskey global EKeyDevice1
[Endtest]

//----------------------------------------------------------------------------------//
//------------------------------------AknsUtils.H-----------------------------------//
//----------------------------------------------------------------------------------//
// Test AknsUtils.H
// For test function:
// IMPORT_C static void InitSkinSupportL();
[Test]
title TestUInitSkinSupportL
create testsdkskins test
bringtoforeground
test TestUInitSkinSupportL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static MAknsDataContext* CreateDataContextForContainerL();
[Test]
title TestUCreateDataContextForContainerL
create testsdkskins test
bringtoforeground
test TestUCreateDataContextForContainerL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static CAknsItemDef* CreateBitmapItemDefL( 
//     const TAknsItemID& aID, const TDesC& aFilename, 
//     const TInt aIndex );
[Test]
title TestUCreateBitmapItemDefL
create testsdkskins test
bringtoforeground
test TestUCreateBitmapItemDefL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static CAknsItemDef* CreateMaskedBitmapItemDefL( 
//     const TAknsItemID& aID, const TDesC& aFilename, 
//     const TInt aIndex, const TInt aMaskIndex );
[Test]
title TestUCreateMaskedBitmapItemDefL
create testsdkskins test
bringtoforeground
test TestUCreateMaskedBitmapItemDefL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static MAknsSkinInstance* SkinInstance();
[Test]
title TestUSkinInstanceL
create testsdkskins test
bringtoforeground
test TestUSkinInstanceL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static MAknsDataContext* DataContext( MObjectProvider* aMop );
[Test]
title TestUDataContextL
create testsdkskins test
bringtoforeground
test TestUDataContextL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static void CreateIconL(
//     MAknsSkinInstance* aInstance, const TAknsItemID& aID,
//     CFbsBitmap*& aBitmap, CFbsBitmap*& aMask,
//     const TDesC& aFilename,
//     const TInt aFileBitmapId, const TInt aFileMaskId );
[Test]
title TestUCreateIconML
create testsdkskins test
bringtoforeground
test TestUCreateIconML
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static void CreateIconLC(
//     MAknsSkinInstance* aInstance, const TAknsItemID& aID,
//     CFbsBitmap*& aBitmap, CFbsBitmap*& aMask,
//     const TDesC& aFilename,
//     const TInt aFileBitmapId, const TInt aFileMaskId );
[Test]
title TestUCreateIconMLC
create testsdkskins test
bringtoforeground
test TestUCreateIconMLC
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static void CreateIconL(
//     MAknsSkinInstance* aInstance, const TAknsItemID& aID,
//     CFbsBitmap*& aBitmap,
//     const TDesC& aFilename,
//     const TInt aFileBitmapId );
[Test]
title TestUCreateIconL
create testsdkskins test
bringtoforeground
test TestUCreateIconL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static void CreateIconLC(
//     MAknsSkinInstance* aInstance, const TAknsItemID& aID,
//     CFbsBitmap*& aBitmap,
//     const TDesC& aFilename,
//     const TInt aFileBitmapId );
[Test]
title TestUCreateIconLC
create testsdkskins test
bringtoforeground
test TestUCreateIconLC
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static CApaMaskedBitmap* CreateMaskedBitmapL(
//     MAknsSkinInstance* aInstance, const TAknsItemID& aID,
//     const TDesC& aFilename,
//     const TInt aFileIndex, const TInt aFileMaskIndex );
[Test]
title TestUCreateMaskedBitmapL
create testsdkskins test
bringtoforeground
test TestUCreateMaskedBitmapL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static CGulIcon* CreateGulIconL(
//     MAknsSkinInstance* aInstance, const TAknsItemID& aID,
//     const TDesC& aFilename,
//     const TInt aFileIndex, const TInt aFileMaskIndex );
[Test]
title TestUCreateGulIconL
create testsdkskins test
bringtoforeground
test TestUCreateGulIconL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static void CreateAppIconLC(
//     MAknsSkinInstance* aInstance, TUid aAppUid,
//     TAknsAppIconType aType,
//     CFbsBitmap*& aBitmap, CFbsBitmap*& aMask );
[Test]
title TestUCreateAppIconLC
create testsdkskins test
bringtoforeground
test TestUCreateAppIconLC
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TInt OpenAppIconFile(
//     MAknsSkinInstance* aInstance, TUid aAppUid,
//     TAknsAppIconType aType, RFile& aFile );
[Test]
title TestUOpenAppIconFileL
create testsdkskins test
bringtoforeground
test TestUOpenAppIconFileL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static void CreateColorIconL(
//     MAknsSkinInstance* aInstance, const TAknsItemID& aID,
//     const TAknsItemID& aColorID, const TInt aColorIndex,
//     CFbsBitmap*& aBitmap, CFbsBitmap*& aMask,
//     const TDesC& aFilename,
//     const TInt aFileBitmapId, const TInt aFileMaskId,
//     const TRgb aDefaultColor );
[Test]
title TestUCreateColorIconL
create testsdkskins test
bringtoforeground
test TestUCreateColorIconL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static void CreateColorIconLC(
//     MAknsSkinInstance* aInstance, const TAknsItemID& aID,
//     const TAknsItemID& aColorID, const TInt aColorIndex,
//     CFbsBitmap*& aBitmap, CFbsBitmap*& aMask,
//     const TDesC& aFilename,
//     const TInt aFileBitmapId, const TInt aFileMaskId,
//     const TRgb aDefaultColor );
[Test]
title TestUCreateColorIconLC
create testsdkskins test
bringtoforeground
test TestUCreateColorIconLC
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static void CreateColorIconL(
//     MAknsSkinInstance* aInstance, const TAknsItemID& aID,
//     const TAknsItemID& aColorID, const TInt aColorIndex,
//     CFbsBitmap*& aBitmap, CFbsBitmap*& aMask,
//     const TDesC& aFilename,
//     const TInt aFileBitmapId, const TInt aFileMaskId,
//     const TRgb aDefaultColor,
//     const TSize& aSize, const TScaleMode aScaleMode );
[Test]
title TestUCreateColorIconML
create testsdkskins test
bringtoforeground
test TestUCreateColorIconML
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static void CreateColorIconLC(
//     MAknsSkinInstance* aInstance, const TAknsItemID& aID,
//     const TAknsItemID& aColorID, const TInt aColorIndex,
//     CFbsBitmap*& aBitmap, CFbsBitmap*& aMask,
//     const TDesC& aFilename,
//     const TInt aFileBitmapId, const TInt aFileMaskId,
//     const TRgb aDefaultColor,
//     const TSize& aSize, const TScaleMode aScaleMode );
[Test]
title TestUCreateColorIconMLC
create testsdkskins test
bringtoforeground
test TestUCreateColorIconMLC
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static TInt GetAppIcon(
//     MAknsSkinInstance* aInstance, TUid aAppUid, TSize aSize, 
//     CApaMaskedBitmap& aAppBitmap );
[Test]
title TestUGetAppIconL
create testsdkskins test
bringtoforeground
test TestUGetAppIconL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static CFbsBitmap* CreateBitmapL( 
//     MAknsSkinInstance* aInstance, const TAknsItemID& aID );
[Test]
title TestUCreateBitmapL
create testsdkskins test
bringtoforeground
test TestUCreateBitmapL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static CApaMaskedBitmap* CreateMaskedBitmapL(
//     MAknsSkinInstance* aInstance, const TAknsItemID& aID );
[Test]
title TestUCreateMaskedBitmapIL
create testsdkskins test
bringtoforeground
test TestUCreateMaskedBitmapIL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static CGulIcon* CreateGulIconL(
//     MAknsSkinInstance* aInstance, const TAknsItemID& aID,
//     const TBool aRequireMask );
[Test]
title TestUCreateGulIconIL
create testsdkskins test
bringtoforeground
test TestUCreateGulIconIL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static CFbsBitmap* GetCachedBitmap( 
//     MAknsSkinInstance* aInstance, const TAknsItemID& aID );
[Test]
title TestUGetCachedBitmapL
create testsdkskins test
bringtoforeground
test TestUGetCachedBitmapL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static void GetCachedMaskedBitmap(
//     MAknsSkinInstance* aInstance, const TAknsItemID& aID,
//     CFbsBitmap*& aBitmap, CFbsBitmap*& aMask );
[Test]
title TestUGetCachedMaskedBitmapL
create testsdkskins test
bringtoforeground
test TestUGetCachedMaskedBitmapL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static TInt GetCachedColor(
//     MAknsSkinInstance* aInstance, TRgb& aRgb, const TAknsItemID& aID,
//     const TInt aIndex );
[Test]
title TestUGetCachedColorL
create testsdkskins test
bringtoforeground
test TestUGetCachedColorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static TBool BooleanPropertyL( MAknsSkinInstance* aInstance, 
//     const TAknsItemID& aID );
[Test]
title TestUBooleanPropertyL
create testsdkskins test
bringtoforeground
test TestUBooleanPropertyL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static void SetAvkonSkinEnabledL( const TBool aEnabled );
[Test]
title TestUSetAvkonSkinEnabledL
create testsdkskins test
bringtoforeground
test TestUSetAvkonSkinEnabledL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static TBool AvkonSkinEnabled();
[Test]
title TestUAvkonSkinEnabledL
create testsdkskins test
bringtoforeground
test TestUAvkonSkinEnabledL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static void SetAvkonHighlightAnimationEnabledL( const TBool aEnabled );
[Test]
title TestUSetAvkonHighlightAnimationEnabledL
create testsdkskins test
bringtoforeground
test TestUSetAvkonHighlightAnimationEnabledL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static TBool AvkonHighlightAnimationEnabled();
[Test]
title TestUAvkonHighlightAnimationEnabledL
create testsdkskins test
bringtoforeground
test TestUAvkonHighlightAnimationEnabledL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static void RegisterControlPosition( 
//     const CCoeControl* aControl );
[Test]
title TestURegisterControlPositionL
create testsdkskins test
bringtoforeground
test TestURegisterControlPositionL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static void RegisterControlPosition( 
//     const CCoeControl* aControl, const TPoint& aPoint );
[Test]
title TestURegisterControlPositionPL
create testsdkskins test
bringtoforeground
test TestURegisterControlPositionPL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static void DeregisterControlPosition( 
//     const CCoeControl* aControl );
[Test]
title TestUDeregisterControlPositionL
create testsdkskins test
bringtoforeground
test TestUDeregisterControlPositionL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static TInt GetControlPosition( const CCoeControl* aControl,
//     TPoint& aScreenPos );
[Test]
title TestUGetControlPositionL
create testsdkskins test
bringtoforeground
test TestUGetControlPositionL
delete test
sendtobackground
[Endtest]

