24
|
1 |
// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
//
|
|
15 |
|
|
16 |
#include "te_mmnotifyuepositioningreset.h"
|
|
17 |
#include <e32test.h>
|
|
18 |
#include "TE_EtelMMTestStepBase.h"
|
|
19 |
#include "testdef.h"
|
|
20 |
|
|
21 |
|
|
22 |
/**
|
|
23 |
* Client makes its own location request to the network and it waits for the notification of incoming A-GPS assistance data from the TSY.
|
|
24 |
* Location information is computed using the A-GPS assistance data received from the network
|
|
25 |
* and sends the location information report to the network/TSY
|
|
26 |
* On completion of the MOLR request incoming location estimate and velocity estimate is sent to the client
|
|
27 |
*/
|
|
28 |
|
|
29 |
enum TVerdict CTestNotifyUePositioningReset::doTestStepL()
|
|
30 |
{
|
|
31 |
TRequestStatus status;
|
|
32 |
RMobileLocationServices::TUePosTechnology posTech;
|
|
33 |
iLocationSvc.NotifyResetUePositioningInformation(status,posTech);
|
|
34 |
|
|
35 |
User::WaitForRequest(status);
|
|
36 |
TEST(status == KErrNone);
|
|
37 |
TEST(posTech == DMMTSY_PHONE_LCS_UE_POS_TECH);
|
|
38 |
return TestStepResult();
|
|
39 |
}
|