|
1 /** |
|
2 * Copyright (c) 2008-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 |
|
19 |
|
20 /** |
|
21 @file TwoPsysActiveStep.h |
|
22 @internalTechnology |
|
23 */ |
|
24 #ifndef __TWOPSYSACTIVE_STEP_H__ |
|
25 #define __TWOPSYSACTIVE_STEP_H__ |
|
26 #include <test/testexecutestepbase.h> |
|
27 #include "Te_defproxySuiteStepBase.h" |
|
28 |
|
29 /** |
|
30 * Two PSYs - Internal GPS PSY and Network PSY |
|
31 * |
|
32 * PSY1 is not in Active and Ready status |
|
33 * |
|
34 * 1. PSY1 is given a fix before timeshift timeout. Fix from PSY1 is used |
|
35 * 2. PSY1 gives a error code, and PSY2 is able to give a fix. then fix |
|
36 * from PSY2 is used. |
|
37 * 3. PSY1 does not response within timeshift. Then PSY2 will be tried. If |
|
38 * PSY2 is able to give a fix, then fix from PSY2 is used. |
|
39 * 4. Both PSY1 and PSY2 gives a error code, then error code from PSY1 is |
|
40 * used. |
|
41 * 5. PSY1 does not give a fix within timeshift. Then PSY2 is tried. If then |
|
42 * PSY1 gives a fix, fix from PSY1 is used. |
|
43 * 6. PSY1 does not give a fix within timeshift. Then PSY2 is tried but gives |
|
44 * an error code, after that, PSY1 gives a fix. Then fix from PSY1 is used. |
|
45 * 7. PSY1 does not give a fix within timeshift. Then PSY2 is tried. if then |
|
46 * PSY1 gives a error code, after that PSY2 gives a fix, then fix from |
|
47 * PSY2 is used. |
|
48 */ |
|
49 |
|
50 class CTwoPsysActiveStep : public CTe_defproxySuiteStepBase |
|
51 { |
|
52 public: |
|
53 CTwoPsysActiveStep(); |
|
54 ~CTwoPsysActiveStep(); |
|
55 virtual TVerdict doTestStepPreambleL(); |
|
56 virtual TVerdict doTestStepL(); |
|
57 virtual TVerdict doTestStepPostambleL(); |
|
58 |
|
59 }; |
|
60 |
|
61 _LIT(KTwoPsysActiveStep,"TwoPsysActiveStep"); |
|
62 |
|
63 #endif |