diff --git a/test/data/execution.yaml b/test/data/execution.yaml index 977d864988..c01c1e03cb 100644 --- a/test/data/execution.yaml +++ b/test/data/execution.yaml @@ -30,6 +30,16 @@ fields: - field: desc range: 1-10000 prefix: "迭代描述" + - field: begin + range: "(-2M)-(+M):1D" + type: timestamp + format: "YY/MM/DD" + postfix: "\t" + - field: end + range: "(+1w)-(+2M):1D" + type: timestamp + format: "YY/MM/DD" + postfix: "\t" - field: grade range: 1 - field: parent diff --git a/test/data/program.yaml b/test/data/program.yaml index 354ef3f815..f609a8e0e1 100644 --- a/test/data/program.yaml +++ b/test/data/program.yaml @@ -39,6 +39,16 @@ fields: - field: code range: 1-10000 prefix: "program" + - field: begin + range: "(-5M)-(+M):1D" + type: timestamp + format: "YY/MM/DD" + postfix: "\t" + - field: end + range: "(+10w)-(+2M):1D" + type: timestamp + format: "YY/MM/DD" + postfix: "\t" - field: desc range: 1-10000 prefix: "项目集描述" diff --git a/test/data/project.yaml b/test/data/project.yaml index 1bfd668804..2c9bc17a08 100644 --- a/test/data/project.yaml +++ b/test/data/project.yaml @@ -56,12 +56,12 @@ fields: range: 1-10000 prefix: "project" - field: begin - range: "(-2M)-(+M):1D" + range: "(-3M)-(+M):1D" type: timestamp format: "YY/MM/DD" postfix: "\t" - field: end - range: "(+1w)-(+2M):1D" + range: "(+5w)-(+2M):1D" type: timestamp format: "YY/MM/DD" postfix: "\t" diff --git a/test/data/projectalone.yaml b/test/data/projectalone.yaml index b54b939468..840af33daa 100644 --- a/test/data/projectalone.yaml +++ b/test/data/projectalone.yaml @@ -42,9 +42,16 @@ fields: - field: parent range: 0 - field: path - range: 731-750 - prefix: "," - postfix: "," + fields: + - field: path1 + prefix: "," + range: 731-750 + - field: path2 + range: [] + postfix: "," + - field: path3 + range: [] + postfix: "," - field: grade range: "1" - field: code diff --git a/test/data/zentao/config.php b/test/data/zentao/config.php index d5e1252bb6..e316abb3c0 100644 --- a/test/data/zentao/config.php +++ b/test/data/zentao/config.php @@ -18,8 +18,8 @@ $builder->extension = array('rows' => 10, 'extends' => array('extension')); $builder->program = array('rows' => 10, 'extends' => array('project', 'program')); $builder->project = array('rows' => 90, 'extends' => array('project', 'project')); -$builder->projectalone = array('rows' => 20, 'extends' => array('project', 'projectalone')); $builder->sprint = array('rows' => 600, 'extends' => array('project', 'execution')); +$builder->projectalone = array('rows' => 20, 'extends' => array('project', 'projectalone')); $builder->story = array('rows' => 400, 'extends' => array('story')); $builder->childstory = array('rows' => 50, 'extends' => array('story','childstory'));