[Define]
LOOP_COUNTER 5
KErrNotFound -1
KErrArgument -6
EGpsSETAssisted 1
EGpsSETBased 2
EAutonomousGps 4
EAFLT 8
EECID 16
EEOTD 32
EOTDOA 64
ETIA801 128
ERRLP 256
ERRC 512
CAP0 387
CAP1 3
CAP2 643
CAP3 389
NEGCAP -1
INVCAP 1000
[Enddefine]



[Test]
title TCPosLandmarkSearch0001
create testlmksearchapi foobar
foobar CPosLandmarkSearch_NewL
delete foobar
[Endtest] 

[Test]
title TCPosLandmarkSearch0002
create testlmksearchapi foobar
foobar CPosLandmarkSearch_MaxNumOfMatches
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0003
create testlmksearchapi foobar
foobar CPosLandmarkSearch_SetMaxNumOfMatches
delete foobar
[Endtest]  

[Test]
title TCPosLandmarkSearch0004
create testlmksearchapi foobar
foobar CPosLandmarkSearch_SetMaxNumOfMatches 10
delete foobar
[Endtest] 

[Test]
title TCPosLandmarkSearch0005
create testlmksearchapi foobar
foobar CPosLandmarkSearch_StartLandmarkSearchL
delete foobar
[Endtest] 

[Test]
title TCPosLandmarkSearch0006
allownextresult KErrArgument
create testlmksearchapi foobar
foobar CPosLandmarkSearch_StartLandmarkSearchL 1
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0007
create testlmksearchapi foobar
foobar CPosLandmarkSearch_StartLandmarkSearchL1
delete foobar
[Endtest] 

[Test]
title TCPosLandmarkSearch0008
create testlmksearchapi foobar
foobar CPosLandmarkSearch_StartLandmarkSearchL2
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0009
create testlmksearchapi foobar
foobar CPosLandmarkSearch_NumOfMatches
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0010
create testlmksearchapi foobar
foobar CPosLandmarkSearch_MatchIteratorL
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0011
create testlmksearchapi foobar
foobar CPosLandmarkSearch_SetDisplayData
delete foobar
[Endtest] 

[Test]
title TCPosLandmarkSearch0012
create testlmksearchapi foobar
foobar CPosLandmarkSearch_UnsetDisplayData
delete foobar
[Endtest]


[Test]
title TCPosLandmarkSearch0013
create testlmksearchapi foobar
foobar CPosLmAreaCriteria_NewLC 45 60 150 120
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0014
allownextresult KErrArgument
create testlmksearchapi foobar
foobar CPosLmAreaCriteria_NewLC 100 100 -450 120
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0015
create testlmksearchapi foobar
foobar CPosLmAreaCriteria_GetSearchArea 
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0016
create testlmksearchapi foobar
foobar CPosLmAreaCriteria_SetSearchArea 50 60 140 130
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0017
create testlmksearchapi foobar
foobar CPosLmCategoryCriteria_NewLC 
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0018
create testlmksearchapi foobar
foobar CPosLmCategoryCriteria_CategoryItemId 
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0019
create testlmksearchapi foobar
foobar CPosLmCategoryCriteria_GlobalCategory 
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0020
create testlmksearchapi foobar
foobar CPosLmCategoryCriteria_CategoryName 
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0021
create testlmksearchapi foobar
foobar CPosLmCategoryCriteria_SetCategoryItemId 
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0022
create testlmksearchapi foobar
foobar CPosLmCategoryCriteria_SetGlobalCategory 
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0023
create testlmksearchapi foobar
foobar CPosLmCategoryCriteria_SetCategoryNameL Nokia
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0024
allownextresult KErrArgument
create testlmksearchapi foobar
foobar CPosLmCategoryCriteria_SetCategoryNameL aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0025
create testlmksearchapi foobar
foobar CPosLmCatNameCriteria_NewLC 
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0026
create testlmksearchapi foobar
foobar CPosLmCatNameCriteria_SearchPattern 
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0027
create testlmksearchapi foobar
foobar CPosLmCatNameCriteria_SetSearchPatternL Bangalore
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0028
allownextresult KErrArgument
create testlmksearchapi foobar
foobar CPosLmCatNameCriteria_SetSearchPatternL aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0029
create testlmksearchapi foobar
foobar CPosLmCompositeCriteria_NewLC_AND
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0030
create testlmksearchapi foobar
foobar CPosLmCompositeCriteria_CompositionType
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0031
create testlmksearchapi foobar
foobar CPosLmCompositeCriteria_SetCompositionType
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0032
create testlmksearchapi foobar
foobar CPosLmCompositeCriteria_NumOfArguments
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0033
create testlmksearchapi foobar
foobar CPosLmCompositeCriteria_Argument1
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0034
create testlmksearchapi foobar
foobar CPosLmCompositeCriteria_Argument2
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0035
create testlmksearchapi foobar
foobar CPosLmCompositeCriteria_AddArgument
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0036
create testlmksearchapi foobar
foobar CPosLmCompositeCriteria_RemoveArgument
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0037
create testlmksearchapi foobar
foobar CPosLmCompositeCriteria_ClearArguments
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0038
create testlmksearchapi foobar
foobar CPosLmDisplayData_NewL
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0039
create testlmksearchapi foobar
foobar CPosLmDisplayData_NewItemIndex
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0040
create testlmksearchapi foobar
foobar CPosLmDisplayData_Count
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0041
create testlmksearchapi foobar
foobar CPosLmDisplayData_Reset
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0042
create testlmksearchapi foobar 
foobar CPosLmDisplayData_DisplayItem 0
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0043
create testlmksearchapi foobar  
foobar CPosLmDisplayData_DisplayItem 1
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0044
create testlmksearchapi foobar  
foobar CPosLmDisplayData_SetPartialReadParametersL 0
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0045
create testlmksearchapi foobar  
foobar CPosLmDisplayData_SetPartialReadParametersL 1
delete foobar
[Endtest]


[Test]
title TCPosLandmarkSearch0046
create testlmksearchapi foobar  
foobar CPosLmDisplayData_UnsetPartialReadParameters
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0047
create testlmksearchapi foobar
foobar CPosLmNearestCriteria_NewLC
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0048
create testlmksearchapi foobar
foobar CPosLmNearestCriteria_GetCoordinate
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0049
create testlmksearchapi foobar
foobar CPosLmNearestCriteria_SetCoordinate
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0050
create testlmksearchapi foobar
foobar CPosLmNearestCriteria_UseCoverageRadius 0
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0051
create testlmksearchapi foobar
foobar CPosLmNearestCriteria_UseCoverageRadius 1
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0052
create testlmksearchapi foobar
foobar CPosLmNearestCriteria_SetUseCoverageRadius 0
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0053
create testlmksearchapi foobar
foobar CPosLmNearestCriteria_SetUseCoverageRadius 1
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0054
create testlmksearchapi foobar
foobar CPosLmNearestCriteria_MaxDistance
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0055
create testlmksearchapi foobar
foobar CPosLmNearestCriteria_SetMaxDistance
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0056
create testlmksearchapi foobar
foobar CPosLmTextCriteria_NewLC
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0057
create testlmksearchapi foobar
foobar CPosLmTextCriteria_Text
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0058
create testlmksearchapi foobar
foobar CPosLmTextCriteria_SetTextL
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0059
create testlmksearchapi foobar
foobar CPosLmTextCriteria_AttributesToSearch
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0060
create testlmksearchapi foobar
foobar CPosLmTextCriteria_SetAttributesToSearch
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0061
create testlmksearchapi foobar
foobar CPosLmTextCriteria_GetPositionFieldsToSearchL
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0062
create testlmksearchapi foobar
foobar CPosLmTextCriteria_SetPositionFieldsToSearchL
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0063
create testlmksearchapi foobar
foobar CPosLmTextCriteria_ClearPositionFieldsToSearch
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0064
create testlmksearchapi foobar
foobar CPosLmIdListCriteria_NewLC
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0065
create testlmksearchapi foobar
foobar CPosLmIdListCriteria_SetLandmarkIdsL
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0066
create testlmksearchapi foobar
foobar CPosLmIdListCriteria_GetLandmarkIdsL
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0067
create testlmksearchapi foobar
foobar CPosLmDisplayItem_NewL1 0
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0068
create testlmksearchapi foobar
foobar CPosLmDisplayItem_NewL1 4
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0069
create testlmksearchapi foobar
foobar CPosLmDisplayItem_NewL2 0
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0070
create testlmksearchapi foobar
foobar CPosLmDisplayItem_NewL2 4
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0071
create testlmksearchapi foobar
foobar CPosLmDisplayItem_DisplayItemType 0
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0072
create testlmksearchapi foobar
foobar CPosLmDisplayItem_DisplayItemType 1
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0073
create testlmksearchapi foobar
foobar CPosLmDisplayItem_DatabaseIndex 0
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0074
create testlmksearchapi foobar
foobar CPosLmDisplayItem_DatabaseIndex 1
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0075
create testlmksearchapi foobar
foobar CPosLmDisplayItem_Category 0
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0076
create testlmksearchapi foobar
foobar CPosLmDisplayItem_Category 1
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0077
create testlmksearchapi foobar
foobar CPosLmDisplayItem_Landmark 0
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0078
create testlmksearchapi foobar
foobar CPosLmDisplayItem_Landmark 1
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0079
create testlmksearchapi foobar
foobar CPosLmDisplayItem_GetDistance 
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0080
allownextresult KErrArgument
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_NewL 0
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0081
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_NewL 1
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0082
allownextresult KErrArgument
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_SetDatabasesToSearchL
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0083
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_DatabasesToSearchL
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0084
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_SetMaxNumOfMatches 0
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0085
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_SetMaxNumOfMatches 1
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0086
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_StartLandmarkSearchL1
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0087
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_StartLandmarkSearchL2
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0088
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_StartLandmarkSearchL3
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0089
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_StartCategorySearchL
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0090
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_NumOfSearchErrors
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0091
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_GetSearchError
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0092
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_TotalNumOfMatches
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0093
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_NumOfMatches 0
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0094
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_NumOfMatches 1
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0095
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_NumOfDatabasesToSearch
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0096
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_DatabaseUriPtr 0
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0097
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_DatabaseUriPtr 1
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0098
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_MatchIteratorL
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0099
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_SetDisplayData
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0100
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_UnsetDisplayData
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0101
create testlmksearchapi foobar
foobar CPosLmMultiDbSearch_MaxNumOfMatches
delete foobar
[Endtest]

[Test]
title TCPosLandmarkSearch0102
create testlmksearchapi foobar
foobar CPosLmCompositeCriteria_NewLC_OR
delete foobar
[Endtest]
