* Change steps of the doc::getOrderedExecutions unit test.
This commit is contained in:
Regular → Executable
+8
-1
@@ -3,9 +3,13 @@
|
||||
/**
|
||||
|
||||
title=测试 docModel->getOrderedExecutions();
|
||||
timeout=0
|
||||
cid=1
|
||||
|
||||
- 获取系统中已排序的执行第0条的102属性 @敏捷项目1 / 迭代6
|
||||
- 获取系统中包括ID=101已排序的执行第0条的102属性 @敏捷项目1 / 迭代6
|
||||
- 获取系统中已排序的执行数量 @3
|
||||
- 获取系统中包括ID=101已排序的执行数量 @3
|
||||
|
||||
*/
|
||||
|
||||
include dirname(__FILE__, 5) . '/test/lib/init.php';
|
||||
@@ -20,3 +24,6 @@ $appends = array(0, 101);
|
||||
$docTester = new docTest();
|
||||
r($docTester->getOrderedExecutionsTest($appends[0])) && p('0:102') && e('敏捷项目1 / 迭代6'); // 获取系统中已排序的执行
|
||||
r($docTester->getOrderedExecutionsTest($appends[1])) && p('0:102') && e('敏捷项目1 / 迭代6'); // 获取系统中包括ID=101已排序的执行
|
||||
|
||||
r(count($docTester->getOrderedExecutionsTest($appends[0]))) && p() && e('3'); // 获取系统中已排序的执行数量
|
||||
r(count($docTester->getOrderedExecutionsTest($appends[1]))) && p() && e('3'); // 获取系统中包括ID=101已排序的执行数量
|
||||
|
||||
Reference in New Issue
Block a user