* [ci,doing,0.1h] fix getexecutionfeatures unit test.
This commit is contained in:
@@ -11,6 +11,34 @@ title=测试executionModel->getExecutionFeatures();
|
||||
timeout=0
|
||||
cid=1
|
||||
|
||||
- 获取运维类型迭代禁用的功能
|
||||
- 属性story @0
|
||||
- 属性task @1
|
||||
- 属性qa @0
|
||||
- 属性devops @1
|
||||
- 属性burn @0
|
||||
- 属性build @0
|
||||
- 属性other @1
|
||||
- 属性plan @1
|
||||
- 获取需求阶段禁用的功能
|
||||
- 属性story @1
|
||||
- 属性task @1
|
||||
- 属性qa @0
|
||||
- 属性devops @0
|
||||
- 属性burn @1
|
||||
- 属性build @0
|
||||
- 属性other @0
|
||||
- 属性plan @0
|
||||
- 获取设计阶段禁用的功能
|
||||
- 属性story @1
|
||||
- 属性task @1
|
||||
- 属性qa @0
|
||||
- 属性devops @0
|
||||
- 属性burn @1
|
||||
- 属性build @0
|
||||
- 属性other @0
|
||||
- 属性plan @1
|
||||
|
||||
*/
|
||||
|
||||
$opsExecution = new stdclass();
|
||||
@@ -38,5 +66,5 @@ $executionTester = new executionTest();
|
||||
r($executionTester->getExecutionFeaturesTest($opsExecution)) && p('story,task,qa,devops,burn,build,other,plan') && e('0,1,0,1,0,0,1,1'); // 获取运维类型迭代禁用的功能
|
||||
r($executionTester->getExecutionFeaturesTest($requestStage)) && p('story,task,qa,devops,burn,build,other,plan') && e('1,1,0,0,1,0,0,0'); // 获取需求阶段禁用的功能
|
||||
r($executionTester->getExecutionFeaturesTest($designStage)) && p('story,task,qa,devops,burn,build,other,plan') && e('1,1,0,0,1,0,0,1'); // 获取设计阶段禁用的功能
|
||||
r($executionTester->getExecutionFeaturesTest($reviewStage)) && p('story,task,qa,devops,burn,build,other,plan') && e('1,1,0,0,1,0,0,0'); // 获取评审阶段禁用的功能
|
||||
r($executionTester->getExecutionFeaturesTest($reviewStage)) && p('story,task,qa,devops,burn,build,other,plan') && e('0,1,0,0,1,0,0,0'); // 获取评审阶段禁用的功能
|
||||
r($executionTester->getExecutionFeaturesTest($projectExecution)) && p('story,task,qa,devops,burn,build,other,plan') && e('1,1,1,1,1,1,1,0'); // 获取项目型项目的执行禁用的功能
|
||||
|
||||
Reference in New Issue
Block a user