commonservices/sysutil/test/data/te_sysutildata.ini
changeset 0 4e1aa6a622a0
child 21 ccb4f6b3db21
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/commonservices/sysutil/test/data/te_sysutildata.ini	Tue Feb 02 00:53:00 2010 +0200
@@ -0,0 +1,872 @@
+[ResourceFiles]
+SW =V 04.02\n4-06-01\nNHL-2\n(c)NMP
+LangSW =V 04.02\n4-06-01\nNHL-2\n(c)NMP
+Lang =a
+PRInfo =custom build\n20090626\nusb fix xyz
+
+[NoNewLines]
+SW =V 04.024-06-01NHL-2(c)NMP
+LangSW =V 04.024-06-01NHL-2(c)NMP
+PRInfo =custom build20090626usb fix xyz
+
+//for te_sysutilscheckdriveletter test
+//These represent the drive letters that are used for the mmc drive
+//and ffs drive  
+[DriveLetter]
+WINSFFS =2
+OTHERFFS =2
+WINSMMC =19
+OTHERMMC =4
+
+[NoIni]
+FilePresent = EFalse
+
+ManufacturerName = Symbian
+ManufacturerNameError = 1
+
+ModelName = Symbian
+ModelNameError = 1
+
+ModelCode = Symbian
+ModelCodeError = 1
+
+RevisionID = 00.00
+RevisionIDError = 1
+
+DefaultDeviceName = Symbian
+DefaultDeviceNameError = 1
+
+UIPlatformName = Symbian
+UIPlatformNameError = 1
+
+UIPlatformVersion = 0.0
+UIPlatformVersionStringError = 1
+
+UIPlatformVersionMajor = 0
+UIPlatformVersionMinor = 0
+UIPlatformVersionIntError = 1
+
+OSVersion = 0.0
+OSVersionStringError = 1
+
+OSVersionMajor = 0
+OSVersionMinor = 0
+OSVersionIntError = 1
+
+DeviceCreatorAttribute = 
+DeviceCreatorAttributeError = -1
+
+[EmptyIni]
+FilePresent = ETrue
+
+ManufacturerName = Symbian
+ManufacturerNameError = 1
+
+ModelName = Symbian
+ModelNameError = 1
+
+ModelCode = Symbian
+ModelCodeError = 1
+
+RevisionID = 00.00
+RevisionIDError = 1
+
+DefaultDeviceName = Symbian
+DefaultDeviceNameError = 1
+
+UIPlatformName = Symbian
+UIPlatformNameError = 1
+
+UIPlatformVersion = 0.0
+UIPlatformVersionStringError = 1
+
+UIPlatformVersionMajor = 0
+UIPlatformVersionMinor = 0
+UIPlatformVersionIntError = 1
+
+OSVersion = 0.0
+OSVersionStringError = 1
+
+OSVersionMajor = 0
+OSVersionMinor = 0
+OSVersionIntError = 1
+
+DeviceCreatorAttribute = 
+DeviceCreatorAttributeError = -1
+
+[InvalidFormat]
+FilePresent = ETrue
+
+ManufacturerName = Symbian
+ManufacturerNameError = 1
+
+ModelName = Symbian
+ModelNameError = 1
+
+ModelCode = Symbian
+ModelCodeError = 1
+
+RevisionID = 00.00
+RevisionIDError = 1
+
+DefaultDeviceName = Symbian
+DefaultDeviceNameError = 1
+
+UIPlatformName = Symbian
+UIPlatformNameError = 1
+
+UIPlatformVersion = 0.0
+UIPlatformVersionStringError = 1
+
+UIPlatformVersionMajor = 0
+UIPlatformVersionMinor = 0
+UIPlatformVersionIntError = 1
+
+OSVersion = 0.0
+OSVersionStringError = 1
+
+OSVersionMajor = 0
+OSVersionMinor = 0
+OSVersionIntError = 1
+
+DeviceCreatorAttribute = 
+DeviceCreatorAttributeError = -1
+
+[InvalidEncoding]
+FilePresent = ETrue
+
+ManufacturerName = Symbian
+ManufacturerNameError = 1
+
+ModelName = Symbian
+ModelNameError = 1
+
+ModelCode = Symbian
+ModelCodeError = 1
+
+RevisionID = 00.00
+RevisionIDError = 1
+
+DefaultDeviceName = Symbian
+DefaultDeviceNameError = 1
+
+UIPlatformName = Symbian
+UIPlatformNameError = 1
+
+UIPlatformVersion = 0.0
+UIPlatformVersionStringError = 1
+
+UIPlatformVersionMajor = 0
+UIPlatformVersionMinor = 0
+UIPlatformVersionIntError = 1
+
+OSVersion = 0.0
+OSVersionStringError = 1
+
+OSVersionMajor = 0
+OSVersionMinor = 0
+OSVersionIntError = 1
+
+DeviceCreatorAttribute = 
+DeviceCreatorAttributeError = -1
+
+[Overflow]
+FilePresent = ETrue
+
+ManufacturerName = TestManufacturerTestManufacturerTestManufacturerTestManufacturer
+ManufacturerNameError = -9
+
+ModelName = TestModelNameTestModelNameTestModelNameTestModelNameTestModelNam
+ModelNameError = -9
+
+ModelCode = TestModelCodeTestModelCodeTestModelCodeTestModelCodeTestModelCod
+ModelCodeError = -9
+
+RevisionID = 012345678901234567890123456789.012345678901234567890123456789012
+RevisionIDError = -9
+
+DefaultDeviceName = TestDefaultDeviceNameTestDefaultDeviceNameTestDefaultDeviceNameT
+DefaultDeviceNameError = -9
+
+UIPlatformName = TestUIPlatformNameTestUIPlatformNameTestUIPlatformNameTestUIPlat
+UIPlatformNameError = -9
+
+UIPlatformVersion = 33333333333333333333333333333333.2222222222222222222222222222222
+UIPlatformVersionStringError = -9
+
+UIPlatformVersionMajor = 3
+UIPlatformVersionMinor = 2
+UIPlatformVersionIntError = 0
+
+OSVersion = 99999999999999999999999999999999.5555555555555555555555555555555
+OSVersionStringError = -9
+
+OSVersionMajor = 9
+OSVersionMinor = 5
+OSVersionIntError = 0
+
+DeviceCreatorAttribute = DeviceCreatorAttributeDeviceCreatorAttributeDeviceCreatorAttribu
+DeviceCreatorAttributeError = -9
+
+[InvalidOSVersionMajor]
+FilePresent = ETrue
+
+ManufacturerName = TestManufacturer
+ManufacturerNameError = 0
+
+ModelName = TestModelName
+ModelNameError = 0
+
+ModelCode = TestModelCode
+ModelCodeError = 0
+
+RevisionID = 10.12
+RevisionIDError = 0
+
+DefaultDeviceName = TestDefaultDeviceName
+DefaultDeviceNameError = 0
+
+UIPlatformName = TestUIPlatformName
+UIPlatformNameError = 0
+
+UIPlatformVersion = 5.3
+UIPlatformVersionStringError = 0
+
+UIPlatformVersionMajor = 5
+UIPlatformVersionMinor = 3
+UIPlatformVersionIntError = 0
+
+OSVersion = g.5
+OSVersionStringError = 0
+
+OSVersionMajor = 0
+OSVersionMinor = 0
+OSVersionIntError = -20
+
+DeviceCreatorAttribute = 
+DeviceCreatorAttributeError = -1
+
+[InvalidOSVersionMinor]
+FilePresent = ETrue
+
+ManufacturerName = TestManufacturer
+ManufacturerNameError = 0
+
+ModelName = TestModelName
+ModelNameError = 0
+
+ModelCode = TestModelCode
+ModelCodeError = 0
+
+RevisionID = 10.12
+RevisionIDError = 0
+
+DefaultDeviceName = TestDefaultDeviceName
+DefaultDeviceNameError = 0
+
+UIPlatformName = TestUIPlatformName
+UIPlatformNameError = 0
+
+UIPlatformVersion = 5.3
+UIPlatformVersionStringError = 0
+
+UIPlatformVersionMajor = 5
+UIPlatformVersionMinor = 3
+UIPlatformVersionIntError = 0
+
+OSVersion = 9.s
+OSVersionStringError = 0
+
+OSVersionMajor = 0
+OSVersionMinor = 0
+OSVersionIntError = -20
+
+DeviceCreatorAttribute = 
+DeviceCreatorAttributeError = -1
+
+[MissingOSVersionMajor]
+FilePresent = ETrue
+
+ManufacturerName = TestManufacturer
+ManufacturerNameError = 0
+
+ModelName = TestModelName
+ModelNameError = 0
+
+ModelCode = TestModelCode
+ModelCodeError = 0
+
+RevisionID = 10.12
+RevisionIDError = 0
+
+DefaultDeviceName = TestDefaultDeviceName
+DefaultDeviceNameError = 0
+
+UIPlatformName = TestUIPlatformName
+UIPlatformNameError = 0
+
+UIPlatformVersion = 5.3
+UIPlatformVersionStringError = 0
+
+UIPlatformVersionMajor = 5
+UIPlatformVersionMinor = 3
+UIPlatformVersionIntError = 0
+
+OSVersion = 9.5
+OSVersionStringError = 0
+
+OSVersionMajor = 0
+OSVersionMinor = 0
+OSVersionIntError = -20
+
+DeviceCreatorAttribute = 
+DeviceCreatorAttributeError = -1
+
+[MissingOSVersionMinor]
+FilePresent = ETrue
+
+ManufacturerName = TestManufacturer
+ManufacturerNameError = 0
+
+ModelName = TestModelName
+ModelNameError = 0
+
+ModelCode = TestModelCode
+ModelCodeError = 0
+
+RevisionID = 10.12
+RevisionIDError = 0
+
+DefaultDeviceName = TestDefaultDeviceName
+DefaultDeviceNameError = 0
+
+UIPlatformName = TestUIPlatformName
+UIPlatformNameError = 0
+
+UIPlatformVersion = 5.3
+UIPlatformVersionStringError = 0
+
+UIPlatformVersionMajor = 5
+UIPlatformVersionMinor = 3
+UIPlatformVersionIntError = 0
+
+OSVersion = 9.5
+OSVersionStringError = 0
+
+OSVersionMajor = 0
+OSVersionMinor = 0
+OSVersionIntError = -20
+
+DeviceCreatorAttribute = 
+DeviceCreatorAttributeError = -1
+
+[InvalidUIVersionMajor]
+FilePresent = ETrue
+
+ManufacturerName = TestManufacturer
+ManufacturerNameError = 0
+
+ModelName = TestModelName
+ModelNameError = 0
+
+ModelCode = TestModelCode
+ModelCodeError = 0
+
+RevisionID = 10.12
+RevisionIDError = 0
+
+DefaultDeviceName = TestDefaultDeviceName
+DefaultDeviceNameError = 0
+
+UIPlatformName = TestUIPlatformName
+UIPlatformNameError = 0
+
+UIPlatformVersion = g.3
+UIPlatformVersionStringError = 0
+
+UIPlatformVersionMajor = 0
+UIPlatformVersionMinor = 0
+UIPlatformVersionIntError = -20
+
+OSVersion = 9.5
+OSVersionStringError = 0
+
+OSVersionMajor = 9
+OSVersionMinor = 5
+OSVersionIntError = 0
+
+DeviceCreatorAttribute = 
+DeviceCreatorAttributeError = -1
+
+[InvalidUIVersionMinor]
+FilePresent = ETrue
+
+ManufacturerName = TestManufacturer
+ManufacturerNameError = 0
+
+ModelName = TestModelName
+ModelNameError = 0
+
+ModelCode = TestModelCode
+ModelCodeError = 0
+
+RevisionID = 10.12
+RevisionIDError = 0
+
+DefaultDeviceName = TestDefaultDeviceName
+DefaultDeviceNameError = 0
+
+UIPlatformName = TestUIPlatformName
+UIPlatformNameError = 0
+
+UIPlatformVersion = 3.g
+UIPlatformVersionStringError = 0
+
+UIPlatformVersionMajor = 0
+UIPlatformVersionMinor = 0
+UIPlatformVersionIntError = -20
+
+OSVersion = 9.5
+OSVersionStringError = 0
+
+OSVersionMajor = 9
+OSVersionMinor = 5
+OSVersionIntError = 0
+
+DeviceCreatorAttribute = 
+DeviceCreatorAttributeError = -1
+
+[MissingUIVersionMajor]
+FilePresent = ETrue
+
+ManufacturerName = TestManufacturer
+ManufacturerNameError = 0
+
+ModelName = TestModelName
+ModelNameError = 0
+
+ModelCode = TestModelCode
+ModelCodeError = 0
+
+RevisionID = 10.12
+RevisionIDError = 0
+
+DefaultDeviceName = TestDefaultDeviceName
+DefaultDeviceNameError = 0
+
+UIPlatformName = TestUIPlatformName
+UIPlatformNameError = 0
+
+UIPlatformVersion = 3.2
+UIPlatformVersionStringError = 0
+
+UIPlatformVersionMajor = 0
+UIPlatformVersionMinor = 0
+UIPlatformVersionIntError = -20
+
+OSVersion = 9.5
+OSVersionStringError = 0
+
+OSVersionMajor = 9
+OSVersionMinor = 5
+OSVersionIntError = 0
+
+DeviceCreatorAttribute = 
+DeviceCreatorAttributeError = -1
+
+[MissingUIVersionMinor]
+FilePresent = ETrue
+
+ManufacturerName = TestManufacturer
+ManufacturerNameError = 0
+
+ModelName = TestModelName
+ModelNameError = 0
+
+ModelCode = TestModelCode
+ModelCodeError = 0
+
+RevisionID = 10.12
+RevisionIDError = 0
+
+DefaultDeviceName = TestDefaultDeviceName
+DefaultDeviceNameError = 0
+
+UIPlatformName = TestUIPlatformName
+UIPlatformNameError = 0
+
+UIPlatformVersion = 3.2
+UIPlatformVersionStringError = 0
+
+UIPlatformVersionMajor = 0
+UIPlatformVersionMinor = 0
+UIPlatformVersionIntError = -20
+
+OSVersion = 9.5
+OSVersionStringError = 0
+
+OSVersionMajor = 9
+OSVersionMinor = 5
+OSVersionIntError = 0
+
+DeviceCreatorAttribute = 
+DeviceCreatorAttributeError = -1
+
+[ValidIni]
+FilePresent = ETrue
+
+ManufacturerName = TestManufacturerTestManufacturerTestManufacturerTestManufacturer
+ManufacturerNameError = 0
+
+ModelName = TestModelNameTestModelNameTestModelNameTestModelNameTestModelNam
+ModelNameError = 0
+
+ModelCode = TestModelCodeTestModelCodeTestModelCodeTestModelCodeTestModelCod
+ModelCodeError = 0
+
+RevisionID = 012345678901234567890123456789.012345678901234567890123456789012
+RevisionIDError = 0
+
+DefaultDeviceName = TestDefaultDeviceNameTestDefaultDeviceNameTestDefaultDeviceNameT
+DefaultDeviceNameError = 0
+
+UIPlatformName = TestUIPlatformNameTestUIPlatformNameTestUIPlatformNameTestUIPlat
+UIPlatformNameError = 0
+
+UIPlatformVersion = 65535.0
+UIPlatformVersionStringError = 0
+
+UIPlatformVersionMajor = 65535
+UIPlatformVersionMinor = 0
+UIPlatformVersionIntError = 0
+
+OSVersion = 65535.0
+OSVersionStringError = 0
+
+OSVersionMajor = 65535
+OSVersionMinor = 0
+OSVersionIntError = 0
+
+DeviceCreatorAttribute = DeviceCreatorAttribute
+DeviceCreatorAttributeError = 0
+
+[IncompleteIni]
+FilePresent = ETrue
+
+ManufacturerName = TestManufacturer
+ManufacturerNameError = 0
+
+ModelName = TestModelName
+ModelNameError = 0
+
+ModelCode = Symbian
+ModelCodeError = 1
+
+RevisionID = 10.12
+RevisionIDError = 0
+
+DefaultDeviceName = Symbian
+DefaultDeviceNameError = 1
+
+UIPlatformName = TestUIPlatformName
+UIPlatformNameError = 0
+
+UIPlatformVersion = 0.0
+UIPlatformVersionStringError = 1
+
+UIPlatformVersionMajor = 0
+UIPlatformVersionMinor = 0
+UIPlatformVersionIntError = -20
+
+OSVersion = 0.0
+OSVersionStringError = 1
+
+OSVersionMajor = 0
+OSVersionMinor = 0
+OSVersionIntError = 1
+
+DeviceCreatorAttribute = 
+DeviceCreatorAttributeError = -1
+
+[Plugin]
+FilePresent = EFalse
+
+ManufacturerName = MyManufacturerName
+ManufacturerNameError = 0
+
+ModelName = Symbian
+ModelNameError = 1
+
+ModelCode = Symbian
+ModelCodeError = 1
+
+RevisionID = MyRevisionID
+RevisionIDError = 0
+
+DefaultDeviceName = Symbian
+DefaultDeviceNameError = 1
+
+UIPlatformName = Symbian
+UIPlatformNameError = 1
+
+UIPlatformVersion = 100.3
+UIPlatformVersionStringError = 0
+
+UIPlatformVersionMajor = 0
+UIPlatformVersionMinor = 0
+UIPlatformVersionIntError = -20
+
+OSVersion = 0.0
+OSVersionStringError = 1
+
+OSVersionMajor = 0
+OSVersionMinor = 0
+OSVersionIntError = 1
+
+DeviceCreatorAttribute = MyDeviceCreatorAttribute
+DeviceCreatorAttributeError = 0
+
+[PluginAndIni]
+FilePresent = ETrue
+
+ManufacturerName = MyManufacturerName
+ManufacturerNameError = 0
+
+ModelName = TestModelName
+ModelNameError = 0
+
+ModelCode = Symbian
+ModelCodeError = 1
+
+RevisionID = MyRevisionID
+RevisionIDError = 0
+
+DefaultDeviceName = Symbian
+DefaultDeviceNameError = 1
+
+UIPlatformName = TestUIPlatformName
+UIPlatformNameError = 0
+
+UIPlatformVersion = 100.3
+UIPlatformVersionStringError = 0
+
+UIPlatformVersionMajor = 100
+UIPlatformVersionMinor = 3
+UIPlatformVersionIntError = 0
+
+OSVersion = 0.0
+OSVersionStringError = 1
+
+OSVersionMajor = 0
+OSVersionMinor = 0
+OSVersionIntError = 1
+
+DeviceCreatorAttribute = MyDeviceCreatorAttribute
+DeviceCreatorAttributeError = 0
+
+[MultipleRofsSections]
+ManufacturerName = MyManufacturer
+ManufacturerNameError = 0
+
+ModelName = ModelNameTest
+ModelNameError = 0
+
+ModelCode = TestModelCode
+ModelCodeError = 0
+
+RevisionID = 16.21
+RevisionIDError = 0
+
+DefaultDeviceName = TestDefaultDeviceName
+DefaultDeviceNameError = 0
+
+UIPlatformName = Symbian
+UIPlatformNameError = 1
+
+UIPlatformVersion = 12.4
+UIPlatformVersionStringError = 0
+
+UIPlatformVersionMajor = 12
+UIPlatformVersionMinor = 4
+UIPlatformVersionIntError = 0
+
+OSVersion = 9.5
+OSVersionStringError = 0
+
+OSVersionMajor = 9
+OSVersionMinor = 5
+OSVersionIntError = 0
+
+DeviceCreatorAttribute = TestAttribute
+DeviceCreatorAttributeError = 0
+
+[LocalisedExactMatch]
+Language = 2								# ELangFrench
+FilePresent = ETrue
+
+ManufacturerName = LocalisedManufacturer
+ManufacturerNameError = 0
+
+ModelName = LocalisedModelName
+ModelNameError = 0
+
+ModelCode = LocalisedModelCode
+ModelCodeError = 0
+
+RevisionID = LocalisedRevision
+RevisionIDError = 0
+
+DefaultDeviceName = LocalisedDefaultDeviceName
+DefaultDeviceNameError = 0
+
+UIPlatformName = LocalisedUIPlatformName
+UIPlatformNameError = 0
+
+UIPlatformVersion = 56265.4733
+UIPlatformVersionStringError = 0
+
+UIPlatformVersionMajor = 56265
+UIPlatformVersionMinor = 4733
+UIPlatformVersionIntError = 0
+
+OSVersion = 9.5
+OSVersionStringError = 0
+
+OSVersionMajor = 9
+OSVersionMinor = 5
+OSVersionIntError = 0
+
+DeviceCreatorAttribute =Localised
+DeviceCreatorAttributeError = 0
+
+[LocalisedCloseMatch]
+Language = 10								# ELangAmerican
+FilePresent = ETrue
+
+ManufacturerName = CloseManufacturer
+ManufacturerNameError = 0
+
+ModelName = CloseModelName
+ModelNameError = 0
+
+ModelCode = CloseModelCode
+ModelCodeError = 0
+
+RevisionID = CloseRevision
+RevisionIDError = 0
+
+DefaultDeviceName = CloseDefaultDeviceName
+DefaultDeviceNameError = 0
+
+UIPlatformName = CloseUIPlatformName
+UIPlatformNameError = 0
+
+UIPlatformVersion = 256.73
+UIPlatformVersionStringError = 0
+
+UIPlatformVersionMajor = 256
+UIPlatformVersionMinor = 73
+UIPlatformVersionIntError = 0
+
+OSVersion = 9.5
+OSVersionStringError = 0
+
+OSVersionMajor = 9
+OSVersionMinor = 5
+OSVersionIntError = 0
+
+DeviceCreatorAttribute = Close
+DeviceCreatorAttributeError = 0
+
+[PersistenceIni]
+ManufacturerName = TestManufacturerTestManufacturerTestManufacturerTestManufacturer
+ManufacturerNameError = 0
+
+ModelName = TestModelNameTestModelNameTestModelNameTestModelNameTestModelNam
+ModelNameError = 0
+
+ModelCode = TestModelCodeTestModelCodeTestModelCodeTestModelCodeTestModelCod
+ModelCodeError = 0
+
+RevisionID = 012345678901234567890123456789.012345678901234567890123456789012
+RevisionIDError = 0
+
+DefaultDeviceName = TestDefaultDeviceNameTestDefaultDeviceNameTestDefaultDeviceNameT
+DefaultDeviceNameError = 0
+
+UIPlatformName = TestUIPlatformNameTestUIPlatformNameTestUIPlatformNameTestUIPlat
+UIPlatformNameError = 0
+
+UIPlatformVersion = 65535.0
+UIPlatformVersionStringError = 0
+
+UIPlatformVersionMajor = 65535
+UIPlatformVersionMinor = 0
+UIPlatformVersionIntError = 0
+
+OSVersion = 9.5
+OSVersionStringError = 0
+
+OSVersionMajor = 9
+OSVersionMinor = 5
+OSVersionIntError = 0
+
+DeviceCreatorAttribute = DeviceCreatorAttribute
+DeviceCreatorAttributeError = 0
+
+[PluginOverride]
+ManufacturerName = Manufacturer
+ManufacturerNameError = 0
+
+ModelName = Model
+ModelNameError = 0
+
+ModelCode = Symbian
+ModelCodeError = 1
+
+RevisionID = 001.234
+RevisionIDError = 0
+
+DefaultDeviceName = Symbian
+DefaultDeviceNameError = 1
+
+UIPlatformName = Symbian
+UIPlatformNameError = 1
+
+UIPlatformVersion = 654.987
+UIPlatformVersionStringError = 0
+
+UIPlatformVersionMajor = 654
+UIPlatformVersionMinor = 987
+UIPlatformVersionIntError = 0
+
+OSVersion = 9.5
+OSVersionStringError = 0
+
+OSVersionMajor = 9
+OSVersionMinor = 5
+OSVersionIntError = 0
+
+DeviceCreatorAttribute = 
+DeviceCreatorAttributeError = -1
+
+[AttributesLimitErrNone]
+Error = 0		# KErrNone
+
+[AttributesLimitNotReady]
+Error = -18		# KErrNotReady
+
+[PSWritePolicyFail]
+Result = -46	#KErrPermissionDenied
+
+[PSWritePolicyPass]
+Result = 0		#KErrNone
+
+[ManPSWritePolicyFail]
+Result = -46	#KErrPermissionDenied
+
+[ManPSWritePolicyPass]
+Result = 0		#KErrNone
+
+[ManPSReadPolicyPass]
+Result = 0		#KErrNone