* [refac] Split xxx.unittest.class.php into model.class.php, tao.class.php and zen.class.php.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
include dirname(__FILE__, 5) . '/test/lib/init.php';
|
||||
include dirname(__FILE__, 2) . '/lib/execution.unittest.class.php';
|
||||
include dirname(__FILE__, 2) . '/lib/model.class.php';
|
||||
zenData('user')->gen(5);
|
||||
su('admin');
|
||||
|
||||
@@ -80,7 +80,7 @@ $projectExecution->projectInfo = new stdclass();
|
||||
$projectExecution->projectInfo->model = 'waterfall';
|
||||
$projectExecution->projectInfo->hasProduct = 0;
|
||||
|
||||
$executionTester = new executionTest();
|
||||
$executionTester = new executionModelTest();
|
||||
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'); // 获取设计阶段禁用的功能
|
||||
|
||||
Reference in New Issue
Block a user