* Autotest program.

This commit is contained in:
zhengrunyu
2022-01-18 10:41:40 +08:00
parent 8ebdc2a3b6
commit f7682bf7a2
13 changed files with 301 additions and 62 deletions
+6 -1
View File
@@ -42,9 +42,14 @@ pid=1
*/
a($t->getListByOrder('id_asc'));
/* GetList($status). */
r($t->getListByStatus('all')) && p() && e('100'); // 查看所有项目和项目集的个数
r($t->getListByStatus('wait')) && p() && e('34'); // 查看所有'wait'的项目和项目集的个数
r($t->getListByStatus('doing')) && p() && e('44'); // 查看所有'doing'的项目和项目集的个数
r($t->getListByStatus('suspended')) && p() && e('11'); // 查看所有'suspended'的项目和项目集的个数
r($t->getListByStatus('closed')) && p() && e('11'); // 查看所有'closed'的项目和项目集的个数
/* GetList('all', $orderBy). */
r($t->getListByOrder('name_desc')) && p() && e(1); // 按照项目和项目集名称倒序获取项目列表
r($t->getListByOrder('id_asc')) && p() && e(1); // 按照ID正序获取项目和项目集列表