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

//----------------------------------------------------------------------------------//
//----------------------------------aknstyluspopupmenu.h----------------------------//
//----------------------------------------------------------------------------------//
// Test aknstyluspopupmenu.h
// For test function:
// IMPORT_C static CAknStylusPopUpMenu* NewL( MEikMenuObserver* aObserver, 
//     const TPoint& aPoint,
//     CAknPreviewPopUpController* aPopup );
[Test]
title TestSPMNewTL
create testsdkstyluspopupmenu test
bringtoforeground
test TestSPMNewTL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static CAknStylusPopUpMenu* NewL( MEikMenuObserver* aObserver, 
//     const TPoint& aPoint );
[Test]
title TestSPMNewL
create testsdkstyluspopupmenu test
bringtoforeground
test TestSPMNewL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static CAknStylusPopUpMenu* NewLC( MEikMenuObserver* aObserver, 
//     const TPoint& aPoint,
//     CAknPreviewPopUpController* aPopup );
[Test]
title TestSPMNewLC
create testsdkstyluspopupmenu test
bringtoforeground
test TestSPMNewLC
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void AddMenuItemL( const TDesC& aItem, const TInt aCommandId );
[Test]
title TestSPMAddMenuItemL
create testsdkstyluspopupmenu test
bringtoforeground
test TestSPMAddMenuItemL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void RemoveMenuItem( const TInt aCommandId );
[Test]
title TestSPMRemoveMenuItemL
create testsdkstyluspopupmenu test
bringtoforeground
test TestSPMRemoveMenuItemL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetItemDimmed( const TInt aCommandId, const TBool aDimmed );
[Test]
title TestSPMSetItemDimmedL
create testsdkstyluspopupmenu test
bringtoforeground
test TestSPMSetItemDimmedL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void ShowMenu();
[Test]
title TestSPMShowMenuL
create testsdkstyluspopupmenu test
bringtoforeground
test TestSPMShowMenuL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetPosition( const TPoint& aPoint ); 
[Test]
title TestSPMSetPositionL
create testsdkstyluspopupmenu test
bringtoforeground
test TestSPMSetPositionL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetPosition( const TPoint& aPoint, TPositionType aPosType );
[Test]
title TestSPMSetPositionTL
create testsdkstyluspopupmenu test
bringtoforeground
test TestSPMSetPositionTL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void ConstructFromResourceL( TResourceReader& aReader );
[Test]
title TestSPMConstructFromResourceL
create testsdkstyluspopupmenu test
bringtoforeground
test TestSPMConstructFromResourceL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void HandleControlEventL( CCoeControl* aControl, TCoeEvent aEventType );
[Test]
title TestSPMHandleControlEventL
create testsdkstyluspopupmenu test
bringtoforeground
test TestSPMHandleControlEventL
delete test
sendtobackground
[Endtest]

