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

//----------------------------------------------------------------------------------//
//--------------------------------aknchoicelist.h-----------------------------------//
//----------------------------------------------------------------------------------//
// Test EIKINFO.h
// For test function:
// IMPORT_C static CAknChoiceList* NewL( CCoeControl* aParent, CDesCArray* aItemArray, 
//     TInt aFlags = EAknChoiceListWithCurrentSelection, CAknButton* aButton = NULL );
[Test]
title TestCLNewL
create testsdkchoicelist test
bringtoforeground
test TestCLNewL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C static CAknChoiceList* NewLC( CCoeControl* aParent, CDesCArray* aItemArray, 
//     TInt aFlags = EAknChoiceListWithCurrentSelection, CAknButton* aButton = NULL );
[Test]
title TestCLNewLC
create testsdkchoicelist test
bringtoforeground
test TestCLNewLC
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TInt ShowChoiceListL();
[Test]
title TestCLShowChoiceListL
create testsdkchoicelist test
bringtoforeground
test TestCLShowChoiceListL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetSelectedIndex( const TInt aIndex );
[Test]
title TestCLSetSelectedIndexL
create testsdkchoicelist test
bringtoforeground
test TestCLSetSelectedIndexL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TInt SelectedIndex() const;
[Test]
title TestCLSelectedIndexL
create testsdkchoicelist test
bringtoforeground
test TestCLSelectedIndexL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetItems( CDesCArray* aArray );
[Test]
title TestCLSetItemsL
create testsdkchoicelist test
bringtoforeground
test TestCLSetItemsL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetItemsL( TInt aResourceId );
[Test]
title TestCLSetItemsLeaveL
create testsdkchoicelist test
bringtoforeground
test TestCLSetItemsLeaveL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TInt AddItemL( const TDesC* aDesC );
[Test]
title TestCLAddItemL
create testsdkchoicelist test
bringtoforeground
test TestCLAddItemL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void RemoveItem( const TInt aIndex ); 
[Test]
title TestCLRemoveItemL
create testsdkchoicelist test
bringtoforeground
test TestCLRemoveItemL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetFlags( const TInt aFlags );
[Test]
title TestCLSetFlagsL
create testsdkchoicelist test
bringtoforeground
test TestCLSetFlagsL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TInt Flags() const;
[Test]
title TestCLFlagsL
create testsdkchoicelist test
bringtoforeground
test TestCLFlagsL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetButtonL( CAknButton* aButton ); 
[Test]
title TestCLSetButtonL
create testsdkchoicelist test
bringtoforeground
test TestCLSetButtonL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void HideChoiceList();
[Test]
title TestCLHideChoiceListL
create testsdkchoicelist test
bringtoforeground
test TestCLHideChoiceListL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetTooltipTextL( const TDesC& aText );
[Test]
title TestCLSetTooltipTextL
create testsdkchoicelist test
bringtoforeground
test TestCLSetTooltipTextL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetTooltipTimeouts( const TInt aBeforeTimeout, const TInt aInViewTimeout );
[Test]
title TestCLSetTooltipTimeoutsL
create testsdkchoicelist test
bringtoforeground
test TestCLSetTooltipTimeoutsL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetTooltipPosition( const TTooltipPosition aPosition ); 
[Test]
title TestCLSetTooltipPositionL
create testsdkchoicelist test
bringtoforeground
test TestCLSetTooltipPositionL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C CCoeControl* ComponentControl( TInt aIndex ) const; 
[Test]
title TestCLComponentControlL
create testsdkchoicelist test
bringtoforeground
test TestCLComponentControlL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TInt CountComponentControls() const;
[Test]
title TestCLCountComponentControlsL
create testsdkchoicelist test
bringtoforeground
test TestCLCountComponentControlsL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TSize MinimumSize();  
[Test]
title TestCLMinimumSizeL
create testsdkchoicelist test
bringtoforeground
test TestCLMinimumSizeL
delete test
sendtobackground
[Endtest]

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

// For test function:
// IMPORT_C TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
[Test]
title TestCLOfferKeyEventL
create testsdkchoicelist test
bringtoforeground
test TestCLOfferKeyEventL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void Draw( const TRect& aRect ) const;
[Test]
title TestCLDrawL
create testsdkchoicelist test
bringtoforeground
test TestCLDrawL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual void PositionChanged();
[Test]
title TestCLPositionChangedL
create testsdkchoicelist test
bringtoforeground
test TestCLPositionChangedL
delete test
sendtobackground
[Endtest]

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

// For test function:
// IMPORT_C TInt InsertItemL( const TInt aIndex, const TDesC& aText ); 
[Test]
title TestCLInsertItemL
create testsdkchoicelist test
bringtoforeground
test TestCLInsertItemL
delete test
sendtobackground
[Endtest]

