Changes between Version 1 and Version 2 of TestManagerForTracPluginRPCApi
- Timestamp:
- Jan 20, 2011, 4:41:59 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TestManagerForTracPluginRPCApi
v1 v2 14 14 == The exported functions == 15 15 16 [[BR]]'''createTestCatalog'''( self, req,parent_catalog_id, title, description)[[BR]]16 [[BR]]'''createTestCatalog'''(parent_catalog_id, title, description)[[BR]] 17 17 Creates a new test catalog, in the parent catalog specified, 18 18 with the specified title and description. … … 20 20 Returns the generated object ID, or '-1' if an error occurs. 21 21 22 [[BR]]'''createTestCase'''( self, req,catalog_id, title, description)[[BR]]22 [[BR]]'''createTestCase'''(catalog_id, title, description)[[BR]] 23 23 Creates a new test case, in the catalog specified, with the 24 24 specified title and description. 25 25 Returns the generated object ID, or '-1' if an error occurs. 26 26 27 [[BR]]'''createTestPlan'''( self, req,catalog_id, name)[[BR]]27 [[BR]]'''createTestPlan'''(catalog_id, name)[[BR]] 28 28 Creates a new test plan, on the catalog specified, with the 29 29 specified name. 30 30 Returns the generated object ID, or '-1' if an error occurs. 31 31 32 [[BR]]'''deleteTestObject'''( self, req,objtype, id)[[BR]]32 [[BR]]'''deleteTestObject'''(objtype, id)[[BR]] 33 33 Deletes the test object of the specified type identified 34 34 by the given id. 35 35 Returns True if successful, False otherwise. 36 36 37 [[BR]]'''modifyTestObject'''( self, req,objtype, id, attributes={})[[BR]]37 [[BR]]'''modifyTestObject'''(objtype, id, attributes={})[[BR]] 38 38 Modifies the test object of the specified type identified 39 39 by the given id. 40 40 Returns True if successful, False otherwise. 41 41 42 [[BR]]'''setTestCaseStatus'''( self, req,testcase_id, plan_id, status)[[BR]]42 [[BR]]'''setTestCaseStatus'''(testcase_id, plan_id, status)[[BR]] 43 43 Sets the test case status. 44 44 Returns True if successful, False otherwise. 45 45 46 [[BR]]'''getTestCatalog( self, req,catalog_id)[[BR]]46 [[BR]]'''getTestCatalog(catalog_id)[[BR]] 47 47 Returns the catalog properties. 48 48 The result is in the form, all strings: 49 49 (wiki_page_name, title, description) 50 50 51 [[BR]]'''getTestCase'''( self, req,testcase_id, plan_id='')[[BR]]51 [[BR]]'''getTestCase'''(testcase_id, plan_id='')[[BR]] 52 52 Returns the test case properties. 53 53 If plan_id is provided, also the status of the test case in the … … 59 59 (wiki_page_name, title, description, status) 60 60 61 [[BR]]'''getTestPlan'''( self, req,catalog_id, plan_id)[[BR]]61 [[BR]]'''getTestPlan'''(catalog_id, plan_id)[[BR]] 62 62 Returns the test plan properties. 63 63 The result is in the form, all strings: 64 64 (wiki_page_name, name) 65 65 66 [[BR]]'''listSubCatalogs'''( self, req,catalog_id)[[BR]]66 [[BR]]'''listSubCatalogs'''(catalog_id)[[BR]] 67 67 Returns a iterator over the direct sub-catalogs of the specified 68 68 catalog. … … 70 70 (test_catalog_id, wiki_page_name, title, description) 71 71 72 [[BR]]'''listTestPlans'''( self, req,catalog_id)[[BR]]72 [[BR]]'''listTestPlans'''(catalog_id)[[BR]] 73 73 Returns a iterator over the test plans associated 74 74 to the specified catalog. … … 76 76 (testplan_id, name) 77 77 78 [[BR]]'''listTestCases'''( self, req,catalog_id, plan_id='')[[BR]]78 [[BR]]'''listTestCases'''(catalog_id, plan_id='')[[BR]] 79 79 Returns a iterator over the test cases directly in the 80 80 specified catalog (no sub-catalogs).