Page MenuHomePhabricator

Vuex store: Add tests for the new Zobject module methods.
Closed, ResolvedPublic

Description

Description

Add tests for the new methods added to the zobject module that will be preserved for DefaultView:

Getters:

  • getRowById
  • getZObjectKeyByRowId
  • getZObjectValueByRowId
  • getChildrenByParentRowId
  • getRowByKeyPath
  • getZObjectTerminalValue
  • getZFunctionCallFunctionId
  • getZFunctionCallArguments
  • getZFunctionArgumentDeclarations
  • getZTypeStringRepresentation
  • getTypedListItemType
  • getZPersistentContentRowId
  • getZPersistentNameLangs
  • getZPersistentName
  • getZPersistentDescriptionLangs
  • getZPersistentDescription
  • getZPersistentAliasLangs
  • getZPersistentAlias
  • getMetadataLanguages
  • getZImplementationFunctionRowId
  • getZImplementationFunctionZid
  • getZImplementationContentType
  • getZImplementationContentRowId
  • getZCodeProgrammingLanguage
  • getZCodeString
  • getZStringTerminalValue
  • getZReferenceTerminalValue
  • getZMonolingualTextValue
  • getZMonolingualLangValue
  • getZMonolingualStringsetValues
  • getZMonolingualStringsetLang
  • getZMultilingualLanguageList
  • getZBooleanValue
  • getZObjectTypeByRowId
  • getDepthByRowId
  • getParentRowId
  • getNextRowId
  • isInsideComposition

Actions:

  • injectZObjectFromRowId
  • injectKeyValueFromRowId
  • setZFunctionCallArguments
  • setZImplementationContentType
  • setValueByRowIdAndPath
  • setValueByRowId
  • removeItemFromTypedList
  • removeAllItemsFromTypedList

Completion checklist

Event Timeline

Change 886377 had a related patch set uploaded (by Genoveva Galarza; author: Genoveva Galarza):

[mediawiki/extensions/WikiLambda@master] Add Row class and use in zobjectTree and zobject modules

https://gerrit.wikimedia.org/r/886377

Change 886377 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Add Row class and use in zobjectTree and zobject modules

https://gerrit.wikimedia.org/r/886377

gengh updated the task description. (Show Details)
gengh updated the task description. (Show Details)

Change 906531 had a related patch set uploaded (by AllanJeremy (ThisDot); author: AllanJeremy (ThisDot)):

[mediawiki/extensions/WikiLambda@master] Feat: Vuex store: Add tests for the new Zobject module methods.

https://gerrit.wikimedia.org/r/906531

Change 906531 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Feat: Vuex store: Add tests for the new Zobject module methods.

https://gerrit.wikimedia.org/r/906531

gengh updated the task description. (Show Details)

Change 922550 had a related patch set uploaded (by AllanJeremy (ThisDot); author: AllanJeremy (ThisDot)):

[mediawiki/extensions/WikiLambda@master] Feat: Vuex store: Add tests for the new Zobject module methods.

https://gerrit.wikimedia.org/r/922550

Change 922550 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Feat: Vuex store: Add tests for the new Zobject module methods.

https://gerrit.wikimedia.org/r/922550