Commit Graph
1990 Commits
Author SHA1 Message Date
liugang 082426ac13 * testtask: modify code comment. 2023-09-18 15:49:32 +08:00
liugang 14a67c48df * testtask: check if user have permission to access the product to which the testtask belongs. 2023-09-18 15:49:09 +08:00
liugang 1d64e7510e * testtaskZen: load the testcase model before using its configuration. 2023-09-18 15:24:32 +08:00
liugang dbc4b873d1 * testtask: assign moduleID to the cases page. 2023-09-18 15:22:31 +08:00
liugang c4d4de93a2 * testtask: fix error of calling undefined variable. 2023-09-18 15:17:33 +08:00
liugang 3f3b67240b * testtask: fix error of calling undefined properties of the testtask object. 2023-09-18 15:13:31 +08:00
caoyanyi de52e6af24 * Replace saveState to checkAccess. 2023-09-18 14:27:33 +08:00
liugang 0ff73a19c4 * testtask: refactor the cases method. 2023-09-18 14:03:22 +08:00
liugang 8d47754179 + testtaskZen: assign variables for cases page of a testtask. 2023-09-18 14:02:46 +08:00
liugang e1cea3c2ec + testtaskZen: set configuration of search form in cases page of a testtask. 2023-09-18 14:02:26 +08:00
liumengyi 31619703d0 * Refactor testtaskModel::getResults, and modify its unit test. 2023-09-18 10:55:43 +08:00
liugang 95e931af00 * testtask: remove unused code - the unit test only displayed in qa application now. 2023-09-18 09:59:19 +08:00
liugang ef6145bb6b * testtask: load product model before call its methods. 2023-09-15 13:17:32 +08:00
liugang 359bb5199e * testtask: load the product model before calling its method. 2023-09-15 13:10:25 +08:00
liugang afcc0fd18c + testtaskZen: fix error of using undefined variable. 2023-09-15 13:09:55 +08:00
liugang 770fcae19b * testtask: remove unnecessary variables assigned to browse page. 2023-09-15 09:51:15 +08:00
liugang 4273fdc5b3 - testtask: remove unused code. 2023-09-15 09:38:19 +08:00
liugang 47b294bc00 - testtask: remove code that has been implemented in the qaModel::setMenu method. 2023-09-15 09:36:29 +08:00
liugang 97bf54eb61 * testtask: use the member variable products of the testtask class to replace the local variable products in each method. 2023-09-15 09:36:01 +08:00
liugang b166f83f25 * testtaskZen: load product model before calling its method. 2023-09-15 09:23:49 +08:00
liugang 09d3f6a82d * testtask: call the testtaskZen::setMenu method instead of call methods in different modules. 2023-09-15 08:48:40 +08:00
liugang 3c89a8e0ab * testtaskZen: remove unused parameters of the setMenu method. 2023-09-14 17:21:24 +08:00
liugang 751157cc6b * testtask: load qa model before calling its method. 2023-09-14 17:10:53 +08:00
liugang 699ab2af09 - testtask: remove unused method. 2023-09-14 17:05:46 +08:00
liugang 87f3d9a6ee * testtask: calling qa::setMenu instead of testtask::setMenu. 2023-09-14 17:04:53 +08:00
liugang e1e232d26c * Remove unused parameters when calling the qa::setMenu method because the switcherMenu is implemented by the dropmenu widget now. 2023-09-14 17:00:40 +08:00
liumengyi d898556ae6 * Refactor testtask::getRunByID, and modify its unit test. 2023-09-14 16:15:58 +08:00
liumengyi 46597f504b * Refactor testtask::results. 2023-09-14 16:15:37 +08:00
liugang 495b758e90 * testtask: simplify code to get return message. 2023-09-14 15:53:22 +08:00
liugang 334ee8c767 * testtask: modify the comments of class member variables. 2023-09-14 15:52:18 +08:00
liugang 70f521fed9 * testtask: remove unused comment and add $products parameter when calling testtaskZen::setMenu method. 2023-09-14 15:51:37 +08:00
liugang 71cf9bff29 * testtask: refactor the __construct method. 2023-09-14 15:49:36 +08:00
liugang 298c51bf93 * testtaskZen: refactor the getProducts method. 2023-09-14 15:31:55 +08:00
liugang 9a97e53eba * testtaskZen: refactor the setMenu method. 2023-09-14 15:31:31 +08:00
liugang aefd84d6d5 * testtask: refactor the ajaxGetUserTestTasks method. 2023-09-14 10:01:23 +08:00
liugang 3ea3bf7c64 * testtask: refactor script to test the getPairs method. 2023-09-13 16:19:21 +08:00
liugang f35429393d * testtaskModel: remove the $params parameter of the getPairs method. 2023-09-13 16:18:42 +08:00
liugang bcda912800 * testtaskModel: refactor the getPairs method. 2023-09-13 14:11:46 +08:00
liugang cc16cf3282 * Refactor the ajaxGetTestTasks method of testtask module. 2023-09-13 14:04:29 +08:00
liugang cdffe69a68 * testtask: refactor the ajaxGetTestReports method. 2023-09-13 13:55:07 +08:00
liugang b56ee9ca03 * testtask: refactor the ajaxGetDropMenu method. 2023-09-13 13:46:18 +08:00
liugang d54613d875 * testtask: refactor the ajaxGetResult method. 2023-09-13 13:24:28 +08:00
liugang fea8270fb8 * testtask: add comment in chinese. 2023-09-13 11:06:22 +08:00
liugang 3335a4a1ce + testtask: add script to test the batchAssign method. 2023-09-13 10:59:45 +08:00
liugang bc30fd1e6c * testtask: refactor script to test the batchunlinkCases method. 2023-09-13 10:59:20 +08:00
liugang 16eba1966b * testtask: refactor the batchAssign method. 2023-09-13 10:38:40 +08:00
liugang c8825383bc + testtaskModel: add method to batch assign cases in a testtask. 2023-09-13 10:38:15 +08:00
liugang 8dacfa7606 * testtaskModel: return false if the $taskID parameter is empty. 2023-09-13 10:37:51 +08:00
liugang 9fb9e6f226 * testtask: pass the $caseIdList parameter when calling the batchUnlinkCases method. 2023-09-13 10:20:36 +08:00
liugang 406f8d29a6 + testtask: add script to test the batchUnlinkCases method. 2023-09-13 10:17:43 +08:00