[Define]
LOOP_COUNTER 5
KErrNotFound -1
KErrNotSupported -5
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 TCPosLmDatabaseManager0001
create testdbmanagementapi foobar
foobar CPosLmDatabaseManager_NewL
delete foobar
[Endtest] 

[Test]
title TCPosLmDatabaseManager0002
create testdbmanagementapi foobar
foobar CPosLmDatabaseManager_DefaultDatabaseUriLC
delete foobar
[Endtest] 

[Test]
title TCPosLmDatabaseManager0003
create testdbmanagementapi foobar
foobar CPosLmDatabaseManager_SetDefaultDatabaseUriL
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0004
create testdbmanagementapi foobar
foobar CPosLmDatabaseManager_NotifyDatabaseEvent
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0005
create testdbmanagementapi foobar
foobar CPosLmDatabaseManager_CancelNotifyDatabaseEvent
delete foobar
[Endtest]


[Test]
title TCPosLmDatabaseManager0006
allownextresult KErrNotFound
create testdbmanagementapi foobar
foobar CPosLmDatabaseManager_DatabaseUriFromLastEventLC
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0007
create testdbmanagementapi foobar
foobar CPosLmDatabaseManager_ListDatabasesLC
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0008
create testdbmanagementapi foobar
foobar CPosLmDatabaseManager_ListDatabasesL
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0009
allownextresult KErrNotSupported
create testdbmanagementapi foobar
foobar CPosLmDatabaseManager_RegisterDatabaseL
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0010
allownextresult KErrNotSupported
create testdbmanagementapi foobar
foobar CPosLmDatabaseManager_UnregisterDatabaseL
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0011
allownextresult KErrNotSupported
create testdbmanagementapi foobar
foobar CPosLmDatabaseManager_UnregisterAllDatabasesL
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0012
create testdbmanagementapi foobar
foobar CPosLmDatabaseManager_ModifyDatabaseSettingsL
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0013
create testdbmanagementapi foobar
foobar CPosLmDatabaseManager_GetDatabaseInfoL
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0014
create testdbmanagementapi foobar
foobar CPosLmDatabaseManager_DatabaseExistsL
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0015
create testdbmanagementapi foobar
foobar CPosLmDatabaseManager_CreateDatabaseL
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0016
create testdbmanagementapi foobar
foobar CPosLmDatabaseManager_DeleteDatabaseL
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0017
create testdbmanagementapi foobar
foobar CPosLmDatabaseManager_CopyDatabaseL
delete foobar
[Endtest]


[Test]
title TCPosLmDatabaseManager0018
create testdbmanagementapi foobar
foobar HPosLmDatabaseInfo_NewLC1
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0019
create testdbmanagementapi foobar
foobar HPosLmDatabaseInfo_NewLC2
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0020
create testdbmanagementapi foobar
foobar HPosLmDatabaseInfo_NewL1
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0021
create testdbmanagementapi foobar
foobar HPosLmDatabaseInfo_NewL2
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0022
create testdbmanagementapi foobar
foobar HPosLmDatabaseInfo_DatabaseUri
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0023
create testdbmanagementapi foobar
foobar HPosLmDatabaseInfo_Protocol1
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0024
create testdbmanagementapi foobar
foobar HPosLmDatabaseInfo_Protocol2
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0025
create testdbmanagementapi foobar
foobar HPosLmDatabaseInfo_IsDefault 
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0026
create testdbmanagementapi foobar
foobar HPosLmDatabaseInfo_DatabaseMedia
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0027
create testdbmanagementapi foobar
foobar HPosLmDatabaseInfo_DatabaseDrive
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0028
create testdbmanagementapi foobar
foobar HPosLmDatabaseInfo_Settings1
delete foobar
[Endtest]


[Test]
title TCPosLmDatabaseManager0029
create testdbmanagementapi foobar
foobar HPosLmDatabaseInfo_Settings1
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0030
create testdbmanagementapi foobar
foobar HPosLmDatabaseInfo_Size
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0031
create testdbmanagementapi foobar
foobar TPosLmDatabaseSettings_TPosLmDatabaseSettings
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0032
create testdbmanagementapi foobar
foobar TPosLmDatabaseSettings_IsAttributeSet 0
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0033
create testdbmanagementapi foobar
foobar TPosLmDatabaseSettings_IsAttributeSet 1
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0034
create testdbmanagementapi foobar
foobar TPosLmDatabaseSettings_UnsetAttribute
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0035
create testdbmanagementapi foobar
foobar TPosLmDatabaseSettings_SetDatabaseName
delete foobar
[Endtest]

[Test]
title TCPosLmDatabaseManager0036
create testdbmanagementapi foobar
foobar TPosLmDatabaseSettings_DatabaseName
delete foobar
[Endtest]