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

//----------------------------------------------------------------------------------//
//----------------------------------EIKDIALG.H--------------------------------------//
//----------------------------------------------------------------------------------//
// Test AknKeyLock.h
// For test function:
// IMPORT_C CEikDialog();
[Test]
title TestDCEikDialogL
create testsdkdialogs test
bringtoforeground
test TestDCEikDialogL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C ~CEikDialog(); 
[Test]
title TestDDeconstructorL
create testsdkdialogs test
bringtoforeground
test TestDDeconstructorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual TInt ExecuteLD(TInt aResourceId);
[Test]
title TestDExecuteLD
create testsdkdialogs test
bringtoforeground
test TestDExecuteLD
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual void PrepareLC(TInt aResourceId);
[Test]
title TestDPrepareLC
create testsdkdialogs test
bringtoforeground
test TestDPrepareLC
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void ReadResourceLC(TInt aResourceId);
[Test]
title TestDReadResourceLC
create testsdkdialogs test
bringtoforeground
test TestDReadResourceLC
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual TInt RunLD();
[Test]
title TestDRunLD
create testsdkdialogs test
bringtoforeground
test TestDRunLD
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetTitleL(const TDesC& aText);
[Test]
title TestDSetTitleTDesCL
create testsdkdialogs test
bringtoforeground
test TestDSetTitleTDesCL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetTitleL(TInt aResourceId);
[Test]
title TestDSetTitleResourceL
create testsdkdialogs test
bringtoforeground
test TestDSetTitleResourceL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetPageDimmedNow(TInt aPageId,
//     TBool aDimmed);
[Test]
title TestDSetPageDimmedNowL
create testsdkdialogs test
bringtoforeground
test TestDSetPageDimmedNowL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetLineNonFocusing(TInt aControlId);
[Test]
title TestDSetLineNonFocusingL
create testsdkdialogs test
bringtoforeground
test TestDSetLineNonFocusingL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetLineDimmedNow(TInt aControlId,
//     TBool aDimmed);
[Test]
title TestDSetLineDimmedNowL
create testsdkdialogs test
bringtoforeground
test TestDSetLineDimmedNowL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void MakeLineVisible(TInt aControlId,
//     TBool aVisible);
[Test]
title TestDMakeLineVisibleL
create testsdkdialogs test
bringtoforeground
test TestDMakeLineVisibleL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void MakeWholeLineVisible(TInt aControlId,
//     TBool aVisible);
[Test]
title TestDMakeWholeLineVisibleL
create testsdkdialogs test
bringtoforeground
test TestDMakeWholeLineVisibleL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void DeleteLine(TInt aControlId,
//     TBool aRedraw=ETrue);
[Test]
title TestDDeleteLineL
create testsdkdialogs test
bringtoforeground
test TestDDeleteLineL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void InsertLineL(TInt aIndex,
//     TInt aResourceId,
//     TInt aPageId=0);
[Test]
title TestDInsertLineL
create testsdkdialogs test
bringtoforeground
test TestDInsertLineL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void MakePanelButtonVisible(TInt aButtonId,
//     TBool aVisible);
[Test]
title TestDMakePanelButtonVisibleL
create testsdkdialogs test
bringtoforeground
test TestDMakePanelButtonVisibleL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void TryChangeFocusToL(TInt aControlId);
[Test]
title TestDTryChangeFocusToL
create testsdkdialogs test
bringtoforeground
test TestDTryChangeFocusToL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SwitchLineLatency(TInt aBecomesLatent,
//     TInt aNoLongerLatent);
[Test]
title TestDSwitchLineLatencyL
create testsdkdialogs test
bringtoforeground
test TestDSwitchLineLatencyL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetPageDensePacking(TInt aPageId,
//     TBool aDensePacking);
[Test]
title TestDSetPageDensePackingL
create testsdkdialogs test
bringtoforeground
test TestDSetPageDensePackingL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void ConstructAutoDialogLC(TInt aFlags,
//     TInt aButtonsId);
[Test]
title TestDConstructAutoDialogLC
create testsdkdialogs test
bringtoforeground
test TestDConstructAutoDialogLC
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void DeclareItemAuto(TInt aControlId,
//     TInt aControlType,
//     TAny* aReturnValue);
[Test]
title TestDDeclareItemAutoL
create testsdkdialogs test
bringtoforeground
test TestDDeclareItemAutoL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void Layout(); 
[Test]
title TestDLayoutL
create testsdkdialogs test
bringtoforeground
test TestDLayoutL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TSize PreferredSize(const TSize& aMaxSize) const;
[Test]
title TestDPreferredSizeL
create testsdkdialogs test
bringtoforeground
test TestDPreferredSizeL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C CCoeControl* CreateLineByTypeL(const TDesC& aCaption,
//     TInt aControlId,
//     TInt aControlType,
//     TAny* aReturnValue);
[Test]
title TestDCreateLineByTypeL
create testsdkdialogs test
bringtoforeground
test TestDCreateLineByTypeL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C CCoeControl* CreateLineByTypeL(const TDesC& aCaption,
//     TInt aPageId,
//     TInt aControlId,
//     TInt aControlType,
//     TAny* aReturnValue);
[Test]
title TestDCreateLineByTypePageIdL
create testsdkdialogs test
bringtoforeground
test TestDCreateLineByTypePageIdL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetControlCaptionL(TInt aControlId,const TDesC& aText);
[Test]
title TestDSetControlCaptionTextL
create testsdkdialogs test
bringtoforeground
test TestDSetControlCaptionTextL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetControlCaptionL(TInt aControlId,TInt aResourceId);
[Test]
title TestDSetControlCaptionResourceIdL
create testsdkdialogs test
bringtoforeground
test TestDSetControlCaptionResourceIdL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C CEikLabel* ControlCaption(TInt aControlId) const;
[Test]
title TestDControlCaptionL
create testsdkdialogs test
bringtoforeground
test TestDControlCaptionL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C CCoeControl* Control(TInt aControlId) const;
[Test]
title TestDControlL
create testsdkdialogs test
bringtoforeground
test TestDControlL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C CCoeControl* ControlOrNull(TInt aControlId) const;
[Test]
title TestDControlOrNullL
create testsdkdialogs test
bringtoforeground
test TestDControlOrNullL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C CEikButtonGroupContainer& ButtonGroupContainer() const;
[Test]
title TestDButtonGroupContainerL
create testsdkdialogs test
bringtoforeground
test TestDButtonGroupContainerL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C CEikMover& Title() const;
[Test]
title TestDTitleL
create testsdkdialogs test
bringtoforeground
test TestDTitleL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TInt ActivePageId() const;
[Test]
title TestDActivePageIdL
create testsdkdialogs test
bringtoforeground
test TestDActivePageIdL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void ActivateFirstPageL() const;
[Test]
title TestDActivateFirstPageL
create testsdkdialogs test
bringtoforeground
test TestDActivateFirstPageL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetEditableL( TBool aEditable ) ;
[Test]
title TestDSetEditableL
create testsdkdialogs test
bringtoforeground
test TestDSetEditableL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TBool IsEditable() const ;
[Test]
title TestDIsEditableL
create testsdkdialogs test
bringtoforeground
test TestDIsEditableL
delete test
sendtobackground
[Endtest]

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

// For test function:
// IMPORT_C void FocusChanged(TDrawNow aDrawNow);
[Test]
title TestDFocusChangedL
create testsdkdialogs test
bringtoforeground
test TestDFocusChangedL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual void GetColorUseListL(
//     CArrayFix<TCoeColorUse>& aColorUseList) const;
[Test]
title TestDGetColorUseListL
create testsdkdialogs test
bringtoforeground
test TestDGetColorUseListL
delete test
sendtobackground
[Endtest]

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

// For test function:
// IMPORT_C TCoeInputCapabilities InputCapabilities() const;
[Test]
title TestDInputCapabilitiesL
create testsdkdialogs test
bringtoforeground
test TestDInputCapabilitiesL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void MakeVisible(TBool aVisible);
[Test]
title TestDMakeVisibleL
create testsdkdialogs test
bringtoforeground
test TestDMakeVisibleL
delete test
sendtobackground
[Endtest]

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

// For test function:
// IMPORT_C virtual void PrepareForFocusTransitionL();
[Test]
title TestDPrepareForFocusTransitionL
create testsdkdialogs test
bringtoforeground
test TestDPrepareForFocusTransitionL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual void PageChangedL(TInt aPageId);
[Test]
title TestDPageChangedL
create testsdkdialogs test
bringtoforeground
test TestDPageChangedL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual void LineChangedL(TInt aControlId);
[Test]
title TestDLineChangedL
create testsdkdialogs test
bringtoforeground
test TestDLineChangedL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual SEikControlInfo CreateCustomControlL(TInt aControlType);
[Test]
title TestDCreateCustomControlL
create testsdkdialogs test
bringtoforeground
test TestDCreateCustomControlL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C MEikDialogPageObserver::TFormControlTypes 
//     ConvertCustomControlTypeToBaseControlType(TInt aControlType) const;
[Test]
title TestDConvertCustomControlTypeToBaseControlTypeL
create testsdkdialogs test
bringtoforeground
test TestDConvertCustomControlTypeToBaseControlTypeL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual void GetCustomAutoValue(TAny* aReturnValue,
//     TInt aControlType,
//     const CCoeControl* aControl);
[Test]
title TestDGetCustomAutoValueL
create testsdkdialogs test
bringtoforeground
test TestDGetCustomAutoValueL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void PrepareContext(CWindowGc& aGc) const;
[Test]
title TestDPrepareContextL
create testsdkdialogs test
bringtoforeground
test TestDPrepareContextL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void WriteInternalStateL(RWriteStream& aWriteStream) const;
[Test]
title TestDWriteInternalStateL
create testsdkdialogs test
bringtoforeground
test TestDWriteInternalStateL
delete test
sendtobackground
[Endtest]

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

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

// For test function:
// IMPORT_C TInt GetNumberOfLinesOnPage(TInt aPageIndex) const;
[Test]
title TestDGetNumberOfLinesOnPageL
create testsdkdialogs test
bringtoforeground
test TestDGetNumberOfLinesOnPageL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TInt GetNumberOfPages() const;
[Test]
title TestDGetNumberOfPagesL
create testsdkdialogs test
bringtoforeground
test TestDGetNumberOfPagesL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C CEikCaptionedControl* GetLineByLineAndPageIndex(TInt aLineIndex, 
//     TInt aPageIndex) const;
[Test]
title TestDGetLineByLineAndPageIndexL
create testsdkdialogs test
bringtoforeground
test TestDGetLineByLineAndPageIndexL
delete test
sendtobackground
[Endtest]

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

// For test function:
// IMPORT_C void TryExitL(TInt aButtonId);
[Test]
title TestDTryExitL
create testsdkdialogs test
bringtoforeground
test TestDTryExitL 
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void AdjustAllIdsOnPage(TInt aPageId,TInt aControlIdDelta);
[Test]
title TestDAdjustAllIdsOnPageL
create testsdkdialogs test
bringtoforeground
test TestDAdjustAllIdsOnPageL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void ConstructSleepingDialogL(TInt aResourceId);
[Test]
title TestDConstructSleepingDialogL
create testsdkdialogs test
bringtoforeground
test TestDConstructSleepingDialogL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void ConstructSleepingAlertDialogL(TInt aResourceId);
[Test]
title TestDConstructSleepingAlertDialogL
create testsdkdialogs test
bringtoforeground
test TestDConstructSleepingAlertDialogL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TInt RouseSleepingDialog();
[Test]
title TestDRouseSleepingDialogL
create testsdkdialogs test
bringtoforeground
test TestDRouseSleepingDialogL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void ExitSleepingDialog();
[Test]
title TestDExitSleepingDialogL
create testsdkdialogs test
bringtoforeground
test TestDExitSleepingDialogL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TInt IdOfFocusControl() const;
[Test]
title TestDIdOfFocusControlL
create testsdkdialogs test
bringtoforeground
test TestDIdOfFocusControlL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TInt FindLineIndex(const CCoeControl& aControl) const;
[Test]
title TestDFindLineIndexL
create testsdkdialogs test
bringtoforeground
test TestDFindLineIndexL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C CEikCaptionedControl* Line(TInt aControlId) const;
[Test]
title TestDLineL
create testsdkdialogs test
bringtoforeground
test TestDLineL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C CEikCaptionedControl* CurrentLine() const;
[Test]
title TestDCurrentLineL
create testsdkdialogs test
bringtoforeground
test TestDCurrentLineL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TBool RotateFocusByL(TInt aDelta);
[Test]
title TestDRotateFocusByL
create testsdkdialogs test
bringtoforeground
test TestDRotateFocusByL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TInt ActivePageIndex() const;
[Test]
title TestDActivePageIndexL
create testsdkdialogs test
bringtoforeground
test TestDActivePageIndexL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void ResetLineMinimumSizes();
[Test]
title TestDResetLineMinimumSizesL
create testsdkdialogs test
bringtoforeground
test TestDResetLineMinimumSizesL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C CEikButtonGroupContainer* SwapButtonGroupContainer(
//     CEikButtonGroupContainer* aContainer);
[Test]
title TestDSwapButtonGroupContainerL
create testsdkdialogs test
bringtoforeground
test TestDSwapButtonGroupContainerL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C MEikCommandObserver* ButtonCommandObserver() const;
[Test]
title TestDButtonCommandObserverL
create testsdkdialogs test
bringtoforeground
test TestDButtonCommandObserverL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual TBool OkToExitL(TInt aButtonId);
[Test]
title TestDOkToExitL
create testsdkdialogs test
bringtoforeground
test TestDOkToExitL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual void PreLayoutDynInitL();
[Test]
title TestDPreLayoutDynInitL
create testsdkdialogs test
bringtoforeground
test TestDPreLayoutDynInitL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual void PostLayoutDynInitL();
[Test]
title TestDPostLayoutDynInitL
create testsdkdialogs test
bringtoforeground
test TestDPostLayoutDynInitL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual void SetInitialCurrentLine();
[Test]
title TestDSetInitialCurrentLineL
create testsdkdialogs test
bringtoforeground
test TestDSetInitialCurrentLineL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual void HandleControlStateChangeL(TInt aControlId);
[Test]
title TestDHandleControlStateChangeL
create testsdkdialogs test
bringtoforeground
test TestDHandleControlStateChangeL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual void HandleInteractionRefused(TInt aControlId);
[Test]
title TestDHandleInteractionRefusedL
create testsdkdialogs test
bringtoforeground
test TestDHandleInteractionRefusedL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual void SetSizeAndPosition(const TSize& aSize);
[Test]
title TestDSetSizeAndPositionL
create testsdkdialogs test
bringtoforeground
test TestDSetSizeAndPositionL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual TInt BorderStyle();
[Test]
title TestDBorderStyleL
create testsdkdialogs test
bringtoforeground
test TestDBorderStyleL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual TInt MappedCommandId( TInt aButtonId );
[Test]
title TestDMappedCommandIdL
create testsdkdialogs test
bringtoforeground
test TestDMappedCommandIdL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TInt FormFlagsFromActivePage();
[Test]
title TestDFormFlagsFromActivePageL
create testsdkdialogs test
bringtoforeground
test TestDFormFlagsFromActivePageL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C virtual CEikCaptionedControl* GetFirstLineOnFirstPageOrNull();
[Test]
title TestDGetFirstLineOnFirstPageOrNullL
create testsdkdialogs test
bringtoforeground
test TestDGetFirstLineOnFirstPageOrNullL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void ControlsOnPage(RArray<CEikCaptionedControl*>& aControls, 
//     TInt aPageId) const;
[Test]
title TestDControlsOnPageL
create testsdkdialogs test
bringtoforeground
test TestDControlsOnPageL
delete test
sendtobackground
[Endtest]

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

// For test function:
// IMPORT_C CEikDialogExtension* Extension() const;
[Test]
title TestDExtensionL
create testsdkdialogs test
bringtoforeground
test TestDExtensionL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TInt DialogFlags();
[Test]
title TestDDialogFlagsL
create testsdkdialogs test
bringtoforeground
test TestDDialogFlagsL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void DeclareAutoTextEditorL(TInt aId,TDes* aText);
[Test]
title TestDDeclareAutoTextEditorL
create testsdkdialogs test
bringtoforeground
test TestDDeclareAutoTextEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void DeclareAutoNumberEditor(TInt aId,TInt* aNumber);
[Test]
title TestDDeclareAutoNumberEditorL
create testsdkdialogs test
bringtoforeground
test TestDDeclareAutoNumberEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void DeclareAutoRangeEditor(TInt aId,SEikRange* aRange);
[Test]
title TestDDeclareAutoRangeEditorL
create testsdkdialogs test
bringtoforeground
test TestDDeclareAutoRangeEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void DeclareAutoTimeEditor(TInt aId,TTime* aTime);
[Test]
title TestDDeclareAutoTimeEditorL
create testsdkdialogs test
bringtoforeground
test TestDDeclareAutoTimeEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void DeclareAutoDateEditor(TInt aId,TTime* aDate);
[Test]
title TestDDeclareAutoDateEditorL
create testsdkdialogs test
bringtoforeground
test TestDDeclareAutoDateEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void DeclareAutoTimeAndDateEditor(TInt aId,TTime* aTimeAndDate);
[Test]
title TestDDeclareAutoTimeAndDateEditorL
create testsdkdialogs test
bringtoforeground
test TestDDeclareAutoTimeAndDateEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void DeclareAutoDurationEditor(TInt aId,
//     TTimeIntervalSeconds* aDuration);
[Test]
title TestDDeclareAutoDurationEditorL
create testsdkdialogs test
bringtoforeground
test TestDDeclareAutoDurationEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void DeclareAutoTimeOffsetEditor(TInt aId,
//     TTimeIntervalSeconds* aTimeOffset);
[Test]
title TestDDeclareAutoTimeOffsetEditorL
create testsdkdialogs test
bringtoforeground
test TestDDeclareAutoTimeOffsetEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void DeclareAutoFixedPointEditor(TInt aId,TInt* aValue);
[Test]
title TestDDeclareAutoFixedPointEditorL
create testsdkdialogs test
bringtoforeground
test TestDDeclareAutoFixedPointEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void DeclareAutoSecretEditor(TInt aId,TDes* aText);
[Test]
title TestDDeclareAutoSecretEditorL
create testsdkdialogs test
bringtoforeground
test TestDDeclareAutoSecretEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void AddAutoTextEditorL(const TDesC& aPrompt,
//     TInt aId,
//     TInt aFlags,
//     TInt aWidthInChars,
//     TInt aNoOfLines,
//     TDes* aReturn);
[Test]
title TestDAddAutoTextEditorL
create testsdkdialogs test
bringtoforeground
test TestDAddAutoTextEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void AddAutoGlobalTextEditorL(const TDesC& aPrompt,
//     TInt aId,
//     TInt aFlags,
//     TInt aWidthInChars,
//     TInt aNoOfLines,
//     TInt aTextLimit,
//     CGlobalText* aReturn,
//     TInt aFontControlFlags=EGulFontControlAll,
//     TInt aFontNameFlags=EGulNoSymbolFonts);
[Test]
title TestDAddAutoGlobalTextEditorL
create testsdkdialogs test
bringtoforeground
test TestDAddAutoGlobalTextEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void AddAutoRichTextEditorL(const TDesC& aPrompt,
//     TInt aId,
//     TInt aFlags,
//     TInt aWidthInChars,
//     TInt aNoOfLines,
//     TInt aTextLimit,
//     CGlobalText* aReturn,
//     TInt aFontControlFlags=EGulFontControlAll,
//     TInt aFontNameFlags=EGulNoSymbolFonts);
[Test]
title TestDAddAutoRichTextEditorL
create testsdkdialogs test
bringtoforeground
test TestDAddAutoRichTextEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void AddAutoNumberEditorL(const TDesC& aPrompt,
//     TInt aId,
//     TInt aMin,
//     TInt aMax,
//     TInt* aReturn);
[Test]
title TestDAddAutoNumberEditorL
create testsdkdialogs test
bringtoforeground
test TestDAddAutoNumberEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void AddAutoRangeEditorL(const TDesC& aPrompt,
//     TInt aId,
//     TInt aMin,
//     TInt aMax,
//     HBufC* aSeparatorText,
//     SEikRange* aReturn);
[Test]
title TestDAddAutoRangeEditorL
create testsdkdialogs test
bringtoforeground
test TestDAddAutoRangeEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void AddAutoTimeEditorL(const TDesC& aPrompt,
//     TInt aId,
//     const TTime& aMin,
//     const TTime& aMax,
//     TBool aNoSeconds,
//     TTime* aReturn);
[Test]
title TestDAddAutoTimeEditorL
create testsdkdialogs test
bringtoforeground
test TestDAddAutoTimeEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void AddAutoDateEditorL(const TDesC& aPrompt,
//     TInt aId,
//     const TTime& aMin,
//     const TTime& aMax, 
//     TBool aNoPopout,
//     TTime* aReturn);
[Test]
title TestDAddAutoDateEditorL
create testsdkdialogs test
bringtoforeground
test TestDAddAutoDateEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void AddAutoTimeAndDateEditorL(const TDesC& aPrompt,
//     TInt aId,
//     const TTime& aMin,
//     const TTime& aMax,
//     TBool aNoSeconds,
//     TBool aNoPopout,
//     HBufC* aInterveningText,
//     TTime* aReturn);
[Test]
title TestDAddAutoTimeAndDateEditorL
create testsdkdialogs test
bringtoforeground
test TestDAddAutoTimeAndDateEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void AddAutoDurationEditorL(const TDesC& aPrompt,
//     TInt aId,
//     const TTimeIntervalSeconds& aMin,
//     const TTimeIntervalSeconds& aMax,
//     TBool aNoSeconds,
//     TTimeIntervalSeconds* aReturn);
[Test]
title TestDAddAutoDurationEditorL
create testsdkdialogs test
bringtoforeground
test TestDAddAutoDurationEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void AddAutoTimeOffsetEditorL(const TDesC& aPrompt,
//     TInt aId,
//     const TTimeIntervalSeconds& aMin,
//     const TTimeIntervalSeconds& aMax,
//     TBool aNoSeconds,
//     TTimeIntervalSeconds* aReturn);
[Test]
title TestDAddAutoTimeOffsetEditorL
create testsdkdialogs test
bringtoforeground
test TestDAddAutoTimeOffsetEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void AddAutoFloatEditorL(const TDesC& aPrompt,
//     TInt aId,
//     const TReal& aMin,
//     const TReal& aMax,
//     TReal* aReturn);
[Test]
title TestDAddAutoFloatEditorL
create testsdkdialogs test
bringtoforeground
test TestDAddAutoFloatEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void AddAutoFixedPointEditorL(const TDesC& aPrompt,
//     TInt aId,
//     TInt aMin,
//     TInt aMax,
//     TInt* aRetValue,
//     TInt aDecimalPlaces);
[Test]
title TestDAddAutoFixedPointEditorL
create testsdkdialogs test
bringtoforeground
test TestDAddAutoFixedPointEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void AddAutoSecretEditorL(const TDesC& aPrompt,
//     TInt aId,
//     TDes* aReturn);
[Test]
title TestDAddAutoSecretEditorL
create testsdkdialogs test
bringtoforeground
test TestDAddAutoSecretEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetLabelL(TInt aControlId, const TDesC& aDes);
[Test]
title TestDSetLabelByDesL
create testsdkdialogs test
bringtoforeground
test TestDSetLabelByDesL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetLabelL(TInt aControlId, TInt aResourceId);
[Test]
title TestDSetLabelByResourceIdL
create testsdkdialogs test
bringtoforeground
test TestDSetLabelByResourceIdL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetLabelReserveLengthL(TInt aControlId, TInt aLength);
[Test]
title TestDSetLabelReserveLengthL
create testsdkdialogs test
bringtoforeground
test TestDSetLabelReserveLengthL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetEdwinTextL(TInt aControlId, const TDesC* aDes);
[Test]
title TestDSetEdwinTextL
create testsdkdialogs test
bringtoforeground
test TestDSetEdwinTextL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetTextEditorTextL(TInt aControlId,const CGlobalText* aGlobalText);
[Test]
title TestDSetTextEditorTextL
create testsdkdialogs test
bringtoforeground
test TestDSetTextEditorTextL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void ResetSecretEditor(TInt aControlId);
[Test]
title TestDResetSecretEditorL
create testsdkdialogs test
bringtoforeground
test TestDResetSecretEditorL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetFloatingPointEditorValueL(TInt aControlId, const TReal* aValue);
[Test]
title TestDSetFloatingPointEditorValueL
create testsdkdialogs test
bringtoforeground
test TestDSetFloatingPointEditorValueL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetFixedPointEditorValueL(TInt aControlId,TInt aValue);
[Test]
title TestDSetFixedPointEditorValueL
create testsdkdialogs test
bringtoforeground
test TestDSetFixedPointEditorValueL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetFixedPointEditorDecimal(TInt aControlId, TInt aDecimal);
[Test]
title TestDSetFixedPointEditorDecimalL
create testsdkdialogs test
bringtoforeground
test TestDSetFixedPointEditorDecimalL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetNumberEditorMinAndMax(TInt aControlId, TInt aMinimumValue, TInt aMaximumValue);
[Test]
title TestDSetNumberEditorMinAndMaxL
create testsdkdialogs test
bringtoforeground
test TestDSetNumberEditorMinAndMaxL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetNumberEditorValue(TInt aControlId, TInt aNumber);
[Test]
title TestDSetNumberEditorValueL
create testsdkdialogs test
bringtoforeground
test TestDSetNumberEditorValueL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetFloatEditorMinAndMax(TInt aControlId,TInt aMin,TInt aMax);
[Test]
title TestDSetFloatEditorMinAndMaxL
create testsdkdialogs test
bringtoforeground
test TestDSetFloatEditorMinAndMaxL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetFloatEditorValueL(TInt aControlId,TReal aFloat);
[Test]
title TestDSetFloatEditorValueL
create testsdkdialogs test
bringtoforeground
test TestDSetFloatEditorValueL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetRangeEditorMinAndMax(TInt aControlId, TInt aMinimumValue, TInt aMaximumValue);
[Test]
title TestDSetRangeEditorMinAndMaxL
create testsdkdialogs test
bringtoforeground
test TestDSetRangeEditorMinAndMaxL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetRangeEditorValue(TInt aControlId, const SEikRange& aRange);
[Test]
title TestDSetRangeEditorValueL
create testsdkdialogs test
bringtoforeground
test TestDSetRangeEditorValueL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetTTimeEditorMinAndMax(TInt aControlId, const TTime& aMinimumTime, const TTime& aMaximumTime);
[Test]
title TestDSetTTimeEditorMinAndMaxL
create testsdkdialogs test
bringtoforeground
test TestDSetTTimeEditorMinAndMaxL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetTTimeEditorValue(TInt aControlId, const TTime& aTime);
[Test]
title TestDSetTTimeEditorValueL
create testsdkdialogs test
bringtoforeground
test TestDSetTTimeEditorValueL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetDurationEditorMinAndMax(TInt aControlId, const TTimeIntervalSeconds& aMinimumDuration, const TTimeIntervalSeconds& aMaximumDuration);
[Test]
title TestDSetDurationEditorMinAndMaxL
create testsdkdialogs test
bringtoforeground
test TestDSetDurationEditorMinAndMaxL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetDurationEditorValue(TInt aControlId, const TTimeIntervalSeconds& aDuration);
[Test]
title TestDSetDurationEditorValueL
create testsdkdialogs test
bringtoforeground
test TestDSetDurationEditorValueL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetTimeOffsetEditorMinAndMax(TInt aControlId, const TTimeIntervalSeconds& aMinimumTimeOffset, const TTimeIntervalSeconds& aMaximumTimeOffset);
[Test]
title TestDSetTimeOffsetEditorMinAndMaxL
create testsdkdialogs test
bringtoforeground
test TestDSetTimeOffsetEditorMinAndMaxL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetTimeOffsetEditorValue(TInt aControlId, const TTimeIntervalSeconds& aTimeOffset);
[Test]
title TestDSetTimeOffsetEditorValueL
create testsdkdialogs test
bringtoforeground
test TestDSetTimeOffsetEditorValueL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetListBoxCurrentItem(TInt aControlId, TInt aItem);
[Test]
title TestDSetListBoxCurrentItemL
create testsdkdialogs test
bringtoforeground
test TestDSetListBoxCurrentItemL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetFileNameL(TInt aControlId, const TDesC* aFileName);
[Test]
title TestDSetFileNameL
create testsdkdialogs test
bringtoforeground
test TestDSetFileNameL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void GetLabelText(TDes& aDes,TInt aControlId) const;
[Test]
title TestDGetLabelTextL
create testsdkdialogs test
bringtoforeground
test TestDGetLabelTextL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void GetEdwinText(TDes& aDes,TInt aControlId) const;
[Test]
title TestDGetEdwinTextL
create testsdkdialogs test
bringtoforeground
test TestDGetEdwinTextL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void GetTextEditorText(CGlobalText*& aGlobalText,TInt aControlId);
[Test]
title TestDGetTextEditorTextL
create testsdkdialogs test
bringtoforeground
test TestDGetTextEditorTextL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void GetSecretEditorText(TDes& aDes,TInt aControlId) const;
[Test]
title TestDGetSecretEditorTextL
create testsdkdialogs test
bringtoforeground
test TestDGetSecretEditorTextL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TReal FloatingPointEditorValue(TInt aControlId) const;
[Test]
title TestDFloatingPointEditorValueL
create testsdkdialogs test
bringtoforeground
test TestDFloatingPointEditorValueL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TInt FixedPointEditorValue(TInt aControlId) const;
[Test]
title TestDFixedPointEditorValueL
create testsdkdialogs test
bringtoforeground
test TestDFixedPointEditorValueL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TInt FixedPointEditorDecimal(TInt aControlId) const;
[Test]
title TestDFixedPointEditorDecimalL
create testsdkdialogs test
bringtoforeground
test TestDFixedPointEditorDecimalL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TReal FloatEditorValue(TInt aControlId) const;
[Test]
title TestDFloatEditorValueL
create testsdkdialogs test
bringtoforeground
test TestDFloatEditorValueL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TInt NumberEditorValue(TInt aControlId) const;
[Test]
title TestDNumberEditorValueL
create testsdkdialogs test
bringtoforeground
test TestDNumberEditorValueL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C SEikRange RangeEditorValue(TInt aControlId) const;
[Test]
title TestDRangeEditorValueL
create testsdkdialogs test
bringtoforeground
test TestDRangeEditorValueL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TTime TTimeEditorValue(TInt aControlId) const;
[Test]
title TestDTTimeEditorValueL
create testsdkdialogs test
bringtoforeground
test TestDTTimeEditorValueL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TTimeIntervalSeconds DurationEditorValue(TInt aControlId) const;
[Test]
title TestDDurationEditorValueL
create testsdkdialogs test
bringtoforeground
test TestDDurationEditorValueL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TTimeIntervalSeconds TimeOffsetEditorValue(TInt aControlId) const;
[Test]
title TestDTimeOffsetEditorValueL
create testsdkdialogs test
bringtoforeground
test TestDTimeOffsetEditorValueL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void GetAutoValuesFromPage(CEikCapCArray* aLines);
[Test]
title TestDGetAutoValuesFromPageL
create testsdkdialogs test
bringtoforeground
test TestDGetAutoValuesFromPageL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C TInt ListBoxCurrentItem(TInt aControlId) const;
[Test]
title TestDListBoxCurrentItemL
create testsdkdialogs test
bringtoforeground
test TestDListBoxCurrentItemL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void GetFileName(TFileName* aFileName,TInt aControlId) const;
[Test]
title TestDGetFileNameL
create testsdkdialogs test
bringtoforeground
test TestDGetFileNameL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetFileNameL(TInt aControlId, const TDesC* aFileName);
[Test]
title TestDUpdatePageL
create testsdkdialogs test
bringtoforeground
test TestDUpdatePageL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void UpdatePageL(TBool aRedraw);
[Test]
title TestDHandleDialogPageEventL
create testsdkdialogs test
bringtoforeground
test TestDHandleDialogPageEventL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void PublishDialogL(TInt aDialogIndex, TUid aCatUid = KNullUid);
[Test]
title TestDPublishDialogL
create testsdkdialogs test
bringtoforeground
test TestDPublishDialogL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetMediatorObserver(MAknDialogMediatorObserver* aObserver);
[Test]
title TestDSetMediatorObserverL
create testsdkdialogs test
bringtoforeground
test TestDSetMediatorObserverL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SlideDialog();
[Test]
title TestDSlideDialogL
create testsdkdialogs test
bringtoforeground
test TestDSlideDialogL
delete test
sendtobackground
[Endtest]

// For test function:
// IMPORT_C void SetMultilineQuery(TBool aIsMultilineQuery);
[Test]
title TestDSetMultilineQueryL
create testsdkdialogs test
bringtoforeground
test TestDSetMultilineQueryL
delete test
sendtobackground
[Endtest]
