#!/usr/bin/env php type = 'sprint'; $normalExecution->lifetime = 'long'; $normalExecution->attribute = ''; $stageExecution = new stdclass(); $stageExecution->type = 'stage'; $stageExecution->lifetime = 'long'; $stageExecution->attribute = ''; $opsExecution = new stdclass(); $opsExecution->type = 'sprint'; $opsExecution->lifetime = 'ops'; $opsExecution->attribute = ''; $requestExecution = new stdclass(); $requestExecution->type = 'sprint'; $requestExecution->lifetime = 'long'; $requestExecution->attribute = 'request'; $reviewExecution = new stdclass(); $reviewExecution->type = 'sprint'; $reviewExecution->lifetime = 'long'; $reviewExecution->attribute = 'review'; r($taskTest->getCustomFieldsTest($normalExecution, 'create')) && p('0:module') && e('所属模块'); r($taskTest->getCustomFieldsTest($stageExecution, 'batchCreate')) && p('0:estStarted,deadline') && e('~~,~~'); r($taskTest->getCustomFieldsTest($opsExecution, 'batchEdit')) && p('0:story') && e('~~'); r(strpos($taskTest->getCustomFieldsTest($requestExecution, 'create')[1], 'story') !== false) && p() && e('0'); r($taskTest->getCustomFieldsTest($reviewExecution, 'batchEdit')) && p('0:module') && e('所属模块'); r(strpos($taskTest->getCustomFieldsTest($normalExecution, 'batchCreate')[1], 'story') !== false) && p() && e('1'); r(strpos($taskTest->getCustomFieldsTest($normalExecution, 'batchEdit')[1], 'module') !== false) && p() && e('1');