Changes between Version 1 and Version 2 of TestManagerForTracPluginRPCApi


Ignore:
Timestamp:
Jan 20, 2011 5:41:59 PM (4 years ago)
Author:
seccanj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TestManagerForTracPluginRPCApi

    v1 v2  
    1414== The exported functions == 
    1515 
    16 [[BR]]'''createTestCatalog'''(self, req, parent_catalog_id, title, description)[[BR]] 
     16[[BR]]'''createTestCatalog'''(parent_catalog_id, title, description)[[BR]] 
    1717        Creates a new test catalog, in the parent catalog specified,  
    1818        with the specified title and description. 
     
    2020        Returns the generated object ID, or '-1' if an error occurs. 
    2121 
    22 [[BR]]'''createTestCase'''(self, req, catalog_id, title, description)[[BR]] 
     22[[BR]]'''createTestCase'''(catalog_id, title, description)[[BR]] 
    2323        Creates a new test case, in the catalog specified, with the  
    2424        specified title and description. 
    2525        Returns the generated object ID, or '-1' if an error occurs. 
    2626         
    27 [[BR]]'''createTestPlan'''(self, req, catalog_id, name)[[BR]] 
     27[[BR]]'''createTestPlan'''(catalog_id, name)[[BR]] 
    2828        Creates a new test plan, on the catalog specified, with the  
    2929        specified name. 
    3030        Returns the generated object ID, or '-1' if an error occurs. 
    3131         
    32 [[BR]]'''deleteTestObject'''(self, req, objtype, id)[[BR]] 
     32[[BR]]'''deleteTestObject'''(objtype, id)[[BR]] 
    3333        Deletes the test object of the specified type identified 
    3434        by the given id.  
    3535        Returns True if successful, False otherwise. 
    3636         
    37 [[BR]]'''modifyTestObject'''(self, req, objtype, id, attributes={})[[BR]] 
     37[[BR]]'''modifyTestObject'''(objtype, id, attributes={})[[BR]] 
    3838        Modifies the test object of the specified type identified 
    3939        by the given id. 
    4040        Returns True if successful, False otherwise. 
    4141         
    42 [[BR]]'''setTestCaseStatus'''(self, req, testcase_id, plan_id, status)[[BR]] 
     42[[BR]]'''setTestCaseStatus'''(testcase_id, plan_id, status)[[BR]] 
    4343        Sets the test case status. 
    4444        Returns True if successful, False otherwise. 
    4545         
    46 [[BR]]'''getTestCatalog(self, req, catalog_id)[[BR]] 
     46[[BR]]'''getTestCatalog(catalog_id)[[BR]] 
    4747        Returns the catalog properties. 
    4848        The result is in the form, all strings: 
    4949        (wiki_page_name, title, description) 
    5050         
    51 [[BR]]'''getTestCase'''(self, req, testcase_id, plan_id='')[[BR]] 
     51[[BR]]'''getTestCase'''(testcase_id, plan_id='')[[BR]] 
    5252        Returns the test case properties. 
    5353        If plan_id is provided, also the status of the test case in the 
     
    5959                        (wiki_page_name, title, description, status) 
    6060                         
    61 [[BR]]'''getTestPlan'''(self, req, catalog_id, plan_id)[[BR]] 
     61[[BR]]'''getTestPlan'''(catalog_id, plan_id)[[BR]] 
    6262        Returns the test plan properties. 
    6363        The result is in the form, all strings: 
    6464        (wiki_page_name, name) 
    6565         
    66 [[BR]]'''listSubCatalogs'''(self, req, catalog_id)[[BR]] 
     66[[BR]]'''listSubCatalogs'''(catalog_id)[[BR]] 
    6767        Returns a iterator over the direct sub-catalogs of the specified  
    6868        catalog. 
     
    7070        (test_catalog_id, wiki_page_name, title, description) 
    7171         
    72 [[BR]]'''listTestPlans'''(self, req, catalog_id)[[BR]] 
     72[[BR]]'''listTestPlans'''(catalog_id)[[BR]] 
    7373        Returns a iterator over the test plans associated  
    7474        to the specified catalog. 
     
    7676        (testplan_id, name) 
    7777         
    78 [[BR]]'''listTestCases'''(self, req, catalog_id, plan_id='')[[BR]] 
     78[[BR]]'''listTestCases'''(catalog_id, plan_id='')[[BR]] 
    7979        Returns a iterator over the test cases directly in the  
    8080        specified catalog (no sub-catalogs).