#!/usr/bin/env php buildBrowseViewTest(1, 1, 'gantt', 'order_asc', '')) && p('success') && e('1'); // 步骤1:正常参数gantt类型 r($programplanTest->buildBrowseViewTest(2, 1, 'gantt', 'id_desc', 'all')) && p('type') && e('gantt'); // 步骤2:gantt类型带排序和浏览类型 r($programplanTest->buildBrowseViewTest(3, 2, 'lists', 'name_asc', '')) && p('type') && e('lists'); // 步骤3:lists类型测试 r($programplanTest->buildBrowseViewTest(1, 1, 'assignedTo', 'order_asc', 'bysearch')) && p('type') && e('assignedTo'); // 步骤4:assignedTo类型带搜索 r($programplanTest->buildBrowseViewTest(5, 2, 'gantt', 'begin_asc', 'bysearch')) && p('projectID') && e('5'); // 步骤5:搜索功能测试