Application Method "SMWCindyKate::Wikitext.get_value_for_FIELD_NAME_in_TEMPLATE_NAME"
Component1769502718 /
Jump to navigation
Jump to search
|
Content
Unit tests covering this application method
MISSING STATUS Scenario "Flag :require_single_template_instance for wikitext NOT fulfilling this condition"
- testing method call get_value_for_FIELD_NAME_in_TEMPLATE_NAME('Field0', 'Template0', :require_single_template_instance) Returns a Value
RVHasWikitextFromTestPage | RVExpectsValue | RVExpectsException |
---|---|---|
TestPage4 | SMWCindyKate::MultipleInstancesForSameTemplate |
MISSING STATUS Scenario "Flag :require_single_template_instance for wikitext fulfilling this condition"
- testing method call get_value_for_FIELD_NAME_in_TEMPLATE_NAME('Field0', 'Template0', :require_single_template_instance) Returns a Value
RVHasWikitextFromTestPage | RVExpectsValue | RVExpectsException |
---|---|---|
TestPage0 | Value0 |
TestsAreRunBy {{{2}}}
IsMethodType DataGettingMethod
describe ".get_value_for_FIELD_NAME_in_TEMPLATE_NAME", :'alltests' => true do it "" do tp0 = $pool_test_pages.clone tp0.from_ASK_QUERIES('[[TestPage4]]') expect( tp0.pages.values[0].get_value_for_FIELD_NAME_in_TEMPLATE_NAME( :single_template_instance, # :all_instances, alternative ways for instances selection? 'TestTemplateField0', 'TestTemplate0' ) ).to eq 'lorem ipsum' end end