Changes between Version 9 and Version 10 of TestManagerPluginWorkflowOperations


Ignore:
Timestamp:
Jul 20, 2015, 10:22:55 AM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • TestManagerPluginWorkflowOperations

    v9 v10  
    1 = [wiki:TestManagerForTracPlugin TestManager] plugin out-of-the-box Workflow Operations =
     1= [wiki:TestManagerForTracPlugin TestManager] plugin out-of-the-box Workflow Operations
    22
    3 [[BR]]
    4 The following operations are provided along with the plugin:
     3The following operations are provided along with the TestManagerForTracPlugin:
    54
    65 * [wiki:TestManagerPluginWorkflowOperations#Setresourceowner Set the owner of the resource] to the desired user
    76 * [wiki:TestManagerPluginWorkflowOperations#Setresourceownertoself Set the owner of the resource to the currently logged-in user]
    87
    9 [[BR]]
    10 [[BR]]
     8= Set resource owner
    119
    12 -------------------------------------
    13 
    14 = Set resource owner =
    15 
    16 === Syntax ===
     10=== Syntax
    1711  '''set_owner'''
    1812
    19 [[BR]]
    20 === Parameters ===
     13=== Parameters
     14
    2115The user will be asked who to assign the resource to, via a text box or a drop-down list, depending on the following setting.
    2216 
     
    2519 1. Let the user specify the new owner, without guidance and without any restriction. This is the default behavior.
    2620
    27  2. Let the user specify the new owner, but chosen among a fixed set of users, specified in the trac.ini file:
     21 2. Let the user specify the new owner, but chosen among a fixed set of users, specified in the `trac.ini` file:
    2822
    29 {{{
     23{{{#!ini
    3024[testcase]
    3125available_owners = user2,user3
    3226}}}
    3327
    34  3. Let the user specify the new owner, but present a list of the known users that have the permission specified in the trac.ini file:
     28 3. Let the user specify the new owner, but present a list of the known users that have the permission specified in the `trac.ini` file:
    3529
    36 {{{
     30{{{#!ini
    3731[testcase]
    3832restrict_owner = true
     
    4034}}}
    4135
    42 [[BR]]
    43 === Requirements ===
     36=== Requirements
     37
    4438The resourceworkflowstate class must have been added the custom property "owner".
    45 To do this, add the following to trac.ini:
     39To do this, add the following to `trac.ini`:
    4640
    47 {{{
     41{{{#!ini
    4842[resourceworkflowstate-tm_custom]
    4943owner = text
     
    5145}}}
    5246
    53 [[BR]]
    54 === Example ===
     47=== Example
    5548
    5649Adding a workflow to Test Cases, and specifying that when transitioning to the "singing" state, the sample_operation and the set_owner operations should be performed.
    5750
    58 {{{
     51{{{#!ini
    5952[testcase-resource_workflow]
    6053sing = new -> singing
     
    7063}}}
    7164
    72 [[BR]]
    73 -------------------------------------
    74 [[BR]]
     65= Set resource owner to self
    7566
    76 = Set resource owner to self =
     67=== Syntax
    7768
    78 === Syntax ===
    7969  '''set_owner_to_self'''
    8070
    81 [[BR]]
    82 === Parameters ===
     71=== Parameters
     72
    8373None
    84 [[BR]]
    85 === Requirements ===
     74
     75=== Requirements
     76
    8677The resourceworkflowstate class must have been added the custom property "owner".
    8778To do this, add the following to trac.ini:
    8879
    89 {{{
     80{{{#!ini
    9081[resourceworkflowstate-tm_custom]
    9182owner = text
    9283owner.value =
    9384}}}
    94 [[BR]]
    95 === Example ===
     85
     86=== Example
    9687
    9788Adding a workflow to Test Cases, and specifying that when transitioning to the "singing" state, the set_owner_to_self operation should be performed.
    9889
    99 {{{
     90{{{#!ini
    10091[testcase-resource_workflow]
    10192sing = new -> singing
     
    110101owner.value =
    111102}}}
    112 
    113 [[BR]]
    114 [[BR]]