mmappfw_plat/mpx_common_api/tsrc/conf/commontestclass.cfg
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 08:55:47 +0200
changeset 0 a2952bb97e68
permissions -rw-r--r--
Revision: 200949 Kit: 200951

// _Unsupported_ Those API could be not implemented and return KErrNotSupported


[Define]
KErrNotFound -1
KErrNotSupported -5
KErrArgument -6
KErrNotReady -18
KErrAccessDenied -21

KErrEventPending -2000
KErrCallbackErrorCode -2001
KErrUnexpectedValue -2002
KErrNotificationPending -2005
KErrUnexpectedNotification -2006
KErrTimeoutController -2007

KTrue 1
KFalse 0

// TMPXAttribute
KMPXAttContentID1 888881
KMPXAttContentID2 888882
KMPXAttAttributeID1 1
KMPXAttAttributeID2 2
KMPXAttAttributeText 4
KMPXAttAttributeInt 8
KMPXAttAttributeCObject 16

// TMPXAttributeType
KMPXTypeUnknown 0
KMPXTypeTInt 1
KMPXTypeText 2
KMPXTypeTObject 3
KMPXTypeCObject 4

// CMPXCollectionPath
KMPXPathLevel1 33331
KMPXPathLevel2 33332
KMPXPathLevel3 33333
KMPXPathItem1  44441
KMPXPathItem2  44442
KMPXPathItem3  44443
KMPXPathItem4  44444
KMPXPathItem5  44445

// TMPXOpenMode
KMPXOpenDefault 0
KMPXOpenGroupOrPlaylist 1
KMPXOpenAllItems 2
KMPXOpenNoPlaylist 3
KMPXOpenPlaylistOnly 4

// TMPXCollectionPathChange
KPathChangeAdded 0
KPathChangeDeleted 1
KPathChangeModified 2
KPathChangeGroupModified 3

// TMPXPathChangeResult
KChangeResultPathUnchanged 0
KChangeResultPathModified 1
KChangeResultPathClipped 2


[Enddefine]

//mpx_common_api
//
//
//---------------------------------------------------------------------------
//                               TMPXAttribute
//
// MpxAttDefaultConst()
// MpxAttConst(contentID, attributeID)
// MpxAttCopyConstAtt(contentID, attributeID)
// MpxAttCopyConstAttData(contentID, attributeID)
// MpxAttOperatorAssignment(attributeIndex)
// MpxAttOperatorEqual(attributeIndex1, attributeIndex2, expectedResult)
// MpxAttStreamingL(attributeIndex)
// MpxAttContentId(contentID, attributeIndex)
// MpxAttAttributeId(attributeID, attributeIndex)
// MpxAttMatch(attributeIndex1, attributeIndex2, expectedResult)
// MpxAttMatchContentId(attributeIndex1, attributeIndex2, expectedResult)
// MpxAttOperatorAndAttData(attributeIndex1, attributeIndex2, expectedResult)
// MpxAttOperatorAndData(attributeIndex, attributeID, expectedResult)
// MpxAttOperatorOr(attributeIndex1, attributeIndex2, expectedResult)
// 
//---------------------------------------------------------------------------
//                               CMPXMedia
//
// MpxMediaNewL()
// MpxMediaNewLSupportedIdsL(contentID1, contentID2, ....)
// MpxMediaNewLMediaL(mediaIndex)
// MpxMediaNewLDataHandleL(mediaIndex)
// MpxMediaNewLStreamL(mediaIndex)
// MpxMediaOperatorAssignment(mediaIndex)
// MpxMediaSupportedIds(mediaIndex, contentID1, contentID2, ....)
// MpxMediaSetTObjectValueL(mediaIndex, attributeIndex, value)
// MpxMediaSetCObjectValueL(mediaIndex, attributeIndex, className)  Note: className(CMPXMedia, CMPXMediaArray, CMPXCollectionPath)
// MpxMediaSetNoNewLCObjectL(mediaIndex, attributeIndex, className)
// MpxMediaSetTextValueL(mediaIndex, attributeIndex, value)
// MpxMediaAttributes(mediaIndex, attributeIndex)
// MpxMediaIsSupported(mediaIndex, attributeIndex, expectedResult)
// MpxMediaCount(mediaIndex, expectedResult)
// MpxMediaAttribute(mediaIndex, indexAtt, expectedAttributeIndex)
// MpxMediaAttributesSet(mediaIndex, contentID, expectedAttributes)
// MpxMediaIndex(mediaIndex, attributeIndex, expectedIndex)
// MpxMediaTypeIndex(mediaIndex, indexAtt, expectedType)
// MpxMediaTypeAttribute(mediaIndex, attributeIndex, expectedType)
// MpxMediaReset(mediaIndex)
// MpxMediaDeleteAttribute(mediaIndex, attributeIndex)
// MpxMediaDeleteIndex(mediaIndex, indexAtt)
// MpxMediaValueText(mediaIndex, attributeIndex, expectedString)
// MpxMediaValue(mediaIndex, attributeIndex, className)
// MpxMediaValueTObjectL(mediaIndex, attributeIndex, expectedValue)
// MpxMediaValueCObjectL(mediaIndex, attributeIndex, className)
// MpxMediaStreamingL(mediaIndex)
//
//---------------------------------------------------------------------------
//                               CMPXMediaArray
//
// MpxMediaArrayNewL()
// MpxMediaArrayNewLMediaArrayL()
// MpxMediaArrayCount(expectedCount)
// MpxMediaArrayAppendLByPtrL()
// MpxMediaArrayAppendLByRefL()
// MpxMediaArrayReset()
// MpxMediaArrayRemove(index)
// MpxMediaArrayInsertByPtr(index)
// MpxMediaArrayInsertByRef(index)
// MpxMediaArrayInsertLByPtrL(index)
// MpxMediaArrayInsertLByRefL(index)
// MpxMediaArraySet(index)
// MpxMediaArrayStreamingL()
//
//---------------------------------------------------------------------------
//                               CMPXCollectionPath
//
// MpxItemIdConst(optional id1, optional id2)
// MpxItemIdReset()
// MpxCollPathNewL()
// MpxCollPathNewLPathL()
// MpxCollPathNewLStreamL()
// MpxCollPathAppendLIdL(itemId)
// MpxCollPathAppendLIdsL()
// MpxCollPathLevels(expectedLevels)
// MpxCollPathBack()
// MpxCollPathReset()
// MpxCollPathIndex(expectedIndex)
// MpxCollPathOperatorPlus(expectedResult)
// MpxCollPathOperatorMinus(expectedResult)
// MpxCollPathSetToFirst()
// MpxCollPathSetToLast()
// MpxCollPathSetIndex(index)
// MpxCollPathSetId(id)
// MpxCollPathSetMode(openMode)
// MpxCollPathSetLAttrsL()
// MpxCollPathOpenNextMode(expectedOpenMode)
// MpxCollPathOpenPreviousMode(expectedOpenMode)
// MpxCollPathSelectLIdL(id)
// MpxCollPathSelectLIndexL(index)
// MpxCollPathSelectAllL()
// MpxCollPathDeselectId(id)
// MpxCollPathDeselectIndex(index)
// MpxCollPathDeselectAll()
// MpxCollPathRemoveId(id)
// MpxCollPathRemoveIndex(index)
// MpxCollPathIsSelectedId(id, expectedResult)
// MpxCollPathIsSelectedIndex(index, expectedResult)
// MpxCollPathClearSelection()
// MpxCollPathSelection(index1, index2, ...)
// MpxCollPathSelectionL(id1, id2, ...)
// MpxCollPathId(expectedId)
// MpxCollPathCount(expectedCount)
// MpxCollPathIndexOfId(id, expectedIndex)
// MpxCollPathIdOfIndex(index, expectedId)
// MpxCollPathOpenAttributes()
// MpxCollPathIndexLevel(level, expectedIndex)
// MpxCollPathIdLevel(level, expectedId)
// MpxCollPathStreamingL()
// MpxCollPathHandleChange(Uid, id, deprecatedId, changeType, expectedSelection, expectedChangeResult)
//
//---------------------------------------------------------------------------
//                               CMPXClientList
//
// MpxClientListNewL()
// MpxClientListClientCount(expectedCount)
// MpxClientListIsClient(expecedResult)
// MpxClientListFindByMsg(expectedResult)
// MpxClientListFindById(expectedResult)
//
//---------------------------------------------------------------------------
//                               CMPXPluginHandlerBase
//
// MpxPluginHandlerBaseSelectPluginLIdL()
// MpxPluginHandlerBaseSelectPluginLNameL()
// MpxPluginHandlerBaseSelectPluginLUriL()
// MpxPluginHandlerBaseSelectPluginLTypeL()
// MpxPluginHandlerBaseClearSelectionCriteria()
// MpxPluginHandlerBasePluginNameType()
// MpxPluginHandlerBasePluginNamesL()
// MpxPluginHandlerBaseSupportedMimeTypesL()
// MpxPluginHandlerBaseSupportedExtensionsL()
// MpxPluginHandlerBaseSupportedSchemasL()
// MpxPluginHandlerBaseSupportedMimeTypesLUidL()
// MpxPluginHandlerBaseSupportedExtensionsLUidL()
// MpxPluginHandlerBaseGetPluginTypes()
// MpxPluginHandlerBaseGetPluginUids()
// MpxPluginHandlerBaseGetPluginUidsL()
// MpxPluginHandlerBasePluginUid()
// MpxPluginHandlerBaseIndexOf()
// MpxPluginHandlerBaseCreatePluginListL()
// MpxPluginHandlerBaseFindPlugin()
//
//---------------------------------------------------------------------------


[Test]
title 1. Create PluginMonitor
create commontestclass commontest
commontest CreatePluginMonitorL
delete commontest
[Endtest]

[Test]
title 2. Delete PluginMonitor
create commontestclass commontest
commontest CreatePluginMonitorL
commontest DeletePluginMonitorL
delete commontest
[Endtest]

[Test]
title 3. Create CenRepWatcher
create commontestclass watcher
watcher CreateCenRepWatcherL
delete watcher
[Endtest]

[Test]
title 4. Delete CenRepWatcher
create commontestclass watcher
watcher CreateCenRepWatcherL
watcher DeleteCenRepWatcherL
delete watcher
[Endtest]

[Test]
title 5. SetCenRepValue
create commontestclass watcher
watcher CreateCenRepWatcherL
watcher CenRepSetValueL 1
delete watcher
[Endtest]

// value in title 5 & 6 should be the same
// set value back to 0 after done testing
[Test]
title 6. GetCenRepValue
create commontestclass watcher
watcher CreateCenRepWatcherL
watcher CenRepCurrentValueL value == 1
watcher CenRepSetValueL 0
delete watcher
[Endtest]

[Test]
title 7. Create CMPXParameter
create commontestclass parameter
parameter CreateMPXParameter
delete parameter
[Endtest]

[Test]
title 8. Delete CMPXParameter
create commontestclass parameter
parameter CreateMPXParameter
parameter DeleteMPXParameter
delete parameter
[Endtest]

[Test]
title 9. Internalize CMPXParameter
create commontestclass parameter
parameter CreateMPXParameter
parameter InternalizeMPXParameterL
parameter DeleteMPXParameter
delete parameter
[Endtest]

[Test]
title 10. Externalize CMPXParameter
create commontestclass parameter
parameter CreateMPXParameter
parameter ExternalizeMPXParameterL
parameter DeleteMPXParameter
delete parameter
[Endtest]

[Test]
title 11. Create CMPXCollectionTypeWithoutParam
create commontestclass type
type CreateMPXCollectionTypeWOParam
delete type
[Endtest]

[Test]
title 12. Create CMPXCollectionType
create commontestclass type
type CreateMPXCollectionType
delete type
[Endtest]

[Test]
title 13. Internalize CMPXCollectionType
create commontestclass type
type CreateMPXCollectionType
type InternalizeMPXCollectionTypeL
delete type
[Endtest]

[Test]
title 14. Externalize CMPXCollectionType
create commontestclass type
type CreateMPXCollectionType
type ExternalizeMPXCollectionTypeL
delete type
[Endtest]

[Test]
title 15. Create CMPXPSKeyWatcher
create commontestclass watcher
watcher CreateCMPXPSKeyWatcherL
delete watcher
[Endtest]

[Test]
title 16. Delete CMPXPSKeyWatcher
create commontestclass watcher
watcher CreateCMPXPSKeyWatcherL
watcher DeleteCMPXPSKeyWatcherL
delete watcher
[Endtest]

[Test]
title 17. Get Int Value CMPXPSKeyWatcher
create commontestclass watcher
watcher CreateCMPXPSKeyWatcherL
watcher GetTntValue
delete watcher
[Endtest]

[Test]
title 18. Get Des8 Value CMPXPSKeyWatcher
create commontestclass watcher
watcher CreateCMPXPSKeyWatcherL
watcher GetDes8Value
delete watcher
[Endtest]

[Test]
title 19. Get Des16 Value CMPXPSKeyWatcher
create commontestclass watcher
watcher CreateCMPXPSKeyWatcherL
watcher GetDes16Value
delete watcher
[Endtest]

[Test]
title 20. Set Int Value CMPXPSKeyWatcher
create commontestclass watcher
watcher CreateCMPXPSKeyWatcherL
watcher SetTntValue
delete watcher
[Endtest]

[Test]
title 21. Set Des8 Value CMPXPSKeyWatcher
create commontestclass watcher
watcher CreateCMPXPSKeyWatcherL
watcher SetDes8Value
delete watcher
[Endtest]

[Test]
title 22. Set Des16 Value CMPXPSKeyWatcher
create commontestclass watcher
watcher CreateCMPXPSKeyWatcherL
watcher SetDes16Value
delete watcher
[Endtest]

[Test]
title 23. Create CMPXDrmMediaUtilityL
create commontestclass drm
drm CreateCMPXDrmMediaUtilityL
delete drm
[Endtest]

[Test]
title 24. Create CMPXDrmMediaUtilityLC
create commontestclass drm
drm CreateCMPXDrmMediaUtilityLC
delete drm
[Endtest]

[Test]
title 25. Delete CMPXDrmMediaUtilityL
create commontestclass drm
drm CreateCMPXDrmMediaUtilityL
drm DeleteCMPXDrmMediaUtilityL
delete drm
[Endtest]

[Test]
title 26. Init FileName CMPXDrmMediaUtilityL
create commontestclass drm
drm CreateCMPXDrmMediaUtilityL
drm InitFileNameL
drm Close
delete drm
[Endtest]

[Test]
title 27. Init RFile CMPXDrmMediaUtilityL
create commontestclass drm
drm CreateCMPXDrmMediaUtilityL
drm InitRFileL
drm Close
delete drm
[Endtest]

[Test]
title 28. GetMediaL CMPXDrmMediaUtilityL
create commontestclass drm
drm CreateCMPXDrmMediaUtilityL
drm GetMediaL
drm Close
delete drm
[Endtest]

[Test]
title 29. Close CMPXDrmMediaUtilityL
create commontestclass drm
drm CreateCMPXDrmMediaUtilityL
drm Close
delete drm
[Endtest]

[Test]
title 30. ConsumeL CMPXDrmMediaUtilityL
create commontestclass drm
drm CreateCMPXDrmMediaUtilityL
drm ConsumeL
drm Close
delete drm
[Endtest]

[Test]
title 31. TMPXMessage3L TMPXMessage
create commontestclass message
message TMPXMessage3L
delete message
[Endtest]

[Test]
title 32. TMPXMessageL TMPXMessage
create commontestclass message
message TMPXMessageL
delete message
[Endtest]

[Test]
title 33. TMPXMessage1L TMPXMessage
create commontestclass message
message TMPXMessage1L
delete message
[Endtest]

[Test]
title 34. Operator= TMPXMessage
create commontestclass message
message EqualTMPXMessage
delete message
[Endtest]

[Test]
title 35. Event TMPXMessage
create commontestclass message
message Event
delete message
[Endtest]

[Test]
title 36. Type TMPXMessage
create commontestclass message
message Type
delete message
[Endtest]

[Test]
title 37. Data TMPXMessage
create commontestclass message
message Data
delete message
[Endtest]

[Test]
title 38. Create CreateCMPXMessageQueueL
create commontestclass queue
queue CreateCMPXMessageQueueL
delete queue
[Endtest]

[Test]
title 39. Delete CMPXMessageQueue
create commontestclass queue
queue CreateCMPXMessageQueueL
queue DeleteCMPXMessageQueue
delete queue
[Endtest]

[Test]
title 40. Reset CMPXMessageQueue
create commontestclass queue
queue CreateCMPXMessageQueueL
queue ResetCMPXMessageQueue
queue DeleteCMPXMessageQueue
delete queue
[Endtest]

[Test]
title 41. SendNext CMPXMessageQueue
create commontestclass queue
queue CreateCMPXMessageQueueL
queue SendNextCMPXMessageQueue
queue DeleteCMPXMessageQueue
delete queue
[Endtest]

[Test]
title 42. Add CMPXMessageQueue
create commontestclass queue
queue CreateCMPXMessageQueueL
queue AddCMPXMessageQueue
queue DeleteCMPXMessageQueue
delete queue
[Endtest]

[Test]
title 43. Version RMPXSession
create commontestclass session
session VersionRMPXSession
delete session
[Endtest]

[Test]
title 44. Connect RMPXSession
create commontestclass session
session ConnectRMPXSessionL
delete session
[Endtest]

[Test]
title 45. SendReceiveL RMPXSession
create commontestclass session
session SendReceiveLRMPXSessionL
delete session
[Endtest]

[Test]
title 46. SendReceiveStatusRMPXSessionL RMPXSession
create commontestclass session
session SendReceiveStatusRMPXSessionL
delete session
[Endtest]

[Test]
title 47. SendReceiveStatus3RMPXSessionL RMPXSession
create commontestclass session
session SendReceiveStatus3RMPXSessionL
delete session
[Endtest]

[Test]
title 48. CreateCMPXMessageMonitorL CMPXMessageMonitor
create commontestclass monitor
monitor CreateCMPXMessageMonitorL
delete monitor
[Endtest]

[Test]
title 49. RunL CMPXMessageMonitor
create commontestclass monitor
monitor CreateCMPXMessageMonitorL
monitor RunLCMPXMessageMonitorL
delete monitor
[Endtest]

[Test]
title 50. Delete CMPXMessageMonitor
create commontestclass monitor
monitor CreateCMPXMessageMonitorL
monitor DeleteCMPXMessageMonitorL
delete monitor
[Endtest]

[Test]
title 51. Create CMPXActiveTaskQueueL
create commontestclass task
task CreateCMPXActiveTaskQueueL
delete task
[Endtest]

[Test]
title 52. CancelRequests CMPXActiveTaskQueueL
create commontestclass task
task CancelRequestsCMPXActiveTaskQueueL
delete task
[Endtest]

[Test]
title 53. AddActiveTaskL CMPXActiveTaskQueueL
create commontestclass task
task AddTaskCMPXActiveTaskQueueL
delete task
[Endtest]

[Test]
title 54. CompleteTask CMPXActiveTaskQueueL
create commontestclass task
task CompleteTaskCMPXActiveTaskQueueL
delete task
[Endtest]

[Test]
title 55. IsEmptyTaskQueue CMPXActiveTaskQueueL
create commontestclass task
task IsEmptyCMPXTaskQueueL
delete task
[Endtest]

[Test]
title 56. AddTaskL CMPXTaskQueueL
create commontestclass task
task AddTaskCMPXTaskQueueL
delete task
[Endtest]

[Test]
title 57. RemoveTaskL CMPXTaskQueueL
create commontestclass task
task RemoveTaskCMPXTaskQueueL
delete task
[Endtest]

[Test]
title 58. Callback CMPXTaskQueueL
create commontestclass task
task CallbackCMPXTaskQueueL
delete task
[Endtest]

[Test]
title 59. Param CMPXTaskQueueL
create commontestclass task
task ParamCMPXTaskQueueL
delete task
[Endtest]

[Test]
title 60. PtrData CMPXTaskQueueL
create commontestclass task
task PtrDataCMPXTaskQueueL
delete task
[Endtest]

[Test]
title 61. BufData CMPXTaskQueueL
create commontestclass task
task BufDataCMPXTaskQueueL
delete task
[Endtest]

[Test]
title 62. RemoveTask WO OB CMPXTaskQueueL
create commontestclass task
task RemoveTask2CMPXTaskQueueL
delete task
[Endtest]

[Test]
title 63. Task CMPXTaskQueueL
create commontestclass task
task TaskCMPXTaskQueueL
delete task
[Endtest]

[Test]
title 64. CompareUids MPXUser
create commontestclass user
user CompareUids
delete user
[Endtest]

[Test]
title 65. IsCallOngoing MPXUser
create commontestclass user
user IsCallOngoing
delete user
[Endtest]

[Test]
title 66. CompleteWithDllPath MPXUser
create commontestclass user
user CompleteWithDllPath
delete user
[Endtest]

[Test]
title 67. Alloc8L MPXUser
create commontestclass user
user Alloc8L
delete user
[Endtest]

[Test]
title 68. AllocL MPXUser
create commontestclass user
user AllocL
delete user
[Endtest]

[Test]
title 69. Ptr MPXUser
create commontestclass user
user Ptr
delete user
[Endtest]

[Test]
title 70. Ptr8 MPXUser
create commontestclass user
user Ptr8
delete user
[Endtest]

[Test]
title 71. CreateBufferLC MPXUser
create commontestclass user
user CreateBufferLC
delete user
[Endtest]

[Test]
title 72. CreateBufferFromDes MPXUser
create commontestclass user
user CreateBufferDesCL
delete user
[Endtest]

[Test]
title 73. CreateBufferFromDesArray MPXUser
create commontestclass user
user CreateBufferDesCArrayL
delete user
[Endtest]

[Test]
title 74. CreateFromBufferL MPXUser
create commontestclass user
delete user
[Endtest]

[Test]
title 75. ExternalizeL MPXUser
create commontestclass user
user ExternalizeL
delete user
[Endtest]

[Test]
title 76. ExternalizeArrayL MPXUser
create commontestclass user
user ExternalizeArrayL
delete user
[Endtest]

[Test]
title 77. InternalizeArrayL MPXUser
create commontestclass user
user InternalizeArrayL
delete user
[Endtest]

[Test]
title 78. CopyArrayL MPXUser
create commontestclass user
user CopyArrayL
delete user
[Endtest]

[Test]
title 79. MergeArray MPXUser
create commontestclass user
user MergeArray
delete user
[Endtest]

[Test]
title 80. MergeAttributeL MPXUser
create commontestclass user
user MergeAttributeL
delete user
[Endtest]

[Test]
title 81. ProcessIdL MPXUser
create commontestclass user
user ProcessIdL
delete user
[Endtest]

[Test]
title 82. CompareOrderedUidArrays MPXUser
create commontestclass user
user CompareOrderedUidArrays
delete user
[Endtest]


[Test]
title 83. CreateCMPXViewPlugin viewplugin
create commontestclass viewplugin
viewplugin CreateCMPXViewPlugin
delete viewplugin
[Endtest]

[Test]
title 84. DeleteCMPXViewPlugin viewplugin
create commontestclass viewplugin
viewplugin CreateCMPXViewPlugin
viewplugin DeleteCMPXViewPlugin
delete viewplugin
[Endtest]


//---------------------------------------------------------------------------
//                               TMPXAttribute
//---------------------------------------------------------------------------
[Test]
title  1001. TMPXAttribute Create: Default Contructor
create commontestclass mpxatt
mpxatt MpxAttDefaultConst
delete mpxatt
[Endtest]

[Test]
title  1002. TMPXAttribute Create: Constructor
create commontestclass mpxatt
mpxatt MpxAttConst KMPXAttContentID1 KMPXAttAttributeID1
delete mpxatt
[Endtest]

[Test]
title  1003. TMPXAttribute Create: Copy Constructor Attribute
create commontestclass mpxatt
mpxatt MpxAttCopyConstAtt KMPXAttContentID1 KMPXAttAttributeID1
delete mpxatt
[Endtest]

[Test]
title  1004. TMPXAttribute Create: Copy Constructor Attribute Data
create commontestclass mpxatt
mpxatt MpxAttCopyConstAttData KMPXAttContentID1 KMPXAttAttributeID1
delete mpxatt
[Endtest]

[Test]
title  1005. TMPXAttribute Assignment Operator
create commontestclass mpxatt
mpxatt MpxAttCopyConstAtt KMPXAttContentID1 KMPXAttAttributeID1
mpxatt MpxAttOperatorAssignment 0
delete mpxatt
[Endtest]

[Test]
title  1006. TMPXAttribute Equal Operator True
create commontestclass mpxatt
mpxatt MpxAttCopyConstAtt KMPXAttContentID1 KMPXAttAttributeID1
mpxatt MpxAttCopyConstAtt KMPXAttContentID1 KMPXAttAttributeID1
mpxatt MpxAttOperatorEqual 0 1 KTrue
delete mpxatt
[Endtest]

[Test]
title  1007. TMPXAttribute Equal Operator False
create commontestclass mpxatt
mpxatt MpxAttCopyConstAtt KMPXAttContentID1 KMPXAttAttributeID1
mpxatt MpxAttCopyConstAtt KMPXAttContentID2 KMPXAttAttributeID2
mpxatt MpxAttOperatorEqual 0 1 KFalse
delete mpxatt
[Endtest]

[Test]
title  1008. TMPXAttribute Streaming
create commontestclass mpxatt
mpxatt MpxAttCopyConstAtt KMPXAttContentID1 KMPXAttAttributeID1
mpxatt MpxAttStreamingL 0
delete mpxatt
[Endtest]

[Test]
title  1009. TMPXAttribute ContentId
create commontestclass mpxatt
mpxatt MpxAttConst KMPXAttContentID1 KMPXAttAttributeID1
mpxatt MpxAttContentId KMPXAttContentID1 0
delete mpxatt
[Endtest]

[Test]
title  1010. TMPXAttribute AttributeId
create commontestclass mpxatt
mpxatt MpxAttConst KMPXAttContentID1 KMPXAttAttributeID1
mpxatt MpxAttAttributeId KMPXAttAttributeID1 0
delete mpxatt
[Endtest]

[Test]
title  1011. TMPXAttribute Match True
create commontestclass mpxatt
mpxatt MpxAttConst KMPXAttContentID2 KMPXAttAttributeID2
mpxatt MpxAttCopyConstAtt KMPXAttContentID2 KMPXAttAttributeID2
mpxatt MpxAttMatch 0 1 KTrue
delete mpxatt
[Endtest]

[Test]
title  1012. TMPXAttribute Match False
create commontestclass mpxatt
mpxatt MpxAttConst KMPXAttContentID1 KMPXAttAttributeID1
mpxatt MpxAttCopyConstAtt KMPXAttContentID2 KMPXAttAttributeID2
mpxatt MpxAttMatch 0 1 KFalse
delete mpxatt
[Endtest]

[Test]
title  1013. TMPXAttribute MatchContentId True
create commontestclass mpxatt
mpxatt MpxAttConst KMPXAttContentID2 KMPXAttAttributeID1
mpxatt MpxAttCopyConstAtt KMPXAttContentID2 KMPXAttAttributeID2
mpxatt MpxAttMatchContentId 0 1 KTrue
delete mpxatt
[Endtest]

[Test]
title  1014. TMPXAttribute MatchContentId False
create commontestclass mpxatt
mpxatt MpxAttConst KMPXAttContentID1 KMPXAttAttributeID1
mpxatt MpxAttCopyConstAtt KMPXAttContentID2 KMPXAttAttributeID1
mpxatt MpxAttMatchContentId 0 1 KFalse
delete mpxatt
[Endtest]

[Test]
title  1015. TMPXAttributeData Operator& AttData True
create commontestclass mpxatt
mpxatt MpxAttConst KMPXAttContentID1 KMPXAttAttributeID1
mpxatt MpxAttCopyConstAtt KMPXAttContentID1 KMPXAttAttributeID1
mpxatt MpxAttOperatorAndAttData 0 1 KTrue
delete mpxatt
[Endtest]

[Test]
title  1016. TMPXAttributeData Operator& AttData False
create commontestclass mpxatt
mpxatt MpxAttConst KMPXAttContentID1 KMPXAttAttributeID1
mpxatt MpxAttCopyConstAtt KMPXAttContentID1 KMPXAttAttributeID2
mpxatt MpxAttOperatorAndAttData 0 1 KFalse
delete mpxatt
[Endtest]

[Test]
title  1017. TMPXAttributeData Operator& Att True
create commontestclass mpxatt
mpxatt MpxAttConst KMPXAttContentID1 KMPXAttAttributeID1
mpxatt MpxAttOperatorAndData 0 KMPXAttAttributeID1 KTrue
delete mpxatt
[Endtest]

[Test]
title  1018. TMPXAttributeData Operator& Att False
create commontestclass mpxatt
mpxatt MpxAttConst KMPXAttContentID1 KMPXAttAttributeID1
mpxatt MpxAttOperatorAndData 0 KMPXAttAttributeID2 KFalse
delete mpxatt
[Endtest]

[Test]
title  1019. TMPXAttributeData Operator BitwiseOr
create commontestclass mpxatt
mpxatt MpxAttConst KMPXAttContentID1 KMPXAttAttributeID2
mpxatt MpxAttCopyConstAtt KMPXAttContentID1 KMPXAttAttributeID2
mpxatt MpxAttOperatorOr 0 1 2
delete mpxatt
[Endtest]

[Test]
title  1020. TMPXAttributeData Operator BitwiseOr
create commontestclass mpxatt
mpxatt MpxAttConst KMPXAttContentID1 KMPXAttAttributeID1
mpxatt MpxAttCopyConstAtt KMPXAttContentID1 KMPXAttAttributeID2
mpxatt MpxAttOperatorOr 0 1 3
delete mpxatt
[Endtest]

// --------------------------------------------------------------------------
//                               CMPXMedia
// --------------------------------------------------------------------------
[Test]
title  1021. CMPXMedia NewL
create commontestclass mpxmedia
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewL
delete mpxmedia
[Endtest]

[Test]
title  1022. CMPXMedia NewL SupportedIds
create commontestclass mpxmedia
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1 KMPXAttContentID2
mpxmedia MpxMediaNewLSupportedIdsL
delete mpxmedia
[Endtest]

[Test]
title  1023. CMPXMedia NewL Media
create commontestclass mpxmedia
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1
mpxmedia MpxMediaNewLMediaL 0
delete mpxmedia
[Endtest]

[Test]
title  1024. CMPXMedia NewL DataHandle
create commontestclass mpxmedia
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID2
mpxmedia MpxMediaNewLDataHandleL 0
delete mpxmedia
[Endtest]

[Test]
title  1025. CMPXMedia NewL Stream
create commontestclass mpxmedia
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1 KMPXAttContentID2
mpxmedia MpxMediaNewLStreamL 0
delete mpxmedia
[Endtest]

[Test]
title  1026. CMPXMedia Assingment Operator
create commontestclass mpxmedia
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1
mpxmedia MpxMediaOperatorAssignment 0
delete mpxmedia
[Endtest]

[Test]
title  1027. CMPXMedia SupportedIds
create commontestclass mpxmedia
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1 KMPXAttContentID2
mpxmedia MpxMediaSupportedIds 0 KMPXAttContentID2 KMPXAttContentID1
delete mpxmedia
[Endtest]

[Test]
title  1028. CMPXMedia SetTObjectValueL
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeInt
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1
mpxmedia MpxMediaSetTObjectValueL 0 0 5
delete mpxmedia
[Endtest]

[Test]
title  1029. CMPXMedia SetCObjectValueL
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeCObject
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1
mpxmedia MpxMediaSetCObjectValueL 0 0 CMPXMediaArray
mpxmedia MpxMediaSetCObjectValueL 0 0 CMPXMedia
delete mpxmedia
[Endtest]

[Test]
title  1030. CMPXMedia SetNoNewLCObjectL
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeCObject
mpxmedia MpxAttConst KMPXAttContentID2 KMPXAttAttributeCObject
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1 KMPXAttContentID2
mpxmedia MpxMediaSetNoNewLCObjectL 0 0 CMPXCollectionPath
mpxmedia MpxMediaSetNoNewLCObjectL 0 1 CMPXMediaArray
delete mpxmedia
[Endtest]

[Test]
title  1031. CMPXMedia SetTextValueL
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID2 KMPXAttAttributeText
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID2
mpxmedia MpxMediaSetTextValueL 0 0 five
delete mpxmedia
[Endtest]

[Test]
title  1032. CMPXMedia Attributes
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeText
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeInt
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1
mpxmedia MpxMediaSetTextValueL 0 0 five
mpxmedia MpxMediaSetTObjectValueL 0 1 5
mpxmedia MpxMediaAttributes 0 0
mpxmedia MpxMediaAttributes 0 1
delete mpxmedia
[Endtest]

[Test]
title  1033. CMPXMedia IsSupported
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeText
mpxmedia MpxAttConst KMPXAttContentID2 KMPXAttAttributeInt
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1
mpxmedia MpxMediaNewLSupportedIdsL
mpxmedia MpxMediaSetTextValueL 0 0 five
mpxmedia MpxMediaSetTObjectValueL 1 1 5
mpxmedia MpxMediaIsSupported 0 0 1
mpxmedia MpxMediaIsSupported 1 1 1
mpxmedia MpxMediaIsSupported 0 1 0
delete mpxmedia
[Endtest]

[Test]
title  1034. CMPXMedia Count
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeText
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeInt
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1
mpxmedia MpxMediaSetTextValueL 0 0 five
mpxmedia MpxMediaSetTObjectValueL 0 1 5
mpxmedia MpxMediaCount 0 2
delete mpxmedia
[Endtest]

[Test]
title  1035. CMPXMedia Attribute
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeText
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeInt
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1
mpxmedia MpxMediaSetTextValueL 0 0 five
mpxmedia MpxMediaSetTObjectValueL 0 1 5
mpxmedia MpxMediaAttribute 0 0 0
mpxmedia MpxMediaAttribute 0 1 1
delete mpxmedia
[Endtest]

[Test]
title  1036. CMPXMedia AttributesSet
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeText
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeInt
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1
mpxmedia MpxMediaSetTextValueL 0 0 five
mpxmedia MpxMediaSetTObjectValueL 0 1 5
mpxmedia MpxMediaAttributesSet 0 KMPXAttContentID1 12
mpxmedia MpxMediaAttributesSet 0 KMPXAttContentID2 0
delete mpxmedia
[Endtest]

[Test]
title  1037. CMPXMedia Index
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeText
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeInt
mpxmedia MpxAttConst KMPXAttContentID2 KMPXAttAttributeID2
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1
mpxmedia MpxMediaSetTextValueL 0 0 five
mpxmedia MpxMediaSetTObjectValueL 0 1 5
mpxmedia MpxMediaIndex 0 0 0
mpxmedia MpxMediaIndex 0 1 1
mpxmedia MpxMediaIndex 0 2 KErrNotFound
delete mpxmedia
[Endtest]

[Test]
title  1038. CMPXMedia Type(index)
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeText
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeInt
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeCObject
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1
mpxmedia MpxMediaSetTextValueL 0 0 five
mpxmedia MpxMediaSetTObjectValueL 0 1 5
mpxmedia MpxMediaSetCObjectValueL 0 2 CMPXMedia
mpxmedia MpxMediaTypeIndex 0 0 KMPXTypeText
mpxmedia MpxMediaTypeIndex 0 1 KMPXTypeTObject
mpxmedia MpxMediaTypeIndex 0 2 KMPXTypeCObject
delete mpxmedia
[Endtest]

[Test]
title  1039. CMPXMedia Type(attribute)
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeText
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeInt
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeCObject
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1
mpxmedia MpxMediaSetTextValueL 0 0 five
mpxmedia MpxMediaSetTObjectValueL 0 1 5
mpxmedia MpxMediaSetCObjectValueL 0 2 CMPXMedia
mpxmedia MpxMediaTypeAttribute 0 0 KMPXTypeText
mpxmedia MpxMediaTypeAttribute 0 1 KMPXTypeTObject
mpxmedia MpxMediaTypeAttribute 0 2 KMPXTypeCObject
delete mpxmedia
[Endtest]

[Test]
title  1040. CMPXMedia Reset
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeText
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeInt
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeCObject
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1
mpxmedia MpxMediaSetTextValueL 0 0 five
mpxmedia MpxMediaSetTObjectValueL 0 1 5
mpxmedia MpxMediaSetCObjectValueL 0 2 CMPXMedia
mpxmedia MpxMediaCount 0 3
mpxmedia MpxMediaReset 0
mpxmedia MpxMediaCount 0 0
delete mpxmedia
[Endtest]

[Test]
title  1041. CMPXMedia Delete(attribute)
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeText
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeInt
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeCObject
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1
mpxmedia MpxMediaSetTextValueL 0 0 five
mpxmedia MpxMediaSetTObjectValueL 0 1 5
mpxmedia MpxMediaSetCObjectValueL 0 2 CMPXMedia
mpxmedia MpxMediaCount 0 3
mpxmedia MpxMediaDeleteAttribute 0 2
mpxmedia MpxMediaCount 0 2
mpxmedia MpxMediaDeleteAttribute 0 1
mpxmedia MpxMediaCount 0 1
delete mpxmedia
[Endtest]

[Test]
title  1042. CMPXMedia Delete(index)
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeText
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeInt
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1
mpxmedia MpxMediaSetTextValueL 0 0 five
mpxmedia MpxMediaSetTObjectValueL 0 1 5
mpxmedia MpxMediaCount 0 2
mpxmedia MpxMediaDeleteIndex 0 0
mpxmedia MpxMediaCount 0 1
mpxmedia MpxMediaDeleteIndex 0 0
mpxmedia MpxMediaCount 0 0
delete mpxmedia
[Endtest]

[Test]
title  1043. CMPXMedia ValueText
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeText
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1
mpxmedia MpxMediaSetTextValueL 0 0 five
mpxmedia MpxMediaValueText 0 0 five
delete mpxmedia
[Endtest]

[Test]
title  1044. CMPXMedia Value
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeCObject
mpxmedia MpxAttConst KMPXAttContentID2 KMPXAttAttributeCObject
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1 KMPXAttContentID2
mpxmedia MpxMediaSetCObjectValueL 0 0 CMPXMedia
mpxmedia MpxMediaSetCObjectValueL 0 1 CMPXCollectionPath
mpxmedia MpxMediaValue 0 0 CMPXMedia
mpxmedia MpxMediaValue 0 1 CMPXCollectionPath
delete mpxmedia
[Endtest]

[Test]
title  1045. CMPXMedia Value Null
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeCObject
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeInt
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1
mpxmedia MpxMediaSetCObjectValueL 0 0 CMPXMediaArray
allowerrorcodes KErrUnexpectedValue
mpxmedia MpxMediaValue 0 1 CMPXMediaArray
delete mpxmedia
[Endtest]

[Test]
title  1046. CMPXMedia ValueTObjectL
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeInt
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1
mpxmedia MpxMediaSetTObjectValueL 0 0 5
mpxmedia MpxMediaValueTObjectL 0 0 5
delete mpxmedia
[Endtest]

[Test]
title  1047. CMPXMedia ValueCObjectL
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeCObject
mpxmedia MpxAttConst KMPXAttContentID2 KMPXAttAttributeCObject
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1 KMPXAttContentID2
mpxmedia MpxMediaSetCObjectValueL 0 0 CMPXMedia
mpxmedia MpxMediaSetCObjectValueL 0 1 CMPXCollectionPath
mpxmedia MpxMediaValueCObjectL 0 0 CMPXMedia
mpxmedia MpxMediaValueCObjectL 0 1 CMPXCollectionPath
delete mpxmedia
[Endtest]

[Test]
title  1048. CMPXMedia Internalize Externalize
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeText
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeInt
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeCObject
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1
mpxmedia MpxMediaSetTextValueL 0 0 five
mpxmedia MpxMediaSetTObjectValueL 0 1 5
mpxmedia MpxMediaSetCObjectValueL 0 2 CMPXMedia
mpxmedia MpxMediaStreamingL 0
delete mpxmedia
[Endtest]

// --------------------------------------------------------------------------
//                               CMPXMediaArray
// --------------------------------------------------------------------------
[Test]
title  1049. CMPXMediaArray NewL MediaArray
create commontestclass mpxmedia
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1 KMPXAttContentID2
mpxmedia MpxMediaArrayNewLMediaArrayL
delete mpxmedia
[Endtest]

[Test]
title  1050. CMPXMediaArray Count
create commontestclass mpxmedia
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1 KMPXAttContentID2
mpxmedia MpxMediaArrayCount 2
delete mpxmedia
[Endtest]

[Test]
title  1051. CMPXMediaArray AppendL by Ptr
create commontestclass mpxmedia
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaArrayCount 0
mpxmedia MpxMediaArrayAppendLByPtrL
mpxmedia MpxMediaArrayCount 1
delete mpxmedia
[Endtest]

[Test]
title  1052. CMPXMediaArray AppendL by Reference
create commontestclass mpxmedia
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaArrayCount 0
mpxmedia MpxMediaArrayAppendLByRefL
mpxmedia MpxMediaArrayCount 1
delete mpxmedia
[Endtest]

[Test]
title  1053. CMPXMediaArray Reset
create commontestclass mpxmedia
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaArrayAppendLByRefL
mpxmedia MpxMediaArrayAppendLByPtrL
mpxmedia MpxMediaArrayCount 2
mpxmedia MpxMediaArrayReset
mpxmedia MpxMediaArrayCount 0
delete mpxmedia
[Endtest]

[Test]
title  1054. CMPXMediaArray Remove
create commontestclass mpxmedia
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaArrayAppendLByRefL
mpxmedia MpxMediaArrayAppendLByPtrL
mpxmedia MpxMediaArrayCount 2
mpxmedia MpxMediaArrayRemove 1
mpxmedia MpxMediaArrayCount 1
mpxmedia MpxMediaArrayRemove 0
mpxmedia MpxMediaArrayCount 0
delete mpxmedia
[Endtest]

[Test]
title  1055. CMPXMediaArray Insert by Ptr
create commontestclass mpxmedia
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaArrayAppendLByRefL
mpxmedia MpxMediaArrayAppendLByPtrL
mpxmedia MpxMediaArrayCount 2
mpxmedia MpxMediaArrayInsertByPtr 0
mpxmedia MpxMediaArrayCount 3
mpxmedia MpxMediaArrayInsertByPtr 3
mpxmedia MpxMediaArrayCount 4
delete mpxmedia
[Endtest]

[Test]
title  1056. CMPXMediaArray Insert by Ref
create commontestclass mpxmedia
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaArrayAppendLByRefL
mpxmedia MpxMediaArrayAppendLByPtrL
mpxmedia MpxMediaArrayCount 2
mpxmedia MpxMediaArrayInsertByRef 0
mpxmedia MpxMediaArrayCount 3
mpxmedia MpxMediaArrayInsertByRef 3
mpxmedia MpxMediaArrayCount 4
delete mpxmedia
[Endtest]

[Test]
title  1057. CMPXMediaArray InsertL by Ptr
create commontestclass mpxmedia
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaArrayAppendLByRefL
mpxmedia MpxMediaArrayAppendLByPtrL
mpxmedia MpxMediaArrayCount 2
mpxmedia MpxMediaArrayInsertLByPtrL 0
mpxmedia MpxMediaArrayCount 3
mpxmedia MpxMediaArrayInsertLByPtrL 3
mpxmedia MpxMediaArrayCount 4
delete mpxmedia
[Endtest]

[Test]
title  1058. CMPXMediaArray InsertL by Ref
create commontestclass mpxmedia
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaArrayAppendLByRefL
mpxmedia MpxMediaArrayAppendLByPtrL
mpxmedia MpxMediaArrayCount 2
mpxmedia MpxMediaArrayInsertLByRefL 0
mpxmedia MpxMediaArrayCount 3
mpxmedia MpxMediaArrayInsertLByRefL 3
mpxmedia MpxMediaArrayCount 4
delete mpxmedia
[Endtest]

[Test]
title  1059. CMPXMediaArray Set
create commontestclass mpxmedia
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaArrayAppendLByRefL
mpxmedia MpxMediaArrayAppendLByPtrL
mpxmedia MpxMediaArraySet 0
mpxmedia MpxMediaArraySet 1
delete mpxmedia
[Endtest]

[Test]
title  1060. CMPXMediaArray Internalize Externalize
create commontestclass mpxmedia
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeText
mpxmedia MpxAttConst KMPXAttContentID1 KMPXAttAttributeInt
mpxmedia MpxMediaArrayNewL
mpxmedia MpxMediaNewLSupportedIdsL KMPXAttContentID1
mpxmedia MpxMediaSetTextValueL 0 0 five
mpxmedia MpxMediaSetTObjectValueL 0 1 5
mpxmedia MpxMediaArrayAppendLByPtrL
mpxmedia MpxMediaArrayStreamingL
delete mpxmedia
[Endtest]

// --------------------------------------------------------------------------
//                               CMPXCollectionPath
// --------------------------------------------------------------------------
[Test]
title  1061. CMPXCollectionPath NewL
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
delete mpxcollpath
[Endtest]

[Test]
title  1062. CMPXCollectionPath NewL Path
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxCollPathNewLPathL
delete mpxcollpath
[Endtest]

[Test]
title  1063. CMPXCollectionPath NewL Stream
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxCollPathNewLStreamL
delete mpxcollpath
[Endtest]

[Test]
title  1064. CMPXCollectionPath AppendL Id
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
delete mpxcollpath
[Endtest]

[Test]
title  1065. CMPXCollectionPath AppendL Id array
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
delete mpxcollpath  
[Endtest]

[Test]
title  1066. CMPXCollectionPath Levels
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathLevels 3
delete mpxcollpath  
[Endtest]

[Test]
title  1067. CMPXCollectionPath Back
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathLevels 3
mpxcollpath MpxCollPathBack
mpxcollpath MpxCollPathLevels 2
mpxcollpath MpxCollPathBack
mpxcollpath MpxCollPathLevels 1
delete mpxcollpath  
[Endtest]

[Test]
title  1068. CMPXCollectionPath Reset
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathLevels 3
mpxcollpath MpxCollPathReset
mpxcollpath MpxCollPathLevels 0
delete mpxcollpath  
[Endtest]

[Test]
title  1069. CMPXCollectionPath Operator++
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathOperatorPlus KTrue
mpxcollpath MpxCollPathOperatorPlus KTrue
mpxcollpath MpxCollPathOperatorPlus KFalse
delete mpxcollpath  
[Endtest]

[Test]
title  1070. CMPXCollectionPath Operator--
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathOperatorPlus KTrue
mpxcollpath MpxCollPathOperatorPlus KTrue
mpxcollpath MpxCollPathOperatorMinus KTrue
mpxcollpath MpxCollPathOperatorMinus KTrue
mpxcollpath MpxCollPathOperatorMinus KFalse
delete mpxcollpath  
[Endtest]

[Test]
title  1071. CMPXCollectionPath SetToFirst
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathOperatorPlus KTrue
mpxcollpath MpxCollPathOperatorPlus KTrue
mpxcollpath MpxCollPathIndex 2
mpxcollpath MpxCollPathSetToFirst
mpxcollpath MpxCollPathIndex 0
delete mpxcollpath  
[Endtest]

[Test]
title  1072. CMPXCollectionPath SetToLast
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSetToLast
mpxcollpath MpxCollPathIndex 2
delete mpxcollpath  
[Endtest]

[Test]
title  1073. CMPXCollectionPath Set(aIndex)
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSetIndex 2
mpxcollpath MpxCollPathIndex 2
mpxcollpath MpxCollPathSetIndex 0
mpxcollpath MpxCollPathIndex 0
delete mpxcollpath  
[Endtest]

[Test]
title  1074. CMPXCollectionPath Set(aId)
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSetId KMPXPathItem3
mpxcollpath MpxCollPathIndex 2
mpxcollpath MpxCollPathSetId KMPXPathItem1
mpxcollpath MpxCollPathIndex 0
delete mpxcollpath  
[Endtest]

[Test]
title  1075. CMPXCollectionPath Set(aMode)
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathSetMode KMPXOpenNoPlaylist
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxCollPathSetMode KMPXOpenAllItems
mpxcollpath MpxCollPathOpenNextMode KMPXOpenAllItems
mpxcollpath MpxCollPathOpenPreviousMode KMPXOpenNoPlaylist
delete mpxcollpath
[Endtest]

[Test]
title  1076. CMPXCollectionPath Set(aAttrs)
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxAttCopyConstAtt KMPXAttContentID1 KMPXAttAttributeID1
mpxcollpath MpxAttCopyConstAtt KMPXAttContentID2 KMPXAttAttributeID2
mpxcollpath MpxCollPathSetLAttrsL
delete mpxcollpath  
[Endtest]

[Test]
title  1077. CMPXCollectionPath SelectL(aId)
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSelectLIdL KMPXPathItem2
mpxcollpath MpxCollPathSelectLIdL KMPXPathItem1
delete mpxcollpath  
[Endtest]

[Test]
title  1078. CMPXCollectionPath SelectL(aIndex)
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSelectLIndexL 2
mpxcollpath MpxCollPathSelectLIndexL 0
delete mpxcollpath  
[Endtest]

[Test]
title  1079. CMPXCollectionPath SelectAllL
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSelectAllL
delete mpxcollpath  
[Endtest]

[Test]
title  1080. CMPXCollectionPath Deselect(aId)
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSelectLIdL KMPXPathItem2
mpxcollpath MpxCollPathSelectLIdL KMPXPathItem1
mpxcollpath MpxCollPathDeselectId KMPXPathItem1
mpxcollpath MpxCollPathDeselectId KMPXPathItem2
delete mpxcollpath  
[Endtest]

[Test]
title  1081. CMPXCollectionPath Deselect(aIndex)
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSelectLIndexL 2
mpxcollpath MpxCollPathSelectLIndexL 0
mpxcollpath MpxCollPathDeselectIndex 2
mpxcollpath MpxCollPathDeselectIndex 0
delete mpxcollpath  
[Endtest]

[Test]
title  1082. CMPXCollectionPath DeselectAll
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSelectLIndexL 2
mpxcollpath MpxCollPathSelectLIndexL 0
mpxcollpath MpxCollPathDeselectAll
delete mpxcollpath  
[Endtest]

[Test]
title  1083. CMPXCollectionPath Remove(aId)
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSelectLIdL KMPXPathItem2
mpxcollpath MpxCollPathSelectLIdL KMPXPathItem1
mpxcollpath MpxCollPathRemoveId KMPXPathItem1
mpxcollpath MpxCollPathRemoveId KMPXPathItem2
delete mpxcollpath  
[Endtest]

[Test]
title  1084. CMPXCollectionPath Remove(aIndex)
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSelectLIndexL 2
mpxcollpath MpxCollPathSelectLIndexL 0
mpxcollpath MpxCollPathRemoveIndex 2
mpxcollpath MpxCollPathRemoveIndex 0
delete mpxcollpath  
[Endtest]

[Test]
title  1085. CMPXCollectionPath IsSelected(aId)
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSelectLIdL KMPXPathItem2
mpxcollpath MpxCollPathSelectLIdL KMPXPathItem1
mpxcollpath MpxCollPathIsSelectedId KMPXPathItem1 KTrue
mpxcollpath MpxCollPathRemoveId KMPXPathItem1
mpxcollpath MpxCollPathIsSelectedId KMPXPathItem1 KFalse
delete mpxcollpath  
[Endtest]

[Test]
title  1086. CMPXCollectionPath IsSelected(aIndex)
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSelectLIndexL 2
mpxcollpath MpxCollPathSelectLIndexL 0
mpxcollpath MpxCollPathIsSelectedIndex 2 KTrue
mpxcollpath MpxCollPathDeselectIndex 2
mpxcollpath MpxCollPathIsSelectedIndex 2 KFalse
delete mpxcollpath  
[Endtest]

[Test]
title  1087. CMPXCollectionPath ClearSelection
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSelectLIndexL 2
mpxcollpath MpxCollPathSelectLIndexL 0
mpxcollpath MpxCollPathClearSelection
mpxcollpath MpxCollPathIsSelectedIndex 0 KFalse
mpxcollpath MpxCollPathIsSelectedIndex 2 KFalse
delete mpxcollpath  
[Endtest]

[Test]
title  1088. CMPXCollectionPath Selection
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSelectLIndexL 2
mpxcollpath MpxCollPathSelectLIndexL 1
mpxcollpath MpxCollPathSelection 2 1
delete mpxcollpath  
[Endtest]

[Test]
title  1089. CMPXCollectionPath SelectionL
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSelectLIdL KMPXPathItem2
mpxcollpath MpxCollPathSelectLIdL KMPXPathItem3
mpxcollpath MpxCollPathSelectionL KMPXPathItem2 KMPXPathItem3
delete mpxcollpath  
[Endtest]

[Test]
title  1090. CMPXCollectionPath Id
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSetId KMPXPathItem3
mpxcollpath MpxCollPathId KMPXPathItem3
delete mpxcollpath  
[Endtest]

[Test]
title  1091. CMPXCollectionPath Count
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathCount 3
delete mpxcollpath  
[Endtest]

[Test]
title  1092. CMPXCollectionPath IndexOfId
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathIndexOfId KMPXPathItem1 0
mpxcollpath MpxCollPathIndexOfId KMPXPathItem2 1
mpxcollpath MpxCollPathIndexOfId KMPXPathItem3 2
delete mpxcollpath  
[Endtest]

[Test]
title  1093. CMPXCollectionPath IdOfIndex
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathIdOfIndex 0 KMPXPathItem1
mpxcollpath MpxCollPathIdOfIndex 1 KMPXPathItem2
mpxcollpath MpxCollPathIdOfIndex 2 KMPXPathItem3
delete mpxcollpath  
[Endtest]

[Test]
title  1094. CMPXCollectionPath OpenAttributes
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxAttCopyConstAtt KMPXAttContentID1 KMPXAttAttributeID1
mpxcollpath MpxAttCopyConstAtt KMPXAttContentID2 KMPXAttAttributeID2
mpxcollpath MpxCollPathSetLAttrsL
mpxcollpath MpxCollPathOpenAttributes
delete mpxcollpath  
[Endtest]

[Test]
title  1095. CMPXCollectionPath Index(aLevel)
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSetIndex 1
mpxcollpath MpxItemIdReset
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxItemIdConst KMPXPathItem4
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSetIndex 0
mpxcollpath MpxCollPathIndexLevel 1 1
mpxcollpath MpxCollPathIndexLevel 2 0
delete mpxcollpath  
[Endtest]

[Test]
title  1096. CMPXCollectionPath Id(aLevel)
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSetIndex 1
mpxcollpath MpxItemIdReset
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxItemIdConst KMPXPathItem4
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSetIndex 0
mpxcollpath MpxCollPathIdLevel 1 KMPXPathItem2
mpxcollpath MpxCollPathIdLevel 2 KMPXPathItem3
delete mpxcollpath  
[Endtest]

[Test]
title  1097. CMPXCollectionPath ExternalizeL and InternalizeL
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSetIndex 1
mpxcollpath MpxItemIdReset
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxItemIdConst KMPXPathItem4
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSetIndex 0
mpxcollpath MpxCollPathStreamingL
delete mpxcollpath  
[Endtest]

[Test]
title  1098. CMPXCollectionPath HandleChange - KPathChangeAdded
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSelectLIndexL 2
mpxcollpath MpxCollPathHandleChange KMPXPathItem3 0 KPathChangeAdded KErrNotFound KChangeResultPathModified
delete mpxcollpath
[Endtest]

[Test]
title  1099. CMPXCollectionPath HandleChange - KPathChangeDeleted: Not Top Level
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSetIndex 1
mpxcollpath MpxItemIdReset
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxItemIdConst KMPXPathItem4
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSetIndex 0
mpxcollpath MpxCollPathHandleChange 0 KMPXPathItem2 KPathChangeDeleted 1 KChangeResultPathClipped
delete mpxcollpath
[Endtest]

[Test]
title  1100. CMPXCollectionPath HandleChange - KPathChangeDeleted: Top Level
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSetIndex 1
mpxcollpath MpxItemIdReset
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxItemIdConst KMPXPathItem4
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSetIndex 0
mpxcollpath MpxCollPathHandleChange KMPXPathItem3 0 KPathChangeDeleted 0 KChangeResultPathModified
delete mpxcollpath
[Endtest]

[Test]
title  1101. CMPXCollectionPath HandleChange - KPathChangeModified: Not Top Level
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSetIndex 1
mpxcollpath MpxItemIdReset
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxItemIdConst KMPXPathItem4
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSetIndex 0
mpxcollpath MpxCollPathHandleChange KMPXPathItem5 KMPXPathItem2 KPathChangeModified KErrNotFound KChangeResultPathModified
delete mpxcollpath
[Endtest]

[Test]
title  1102. CMPXCollectionPath HandleChange - KPathChangeModified: Top Level
create commontestclass mpxcollpath
mpxcollpath MpxCollPathNewL
mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
mpxcollpath MpxItemIdConst KMPXPathItem1
mpxcollpath MpxItemIdConst KMPXPathItem2
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSetIndex 1
mpxcollpath MpxItemIdReset
mpxcollpath MpxItemIdConst KMPXPathItem3
mpxcollpath MpxItemIdConst KMPXPathItem4
mpxcollpath MpxCollPathAppendLIdsL
mpxcollpath MpxCollPathSetIndex 0
mpxcollpath MpxCollPathHandleChange KMPXPathItem5 KMPXPathItem4 KPathChangeModified 1 KChangeResultPathModified
delete mpxcollpath
[Endtest]

//[Test]
//title  1103. CMPXCollectionPath HandleChange - KPathChangeGroupModified
//create commontestclass mpxcollpath
//mpxcollpath MpxCollPathNewL
//mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
//mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel2
//mpxcollpath MpxItemIdConst KMPXPathItem1
//mpxcollpath MpxItemIdConst KMPXPathItem2
//mpxcollpath MpxItemIdConst KMPXPathItem3
//mpxcollpath MpxCollPathAppendLIdsL
//mpxcollpath MpxCollPathSelectLIndexL 2
//mpxcollpath MpxCollPathHandleChange KMPXPathItem3 0 KPathChangeGroupModified KErrNotFound KChangeResultPathModified
//delete mpxcollpath
//[Endtest]

//[Test]
//title  1104. CMPXCollectionPath HandleChange - Path Unchanged
//create commontestclass mpxcollpath
//mpxcollpath MpxCollPathNewL
//mpxcollpath MpxCollPathAppendLIdL KMPXPathLevel1
//mpxcollpath MpxItemIdConst KMPXPathItem1
//mpxcollpath MpxItemIdConst KMPXPathItem2
//mpxcollpath MpxCollPathAppendLIdsL
//mpxcollpath MpxCollPathSetIndex 1
//mpxcollpath MpxItemIdReset
//mpxcollpath MpxItemIdConst KMPXPathItem3
//mpxcollpath MpxItemIdConst KMPXPathItem4
//mpxcollpath MpxCollPathAppendLIdsL
//mpxcollpath MpxCollPathSetIndex 0
//mpxcollpath MpxCollPathHandleChange KMPXPathItem5 KMPXPathLevel2 KPathChangeModified KErrNotFound KChangeResultPathUnchanged
//delete mpxcollpath
//[Endtest]

// --------------------------------------------------------------------------
//                               CMPXClientList
// --------------------------------------------------------------------------
[Test]
title  1105. CMPXClientList NewL
create commontestclass mpxclientlist
mpxclientlist MpxClientListNewL
delete mpxclientlist
[Endtest]

[Test]
title  1106. CMPXClientList ClientCount
create commontestclass mpxclientlist
mpxclientlist MpxClientListNewL
mpxclientlist MpxClientListClientCount 0
delete mpxclientlist
[Endtest]

[Test]
title  1107. CMPXClientList IsClient
create commontestclass mpxclientlist
mpxclientlist MpxClientListNewL
mpxclientlist MpxClientListIsClient KFalse
delete mpxclientlist
[Endtest]

[Test]
title  1108. CMPXClientList Find by MsgQueue
create commontestclass mpxclientlist
mpxclientlist MpxClientListNewL
mpxclientlist CreateCMPXMessageQueueL
mpxclientlist MpxClientListFindByMsg KErrNotFound
delete mpxclientlist
[Endtest]

[Test]
title  1109. CMPXClientList Find by ThreadId
create commontestclass mpxclientlist
mpxclientlist MpxClientListNewL
mpxclientlist MpxClientListFindById KErrNotFound
delete mpxclientlist
[Endtest]

// --------------------------------------------------------------------------
//                               CMPXPluginHandlerBase
// --------------------------------------------------------------------------
[Test]
title  1110. CMPXPluginHandlerBase SelectPluginL(aPluginUid)
create commontestclass mpxpluginhandlerbase
mpxpluginhandlerbase MpxPluginHandlerBaseSelectPluginLIdL
delete mpxpluginhandlerbase
[Endtest]

[Test]
title  1111. CMPXPluginHandlerBase SelectPluginL(aPluginName)
create commontestclass mpxpluginhandlerbase
mpxpluginhandlerbase MpxPluginHandlerBaseSelectPluginLNameL
delete mpxpluginhandlerbase
[Endtest]

[Test]
title  1112. CMPXPluginHandlerBase SelectPluginL(aUri, aDataType)
create commontestclass mpxpluginhandlerbase
mpxpluginhandlerbase MpxPluginHandlerBaseSelectPluginLUriL
delete mpxpluginhandlerbase
[Endtest]

[Test]
title  1113. CMPXPluginHandlerBase SelectPluginL(aPluginType)
create commontestclass mpxpluginhandlerbase
mpxpluginhandlerbase MpxPluginHandlerBaseSelectPluginLTypeL
delete mpxpluginhandlerbase
[Endtest]

[Test]
title  1114. CMPXPluginHandlerBase ClearSelectionCriteria
create commontestclass mpxpluginhandlerbase
mpxpluginhandlerbase MpxPluginHandlerBaseClearSelectionCriteria
delete mpxpluginhandlerbase
[Endtest]

[Test]
title  1115. CMPXPluginHandlerBase PluginName(aPluginType)
create commontestclass mpxpluginhandlerbase
mpxpluginhandlerbase MpxPluginHandlerBasePluginNameType
delete mpxpluginhandlerbase
[Endtest]

[Test]
title  1116. CMPXPluginHandlerBase PluginNamesL
create commontestclass mpxpluginhandlerbase
mpxpluginhandlerbase MpxPluginHandlerBasePluginNamesL
delete mpxpluginhandlerbase
[Endtest]

[Test]
title  1117. CMPXPluginHandlerBase SupportedMimeTypesL
create commontestclass mpxpluginhandlerbase
mpxpluginhandlerbase MpxPluginHandlerBaseSupportedMimeTypesL
delete mpxpluginhandlerbase
[Endtest]

[Test]
title  1118. CMPXPluginHandlerBase SupportedExtensionsL
create commontestclass mpxpluginhandlerbase
mpxpluginhandlerbase MpxPluginHandlerBaseSupportedExtensionsL
delete mpxpluginhandlerbase
[Endtest]

[Test]
title  1119. CMPXPluginHandlerBase SupportedSchemasL
create commontestclass mpxpluginhandlerbase
mpxpluginhandlerbase MpxPluginHandlerBaseSupportedSchemasL
delete mpxpluginhandlerbase
[Endtest]

[Test]
title  1120. CMPXPluginHandlerBase SupportedMimeTypesL
create commontestclass mpxpluginhandlerbase
mpxpluginhandlerbase MpxPluginHandlerBaseSupportedMimeTypesLUidL
delete mpxpluginhandlerbase
[Endtest]

[Test]
title  1121. CMPXPluginHandlerBase SupportedExtensionsL
create commontestclass mpxpluginhandlerbase
mpxpluginhandlerbase MpxPluginHandlerBaseSupportedExtensionsLUidL
delete mpxpluginhandlerbase
[Endtest]

[Test]
title  1122. CMPXPluginHandlerBase GetPluginTypes
create commontestclass mpxpluginhandlerbase
mpxpluginhandlerbase MpxPluginHandlerBaseGetPluginTypes
delete mpxpluginhandlerbase
[Endtest]

[Test]
title  1123. CMPXPluginHandlerBase GetPluginUids
create commontestclass mpxpluginhandlerbase
mpxpluginhandlerbase MpxPluginHandlerBaseGetPluginUids
delete mpxpluginhandlerbase
[Endtest]

[Test]
title  1124. CMPXPluginHandlerBase GetPluginUidsL
create commontestclass mpxpluginhandlerbase
mpxpluginhandlerbase MpxPluginHandlerBaseGetPluginUidsL
delete mpxpluginhandlerbase
[Endtest]

[Test]
title  1125. CMPXPluginHandlerBase PluginUid
create commontestclass mpxpluginhandlerbase
mpxpluginhandlerbase MpxPluginHandlerBasePluginUid
delete mpxpluginhandlerbase
[Endtest]

[Test]
title  1126. CMPXPluginHandlerBase IndexOf
create commontestclass mpxpluginhandlerbase
mpxpluginhandlerbase MpxPluginHandlerBaseIndexOf
delete mpxpluginhandlerbase
[Endtest]

[Test]
title  1127. CMPXPluginHandlerBase CreatePluginListL
create commontestclass mpxpluginhandlerbase
mpxpluginhandlerbase MpxPluginHandlerBaseCreatePluginListL
delete mpxpluginhandlerbase
[Endtest]

[Test]
title  1128. CMPXPluginHandlerBase FindPlugin
create commontestclass mpxpluginhandlerbase
mpxpluginhandlerbase MpxPluginHandlerBaseFindPlugin
delete mpxpluginhandlerbase
[Endtest]