equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 #include "UtilityClearPanicDlg.h" |
|
19 |
|
20 // EPOC Includes |
|
21 #include <w32std.h> |
|
22 |
|
23 /*@{*/ |
|
24 /// Constant Literals used. |
|
25 _LIT(KCmdUtilityClearPanicDlg, "utilityClearPanicDlg"); |
|
26 /*@}*/ |
|
27 |
|
28 CUtilityClearPanicDlg::CUtilityClearPanicDlg() |
|
29 { |
|
30 SetTestStepName(KCmdUtilityClearPanicDlg); |
|
31 } |
|
32 |
|
33 enum TVerdict CUtilityClearPanicDlg::doTestStepL() |
|
34 { |
|
35 RWsSession ws; |
|
36 User::LeaveIfError(ws.Connect()); |
|
37 CleanupClosePushL(ws); |
|
38 |
|
39 TKeyEvent event; |
|
40 event.iCode=EKeyEnter; |
|
41 event.iScanCode=EKeyEnter; |
|
42 event.iModifiers=0; |
|
43 event.iRepeats=0; |
|
44 ws.SimulateKeyEvent(event); |
|
45 |
|
46 ws.Flush(); |
|
47 CleanupStack::PopAndDestroy(&ws); |
|
48 |
|
49 return TestStepResult(); |
|
50 } |
|