Unit Test "Application Method "SMWCindyKate::Wikitext.add_FIELD_to_TEMPLATE_NAME" for Standard"

From SMW CindyKate - Main
UnitTest1704261515 /
Revision as of 11:35, 9 April 2018 by Lex (talk | contribs) (Text replacement - "HasKeyword" to "HasEntityKeyword")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Content

{{{HowDoesTheMethodAct}}}


TestsMethod Application Method "SMWCindyKate::Wikitext.add_FIELD_to_TEMPLATE_NAME" DescribesScenario Standard TestsMethodCall add_FIELD_to_TEMPLATE_CALL('Name=Value', 'ComponentType 100004', :all, :replace_existing_field=false) HasStatus MISSING STATUS

HowDoesTheMethodAct MISSING

MPHasPoolPagesFromTestCategory


RWHasWikitextFromTestPage RWExpectsWikitextLikeInTestPage

RVHasWikitextFromTestPage RVExpectsValue RVExpectsException


Before

{{Component
     |Root context ID=CUS0{{me}}
}}
Freetext0
{{ComponentType 100004
  |Name=Existing
}}

Command

 add_FIELD_to_TEMPLATE_CALL('Name=Value', 'ComponentType 100004', :all, :replace_existing_field=false)

After

{{Component
  |Root context ID=CUS0{{me}}
}}
Freetext0
{{ComponentType 100004
  |Name=Existing
}}