Commit Graph
511 Commits
Author SHA1 Message Date
liugang 2c2eb1be5a * testtask: rename the method to init a record for filling back the test result after the automated test is completed. 2023-09-28 10:05:51 +08:00
liugang b9db661214 * testtaskModel: modify method comment. 2023-09-28 10:05:24 +08:00
liugang 4c56d78ed5 * testtaskModel: refactor the getUserTestTaskPairs method. 2023-09-28 09:57:51 +08:00
liugang 9d647187be * testtaskModel: refactor the getTaskCases method. 2023-09-28 09:52:13 +08:00
liugang ac0abeffb2 * testtaskModel: abstract the function of adding prefixes to sorting fields into a method. 2023-09-28 09:37:54 +08:00
liugang f85150e5a4 * testtaskModel: refactor the getUserRuns method. 2023-09-28 09:27:04 +08:00
liugang 98b7138f52 * testtaskModel: refactor the getRunsBySuite method. 2023-09-28 09:26:17 +08:00
liugang 7c2f60c8c7 * testtaskModel: remove the unnecessary 3rd parameter when calling the zget function. 2023-09-28 09:25:06 +08:00
liugang 34b6dcebab * testtaskModel: refactor the linkCase method. 2023-09-28 09:23:50 +08:00
liugang e3c9549f3c * testtaskModel: call zget function to simplify code. 2023-09-28 09:22:38 +08:00
liugang 098d025c56 * testtaskModel: enclose the value in the dao query condition in single quotes. 2023-09-28 09:21:11 +08:00
liugang 8df7d0c9b5 * testtaskModel: change keywords in sql to uppercase. 2023-09-28 09:16:17 +08:00
liugang 7646fdc770 * testtaskModel: replace double quotes with single quotes. 2023-09-28 09:13:45 +08:00
caoyanyi c3d1e9a4bd * Adjust params. 2023-09-27 14:16:06 +08:00
caoyanyi fc1ab2b8a5 + Add method for testtask getByBuild. 2023-09-27 14:11:49 +08:00
liugang ee57147d09 - testtask: remove unused mergeChartOption method. 2023-09-26 09:48:14 +08:00
liugang 8e571c3032 * testtaskModel: call methods to initialize suite, case and result. 2023-09-25 17:30:43 +08:00
liugang 3412dbca93 + testtaskModel: process the execution result of the test case according to the imported xml file content. 2023-09-25 17:30:07 +08:00
liugang 93b91252d2 + testtaskModel: add methods to initialize objects used to import data from unit test file and ztf. 2023-09-25 17:28:21 +08:00
liugang 456cd01ef7 * testtask: rename the initResult method to createResultForAutomatedTest. 2023-09-25 17:13:24 +08:00
liugang faaddebd0e - testtaskModel: remove unused printCell method. 2023-09-25 17:11:00 +08:00
liugang 1048fe1252 * testtaskModel: change method order. 2023-09-25 16:03:34 +08:00
liugang e4d305e71f * testtaskModel: refactor methods. 2023-09-25 16:00:48 +08:00
liugang 4da4073e77 * testtaskModel: modify comment. 2023-09-25 15:59:04 +08:00
liugang ba0cb08825 - testtaskModel: remove unused getBugInfo method. 2023-09-25 15:49:09 +08:00
liugang d2ced24017 * testtaskModel: fix variable unused bug. 2023-09-25 14:35:54 +08:00
liugang 54c3ddc98f * testtaskModel: add a method to process the execution name of testtask. 2023-09-25 14:22:45 +08:00
liugang 2a35175c1a * testtaskModel: remove unused variable declarations. 2023-09-25 14:21:30 +08:00
liugang 5c425afc3a * testtask: rename the groupRunsBySuite method to getRunsForUnitCases. 2023-09-25 10:19:16 +08:00
liumengyi 32ee67bf6f * Refactor testtask::browse. 2023-09-22 15:14:26 +08:00
liugang bbe45cee89 * testtaskModel: remove parameter's default value. 2023-09-22 08:38:55 +08:00
liugang fcc8beaeaf - testtaskModel: remove unused method. 2023-09-21 16:56:50 +08:00
liugang 0fb8f23269 * testtask: refactor the importUnitResult method. 2023-09-21 14:08:28 +08:00
liugang 3a263c29f1 * testtaskModel: refactor the createResult method. 2023-09-20 14:03:45 +08:00
liugang 2382519402 * testtaskModel: declare the parameter types and return type of the getRuns method. 2023-09-19 13:29:35 +08:00
liumengyi 31619703d0 * Refactor testtaskModel::getResults, and modify its unit test. 2023-09-18 10:55:43 +08:00
liugang 699ab2af09 - testtask: remove unused method. 2023-09-14 17:05:46 +08:00
liumengyi d898556ae6 * Refactor testtask::getRunByID, and modify its unit test. 2023-09-14 16:15:58 +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 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 b9d0029e09 * testtaskModel: refactor the batchUnlinkCases method. 2023-09-13 10:04:25 +08:00
liugang 0a168775d1 + testtaskModel: add a method to batch remove cases from a testtask. 2023-09-13 09:52:10 +08:00
liugang d8bd6cf2d8 * testtaskModel: refactor the unlinkCase method. 2023-09-12 17:04:13 +08:00
liugang a8ac477bc4 + testtask: add method to remove a case from a testtask. 2023-09-12 14:20:21 +08:00
liugang bd2004723e * testtask: modify comment. 2023-09-12 10:22:53 +08:00
liugang 4b09607a75 * testtaskModel: remove unused code. 2023-09-12 10:21:07 +08:00
liugang 6e8bcc7bed * testtaskModel: check if the action can be executed based on the isClickable method. 2023-09-12 10:19:50 +08:00
liugang 2daed2a482 * testtaskModel: refactor the block method. 2023-09-12 10:15:41 +08:00