Commit Graph
525 Commits
Author SHA1 Message Date
liugang 2ff82aa533 + testtaskModel: return empty array if the $idList parameter is empty. 2023-10-10 14:02:08 +08:00
liugang 1ab4c6fe32 * testtask: declare access of the create method. 2023-10-10 10:48:50 +08:00
liugang 392d5316f4 * testtaskModel: refactor the getAllLinkableCases method. 2023-10-10 10:39:10 +08:00
liugang b3c00d9cf0 * testtaskModel: fix error of using object as string. 2023-10-09 14:57:14 +08:00
liugang f35a288741 + testtaskModel: convert the execution results of the test case steps to array type for consistency with historical data. 2023-10-09 14:33:45 +08:00
liugang c5f59a3b9f * testtaskModel: save the log after saving the test case execution results in the loop. 2023-10-09 08:27:22 +08:00
liugang be513118e1 * testtaskModel: adjust method comment and declare the parameter types and return type. 2023-10-08 10:04:27 +08:00
liugang 0ed49db98f - testtaskModel: remove unused code. 2023-10-08 09:48:10 +08:00
liugang 1990fd8771 * testtaskModel: optimize sql. 2023-10-08 09:32:02 +08:00
liugang 9fa6ffceba * testtaskModel: fix error of using an integer as an object. 2023-10-08 08:57:01 +08:00
liugang 39bde584a9 * testtask: refactor the linkCase method. 2023-10-08 08:38:57 +08:00
liugang d4bebf1fe9 * testtask: refactor the batchRun method. 2023-10-07 16:26:09 +08:00
liugang 9b2db6b1d5 * testtaskModel: change the $moduleID parameter from integer type to array type. 2023-10-07 16:25:30 +08:00
liugang 19bf5b9ca3 - testtaskModel: remove unused code. 2023-10-07 13:46:15 +08:00
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