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

//----------------------------------------------------------------------------------//
//----------------------------------aknPopup.h--------------------------------------//
//----------------------------------------------------------------------------------//
// Test aknPopup.h
// For test function:
// IMPORT_C static CAknPopupList* NewL( 
//     CEikListBox* aListBox, 
//     TInt aCbaResource,
//     AknPopupLayouts::TAknPopupLayouts aType = AknPopupLayouts::EMenuWindow);
[Test]
title TestPLNewL
create testsdkpopups test
bringtoforeground
test TestPLNewL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TBool ExecuteLD();
[Test]
title TestPLExecuteLD
create testsdkpopups test
bringtoforeground
test TestPLExecuteLD
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetTitleL(const TDesC& aTitle);
[Test]
title TestPLSetTitleL
create testsdkpopups test
bringtoforeground
test TestPLSetTitleL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void CancelPopup();
[Test]
title TestPLCancelPopupL
create testsdkpopups test
bringtoforeground
test TestPLCancelPopupL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C CEikButtonGroupContainer* ButtonGroupContainer();
[Test]
title TestPLButtonGroupContainerL
create testsdkpopups test
bringtoforeground
test TestPLButtonGroupContainerL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C CAknPopupHeadingPane* Heading();
[Test]
title TestPLHeadingL
create testsdkpopups test
bringtoforeground
test TestPLHeadingL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C CAknPopupHeadingPane* Heading() const;
[Test]
title TestPLHeadingConstL
create testsdkpopups test
bringtoforeground
test TestPLHeadingConstL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C CEikListBox* ListBox();
[Test]
title TestPLListBoxL
create testsdkpopups test
bringtoforeground
test TestPLListBoxL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetMaximumHeight(TInt aItems);
[Test]
title TestPLSetMaximumHeightL
create testsdkpopups test
bringtoforeground
test TestPLSetMaximumHeightL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TBool EnableFind(TBool aEnable=ETrue);
[Test]
title TestPLEnableFindL
create testsdkpopups test
bringtoforeground
test TestPLEnableFindL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TBool EnableAdaptiveFind(TBool aEnable=ETrue);
[Test]
title TestPLEnableAdaptiveFindL
create testsdkpopups test
bringtoforeground
test TestPLEnableAdaptiveFindL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C CAknSearchField* FindBox() const;
[Test]
title TestPLFindBoxL
create testsdkpopups test
bringtoforeground
test TestPLFindBoxL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void HandlePointerEventL( const TPointerEvent& aPointerEvent );
[Test]
title TestPLHandlePointerEventL
create testsdkpopups test
bringtoforeground
test TestPLHandlePointerEventL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void ProcessCommandL(TInt aCommandId);
[Test]
title TestPLProcessCommandL
create testsdkpopups test
bringtoforeground
test TestPLProcessCommandL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void HandleListBoxEventL(CEikListBox* aListBox, 
//    TListBoxEvent aEventType);
[Test]
title TestPLHandleListBoxEventL
create testsdkpopups test
bringtoforeground
test TestPLHandleListBoxEventL
delete test
sendtobackground
[Endtest]

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

// For test function:
// IMPORT_C CAknPopupList();
[Test]
title TestPLCAknPopupListL
create testsdkpopups test
bringtoforeground
test TestPLCAknPopupListL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C ~CAknPopupList();
[Test]
title TestPLDeconstrutorL
create testsdkpopups test
bringtoforeground
test TestPLDeconstrutorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void ConstructL(CEikListBox* aListBox, 
//     TInt aCbaResource,
//     AknPopupLayouts::TAknPopupLayouts aType );
[Test]
title TestPLConstructL
create testsdkpopups test
bringtoforeground
test TestPLConstructL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual void AttemptExitL(TBool aAccept);
[Test]
title TestPLAttemptExitL
create testsdkpopups test
bringtoforeground
test TestPLAttemptExitL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual void SetupWindowLayout(
//     AknPopupLayouts::TAknPopupLayouts aType);
[Test]
title TestPLSetupWindowLayoutL
create testsdkpopups test
bringtoforeground
test TestPLSetupWindowLayoutL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C CEikListBox* ListBox() const;
[Test]
title TestPLListBoxConstL
create testsdkpopups test
bringtoforeground
test TestPLListBoxConstL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C const TAknPopupWindowLayoutDef& Layout() const;
[Test]
title TestPLLayoutConstL
create testsdkpopups test
bringtoforeground
test TestPLLayoutConstL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TAknPopupWindowLayoutDef& Layout();
[Test]
title TestPLLayoutL
create testsdkpopups test
bringtoforeground
test TestPLLayoutL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
[Test]
title TestPLMopSupplyObjectL
create testsdkpopups test
bringtoforeground
test TestPLMopSupplyObjectL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void HandleResourceChange(TInt aType);
[Test]
title TestPLHandleResourceChangeL
create testsdkpopups test
bringtoforeground
test TestPLHandleResourceChangeL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void FadeBehindPopup(TBool aFade);
[Test]
title TestPLFadeBehindPopupL
create testsdkpopups test
bringtoforeground
test TestPLFadeBehindPopupL
delete test
sendtobackground
[Endtest]
