|
1 #ifndef __AVAILABILITYFALLBACK_STEP_H__ |
|
2 #define __AVAILABILITYFALLBACK_STEP_H__ |
|
3 |
|
4 /** |
|
5 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
6 * All rights reserved. |
|
7 * This component and the accompanying materials are made available |
|
8 * under the terms of "Eclipse Public License v1.0" |
|
9 * which accompanies this distribution, and is available |
|
10 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
11 * |
|
12 * Initial Contributors: |
|
13 * Nokia Corporation - initial contribution. |
|
14 * |
|
15 * Contributors: |
|
16 * |
|
17 * Description: |
|
18 * Availability Fallback |
|
19 * Module Disable / Enable |
|
20 * Precondition: |
|
21 * Dummy1 disabled. PSY order: Psy6 Dummy3 |
|
22 * Psy6 programmed for 2 seconds delay for every request. |
|
23 * - 1st request -> KErrNone from PSY6 |
|
24 * - 2nd request, small delay, disable PSY6 |
|
25 * -> KErrNone from Dummy3 |
|
26 * - 3rd request, enable PSY6 -> KErrNone from Dummy3 |
|
27 * - 4th request -> KErrNone from PSY6 |
|
28 * - 5th request, no delay, disable PSY6 (during request) |
|
29 * -> KErrNone from Dummy3 |
|
30 * - All disabled, 6th request -> KErrNotFound |
|
31 * - enable PSY6, 7th request -> KErrNone from PSY6 |
|
32 * |
|
33 * |
|
34 */ |
|
35 |
|
36 |
|
37 |
|
38 /** |
|
39 @file AvailabilityFallbackStep.h |
|
40 @internalTechnology |
|
41 */ |
|
42 |
|
43 #include <test/testexecutestepbase.h> |
|
44 #include "te_defproxysuitestepbase.h" |
|
45 |
|
46 class CAvailabilityFallbackStep : public CTe_defproxySuiteStepBase |
|
47 { |
|
48 public: |
|
49 CAvailabilityFallbackStep(); |
|
50 ~CAvailabilityFallbackStep(); |
|
51 virtual TVerdict doTestStepPreambleL(); |
|
52 virtual TVerdict doTestStepL(); |
|
53 virtual TVerdict doTestStepPostambleL(); |
|
54 }; |
|
55 |
|
56 _LIT(KAvailabilityFallbackStep,"AvailabilityFallbackStep"); |
|
57 |
|
58 #endif |