* Add annotation of unit test.

This commit is contained in:
liumengyi
2022-04-19 09:46:55 +08:00
parent b8782ba1ec
commit 66627be55e
92 changed files with 937 additions and 98 deletions
+10 -1
View File
@@ -10,6 +10,15 @@ title=测试 treeModel->createBugLink();
cid=1
pid=1
测试创建module 1821 的buglink >> title='产品模块1'
测试创建module 1822 的buglink >> title='产品模块2'
测试创建module 1981 的buglink >> title='产品模块161'
测试创建module 1982 的buglink >> title='产品模块162'
测试创建module 1621 的buglink >> title='模块1601'
测试创建module 1622 的buglink >> title='模块1602'
测试创建module 21 的buglink >> title='模块1'
测试创建module 22 的buglink >> title='模块2'
*/
$moduleID = array(1821, 1822, 1981, 1982, 1621, 1622, 21, 22);
@@ -23,4 +32,4 @@ r($tree->createBugLinkTest($moduleID[3])) && p() && e("title='产品模块162'")
r($tree->createBugLinkTest($moduleID[4])) && p() && e("title='模块1601'"); // 测试创建module 1621 的buglink
r($tree->createBugLinkTest($moduleID[5])) && p() && e("title='模块1602'"); // 测试创建module 1622 的buglink
r($tree->createBugLinkTest($moduleID[6])) && p() && e("title='模块1'"); // 测试创建module 21 的buglink
r($tree->createBugLinkTest($moduleID[7])) && p() && e("title='模块2'"); // 测试创建module 22 的buglink
r($tree->createBugLinkTest($moduleID[7])) && p() && e("title='模块2'"); // 测试创建module 22 的buglink