* Add switchDB by tests.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/action.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -34,4 +35,4 @@ r($action->createTest($objectTypeList[3], $objectIDList[0], $actionTypeList[3]))
|
||||
r($action->createTest($objectTypeList[4], $objectIDList[0], $actionTypeList[4], $comment)) && p('objectType,objectId,action,comment') && e('story,,comments,测试备注'); // 测试创建story 1 comment动态
|
||||
r($action->createTest($objectTypeList[4], $objectIDList[0], $actionTypeList[4])) && p() && e(''); // 测试创建story 1 comment动态 不填写备注
|
||||
r($action->createTest($objectTypeList[2], $objectIDList[0], $actionTypeList[5], '', '', $actor)) && p() && e('0'); // 测试创建游客 logout动态
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -10,10 +10,12 @@ title=测试 actionModel->getTrashes();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
查询type all id desc排序的回收站信息 >> testsuite,,这是测试套件名称87;story,,软件需求48
|
||||
查询type all id desc排序的回收站信息 >> story,,软件需求48;testsuite,,这是测试套件名称87
|
||||
查询type hidden id asc排序的回收站信息 >> testcase,,这个是测试用例9
|
||||
查询type hidden id asc排序的回收站信息 >> testcase,,这个是测试用例9
|
||||
查询objectType all type all id desc排序的回收站信息 >> testsuite,,这是测试套件名称87;story,,软件需求48
|
||||
查询objectType all type all id desc排序的回收站信息 >> story,,软件需求48;testsuite,,这是测试套件名称87
|
||||
查询objectType all type hidden id asc排序的回收站信息 >> testcase,,这个是测试用例9
|
||||
查询objectType all type hidden id asc排序的回收站信息 >> testcase,,这个是测试用例9
|
||||
查询objectType story type all id asc排序的回收站信息 >> story,,软件需求48
|
||||
查询objectType testcase hidden id asc排序的回收站信息 >> testcase,,这个是测试用例9
|
||||
|
||||
*/
|
||||
|
||||
@@ -29,4 +31,4 @@ r($action->getTrashesTest($objectTypeList[0], $typeList[0], $orderBy[1], $pager)
|
||||
r($action->getTrashesTest($objectTypeList[0], $typeList[1], $orderBy[0], $pager)) && p('0:objectType,objectId,objectName') && e('testcase,,这个是测试用例9'); // 查询objectType all type hidden id asc排序的回收站信息
|
||||
r($action->getTrashesTest($objectTypeList[0], $typeList[1], $orderBy[1], $pager)) && p('0:objectType,objectId,objectName') && e('testcase,,这个是测试用例9'); // 查询objectType all type hidden id asc排序的回收站信息
|
||||
r($action->getTrashesTest($objectTypeList[1], $typeList[0], $orderBy[0], $pager)) && p('0:objectType,objectId,objectName') && e('story,,软件需求48'); // 查询objectType story type all id asc排序的回收站信息
|
||||
r($action->getTrashesTest($objectTypeList[2], $typeList[1], $orderBy[0], $pager)) && p('0:objectType,objectId,objectName') && e('testcase,,这个是测试用例9'); // 查询objectType testcase hidden id asc排序的回收站信息
|
||||
r($action->getTrashesTest($objectTypeList[2], $typeList[1], $orderBy[0], $pager)) && p('0:objectType,objectId,objectName') && e('testcase,,这个是测试用例9'); // 查询objectType testcase hidden id asc排序的回收站信息
|
||||
Regular → Executable
+4
-1
@@ -10,6 +10,9 @@ title=测试 actionModel->getTrashObjectTypes();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
查询type all 的对象类型列表 >> story
|
||||
查询type all 的对象类型列表 >> testcase
|
||||
|
||||
*/
|
||||
|
||||
$typeList = array('all', 'hidden');
|
||||
@@ -17,4 +20,4 @@ $typeList = array('all', 'hidden');
|
||||
$action = new actionTest();
|
||||
|
||||
r($action->getTrashObjectTypesTest($typeList[0])) && p('story:objectType') && e('story'); // 查询type all 的对象类型列表
|
||||
r($action->getTrashObjectTypesTest($typeList[1])) && p('testcase:objectType') && e('testcase'); // 查询type all 的对象类型列表
|
||||
r($action->getTrashObjectTypesTest($typeList[1])) && p('testcase:objectType') && e('testcase'); // 查询type all 的对象类型列表
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/action.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -17,4 +18,4 @@ pid=1
|
||||
$action = new actionTest();
|
||||
|
||||
r($action->hideAllTest()) && p('0:extra;1:extra;2:extra') && e('2;2;2'); // 隐藏回收站全部信息
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/action.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -24,4 +25,4 @@ r($action->hideOneTest($actionIDList[0])) && p('extra') && e('2'); // 隐藏acti
|
||||
r($action->hideOneTest($actionIDList[1])) && p('extra') && e('2'); // 隐藏action 87
|
||||
r($action->hideOneTest($actionIDList[2])) && p('extra') && e('2'); // 隐藏已隐藏action 9
|
||||
r($action->hideOneTest($actionIDList[3])) && p('extra') && e('1'); // 隐藏非删除action 1
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/action.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -34,4 +35,4 @@ r($action->logHistoryTest($actionIDList[1], $changes2)) && p('0:field,old,new')
|
||||
r($action->logHistoryTest($actionIDList[2], $changes3)) && p('0:field,old,new') && e('name,name1,name2'); // 测试新增actionID 10003 历史记录
|
||||
r($action->logHistoryTest($actionIDList[3], $changes4)) && p('0:field,old,new') && e('code,code1,code2'); // 测试新增actionID 10004 历史记录
|
||||
r($action->logHistoryTest($actionIDList[4], $changes5)) && p('0:field,old,new') && e('assignedTo,test2,test1'); // 测试新增actionID 10005 历史记录
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/action.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -28,4 +29,4 @@ r($action->readTest($objectType[1], $objectID[1])) && p('0:objectType,objectID,r
|
||||
r($action->readTest($objectType[2], $objectID[2])) && p('0:objectType,objectID,read') && e('productplan,3,1'); // 测试对action 3 进行阅读操作
|
||||
r($action->readTest($objectType[3], $objectID[3])) && p('0:objectType,objectID,read') && e('release,4,1'); // 测试对action 4 进行阅读操作
|
||||
r($action->readTest($objectType[4], $objectID[4])) && p('0:objectType,objectID,read') && e('project,5,1'); // 测试对action 5 进行阅读操作
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/action.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -24,4 +25,4 @@ r($action->undeleteTest($actionIDList[0])) && p('extra') && e('0'); // 测试还
|
||||
r($action->undeleteTest($actionIDList[1])) && p('extra') && e('0'); // 测试还原action 87
|
||||
r($action->undeleteTest($actionIDList[2])) && p('extra') && e('0'); // 测试还原action 9
|
||||
r($action->undeleteTest($actionIDList[3])) && p('extra') && e('1'); // 测试还原未删除action 1
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/action.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -27,4 +28,4 @@ r($action->updateCommentTest($actionIDList[1], $commentList[1])) && p('comment')
|
||||
r($action->updateCommentTest($actionIDList[2], $commentList[2])) && p('comment') && e('备注3'); // 测试更新action 3的备注
|
||||
r($action->updateCommentTest($actionIDList[3], $commentList[3])) && p('comment') && e('备注4'); // 测试更新action 4的备注
|
||||
r($action->updateCommentTest($actionIDList[4], $commentList[4])) && p('comment') && e('备注5'); // 测试更新action 5的备注
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
Regular → Executable
+6
-1
@@ -10,6 +10,11 @@ title=测试 apiModel->create();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
测试创建api >> 910
|
||||
测试没有lib创建api >> 『API Library』should not be blank.
|
||||
测试没有title创建api >> 『Name』should not be blank.
|
||||
测试没有path创建api >> 『Request Path』should not be blank.
|
||||
|
||||
*/
|
||||
|
||||
$api = new apiTest();
|
||||
@@ -46,4 +51,4 @@ $emptyPathApi['path'] = '';
|
||||
r($api->createTest($normalApi)) && p('lib') && e('910'); //测试创建api
|
||||
r($api->createTest($emptyLibApi)) && p('lib:0') && e('『API Library』should not be blank.'); //测试没有lib创建api
|
||||
r($api->createTest($emptyTitleApi)) && p('title:0') && e('『Name』should not be blank.'); //测试没有title创建api
|
||||
r($api->createTest($emptyPathApi)) && p('path:0') && e('『Request Path』should not be blank.'); //测试没有path创建api
|
||||
r($api->createTest($emptyPathApi)) && p('path:0') && e('『Request Path』should not be blank.'); //测试没有path创建api
|
||||
Regular → Executable
+4
-1
@@ -10,6 +10,9 @@ title=测试 apiModel->createStruct();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
创建数据结构 >> struct
|
||||
创建没有结构名的数据结构 >> 『Name』should not be blank.
|
||||
|
||||
*/
|
||||
|
||||
global $tester;
|
||||
@@ -32,4 +35,4 @@ $normalStruct->addedBy = $tester->app->user->account;
|
||||
$normalStruct->addedDate = helper::now();
|
||||
|
||||
r($api->createStructTest($normalStruct)) && p('name') && e('struct'); //创建数据结构
|
||||
r($api->createStructTest($emptyNameStruct)) && p('name:0') && e('『Name』should not be blank.'); //创建没有结构名的数据结构
|
||||
r($api->createStructTest($emptyNameStruct)) && p('name:0') && e('『Name』should not be blank.'); //创建没有结构名的数据结构
|
||||
Regular → Executable
+3
-1
@@ -10,6 +10,8 @@ title=测试 apiModel->deleteRelease();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
删除一个创建的发布 >> 0
|
||||
|
||||
*/
|
||||
|
||||
global $tester;
|
||||
@@ -24,4 +26,4 @@ $normalRelease->addedDate = helper::now();
|
||||
|
||||
$release = $api->publishLibTest($normalRelease, false);
|
||||
|
||||
r($api->deleteReleaseTest($release->id, $release->lib)) && p('') && e('0'); //删除一个创建的发布
|
||||
r($api->deleteReleaseTest($release->id, $release->lib)) && p('') && e('0'); //删除一个创建的发布
|
||||
Regular → Executable
+3
-1
@@ -10,6 +10,8 @@ title=测试 apiModel->getApiListByRelease();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
创建api后创建发布,使用发布查找api >> 910
|
||||
|
||||
*/
|
||||
|
||||
global $tester;
|
||||
@@ -44,4 +46,4 @@ $normalRelease->addedDate = helper::now();
|
||||
$apiInfo = $api->createTest($normalApi, false);
|
||||
$release = $api->publishLibTest($normalRelease, false);
|
||||
|
||||
r($api->getApiListByReleaseTest($release)) && p('0:lib') && e('910'); //创建api后创建发布,使用发布查找api
|
||||
r($api->getApiListByReleaseTest($release)) && p('0:lib') && e('910'); //创建api后创建发布,使用发布查找api
|
||||
Regular → Executable
+3
-1
@@ -10,6 +10,8 @@ title=测试 apiModel->getLibById();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
获取刚创建的api >> 910
|
||||
|
||||
*/
|
||||
|
||||
$api = new apiTest();
|
||||
@@ -35,4 +37,4 @@ $data = array(
|
||||
$normalApi = $data;
|
||||
|
||||
$apiInfo = $api->createTest($normalApi, false);
|
||||
r($api->getLibByIdTest($apiInfo->id)) && p('lib') && e('910'); //获取刚创建的api
|
||||
r($api->getLibByIdTest($apiInfo->id)) && p('lib') && e('910'); //获取刚创建的api
|
||||
Regular → Executable
+6
-1
@@ -10,6 +10,11 @@ title=测试 apiModel->getListByModuleId();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
通过正常的libID、moduleID、releaseID查询api信息 >> 获取token
|
||||
通过正常的libID、moduleID,不传releaseID,查询api信息 >> 获取我的个人信息
|
||||
通过正常的libID,不传moduleID、releaseID查询api信息 >> 获取token
|
||||
通过不存在的libID,moduleID,releaseID查询api信息 >> 0
|
||||
|
||||
*/
|
||||
|
||||
$api = new apiTest();
|
||||
@@ -17,4 +22,4 @@ $api = new apiTest();
|
||||
r($api->getListByModuleIdTest(1, 1, 1)) && p('title') && e('获取token'); //通过正常的libID、moduleID、releaseID查询api信息
|
||||
r($api->getListByModuleIdTest(1, 1, 0)) && p('title') && e('获取我的个人信息'); //通过正常的libID、moduleID,不传releaseID,查询api信息
|
||||
r($api->getListByModuleIdTest(1, 0, 0)) && p('title') && e('获取token'); //通过正常的libID,不传moduleID、releaseID查询api信息
|
||||
r($api->getListByModuleIdTest(0, 0, 0)) && p('title') && e('0'); //通过不存在的libID,moduleID,releaseID查询api信息
|
||||
r($api->getListByModuleIdTest(0, 0, 0)) && p('title') && e('0'); //通过不存在的libID,moduleID,releaseID查询api信息
|
||||
Regular → Executable
+3
-1
@@ -10,6 +10,8 @@ title=测试 apiModel->getRelease();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
获取刚创建的发布 >> Version1
|
||||
|
||||
*/
|
||||
|
||||
global $tester;
|
||||
@@ -23,4 +25,4 @@ $normalRelease->addedBy = $tester->app->user->account;
|
||||
$normalRelease->addedDate = helper::now();
|
||||
|
||||
$release = $api->publishLibTest($normalRelease, false);
|
||||
r($api->getReleaseTest($release->lib)) && p('version') && e('Version1'); //获取刚创建的发布
|
||||
r($api->getReleaseTest($release->lib)) && p('version') && e('Version1'); //获取刚创建的发布
|
||||
Regular → Executable
+3
-1
@@ -10,6 +10,8 @@ title=测试 apiModel->getReleaseListByApi();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
获取刚插入的发布信息 >> 910
|
||||
|
||||
*/
|
||||
|
||||
global $tester;
|
||||
@@ -23,4 +25,4 @@ $normalRelease->addedBy = $tester->app->user->account;
|
||||
$normalRelease->addedDate = helper::now();
|
||||
|
||||
$release = $api->publishLibTest($normalRelease, false);
|
||||
r($api->getReleaseListByApiTest($release->lib, $release->id)) && p("{$release->id}:lib") && e('910'); //获取刚插入的发布信息
|
||||
r($api->getReleaseListByApiTest($release->lib, $release->id)) && p("{$release->id}:lib") && e('910'); //获取刚插入的发布信息
|
||||
Regular → Executable
+3
-1
@@ -10,6 +10,8 @@ title=测试 apiModel->getStructByID();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
获取刚创建的数据结构 >> struct
|
||||
|
||||
*/
|
||||
|
||||
global $tester;
|
||||
@@ -24,4 +26,4 @@ $normalStruct->addedBy = $tester->app->user->account;
|
||||
$normalStruct->addedDate = helper::now();
|
||||
|
||||
$struct = $api->createStructTest($normalStruct, false);
|
||||
r($api->getStructByIDTest($struct->id)) && p('name') && e('struct'); //获取刚创建的数据结构
|
||||
r($api->getStructByIDTest($struct->id)) && p('name') && e('struct'); //获取刚创建的数据结构
|
||||
Regular → Executable
+3
-1
@@ -10,6 +10,8 @@ title=测试 apiModel->getStructListByLibID();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
用libID获取刚插入的数据结构 >> 910
|
||||
|
||||
*/
|
||||
|
||||
global $tester;
|
||||
@@ -26,4 +28,4 @@ $normalStruct->addedDate = helper::now();
|
||||
|
||||
$struct = $api->createStructTest($normalStruct, false);
|
||||
|
||||
r($api->getStructListByLibIDTest($normalStruct->lib)) && p('0:lib') && e('910'); //用libID获取刚插入的数据结构
|
||||
r($api->getStructListByLibIDTest($normalStruct->lib)) && p('0:lib') && e('910'); //用libID获取刚插入的数据结构
|
||||
Regular → Executable
+3
-1
@@ -10,6 +10,8 @@ title=测试 apiModel->getStructListByRelease();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
创建api后创建发布,使用发布查找api >> 910
|
||||
|
||||
*/
|
||||
|
||||
global $tester;
|
||||
@@ -45,4 +47,4 @@ $apiInfo = $api->createTest($normalApi, false);
|
||||
$release = $api->publishLibTest($normalRelease, false);
|
||||
|
||||
r($api->getStructListByReleaseTest($release->lib)) && p('') && e('');
|
||||
//r($api->getApiListByReleaseTest($release)) && p('0:lib') && e('910'); //创建api后创建发布,使用发布查找api
|
||||
//r($api->getApiListByReleaseTest($release)) && p('0:lib') && e('910'); //创建api后创建发布,使用发布查找api
|
||||
Regular → Executable
+4
-1
@@ -10,6 +10,9 @@ title=测试 apiModel->publishLib();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
没有版本名的发布 >> 『Version』should not be blank.
|
||||
正常的发布 >> Version1
|
||||
|
||||
*/
|
||||
|
||||
global $tester;
|
||||
@@ -30,4 +33,4 @@ $normalRelease->addedBy = $tester->app->user->account;
|
||||
$normalRelease->addedDate = helper::now();
|
||||
|
||||
r($api->publishLibTest($emptyBuildRelease)) && p('version:0') && e('『Version』should not be blank.'); //没有版本名的发布
|
||||
r($api->publishLibTest($normalRelease)) && p('version') && e('Version1'); //正常的发布
|
||||
r($api->publishLibTest($normalRelease)) && p('version') && e('Version1'); //正常的发布
|
||||
Regular → Executable
+3
-2
@@ -10,6 +10,8 @@ title=测试 apiModel->update();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
修改一个刚创建的api >> edittestapi
|
||||
|
||||
*/
|
||||
|
||||
$api = new apiTest();
|
||||
@@ -50,10 +52,9 @@ $editData = array(
|
||||
'responseExample' => ''
|
||||
);
|
||||
|
||||
|
||||
$normalApi = $data;
|
||||
$editApi = $editData;
|
||||
|
||||
$apiInfo = $api->createTest($normalApi, false);
|
||||
|
||||
r($api->updateTest($apiInfo->id, $editApi)) && p('0:new') && e('edittestapi'); //修改一个刚创建的api
|
||||
r($api->updateTest($apiInfo->id, $editApi)) && p('0:new') && e('edittestapi'); //修改一个刚创建的api
|
||||
Regular → Executable
+4
-1
@@ -10,6 +10,9 @@ title=测试 apiModel->updateStruct();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
正常的修改 >> editStruct
|
||||
没有名称的修改 >> 『Name』should not be blank.
|
||||
|
||||
*/
|
||||
|
||||
global $tester;
|
||||
@@ -37,4 +40,4 @@ $emptyNameEditStruct['name'] = '';
|
||||
|
||||
$struct = $api->createStructTest($normalStruct, false);
|
||||
r($api->updateStructTest($struct->id, $normalEditStruct, false)) && p('0:new') && e('editStruct'); //正常的修改
|
||||
r($api->updateStructTest($struct->id, $emptyNameEditStruct)) && p('name:0') && e('『Name』should not be blank.'); //没有名称的修改
|
||||
r($api->updateStructTest($struct->id, $emptyNameEditStruct)) && p('name:0') && e('『Name』should not be blank.'); //没有名称的修改
|
||||
@@ -10,11 +10,12 @@ title=测试 blockModel->getQaStatisticParams();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
|
||||
测试name >> 类型
|
||||
测试control >> select
|
||||
|
||||
*/
|
||||
|
||||
$block = new blockTest();
|
||||
|
||||
r($block->getQaStatisticParamsTest()) && p('type:name') && e('类型'); //测试name
|
||||
r($block->getQaStatisticParamsTest()) && p('type:control') && e('select');//测试control
|
||||
r($block->getQaStatisticParamsTest()) && p('type:control') && e('select');//测试control
|
||||
@@ -10,10 +10,10 @@ title=测试 blockModel->getReleaseParams();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
|
||||
测试name >> 数量,20,input
|
||||
|
||||
*/
|
||||
|
||||
$block = new blockTest();
|
||||
|
||||
r($block->getReleaseParamsTest()) && p('name,default,control') && e('数量,20,input'); //测试name
|
||||
r($block->getReleaseParamsTest()) && p('name,default,control') && e('数量,20,input'); //测试name
|
||||
@@ -10,7 +10,11 @@ title=测试 blockModel->getScrumListParams();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
|
||||
测试name和select >> 类型,select
|
||||
测试options >> 未完成
|
||||
测试options >> 进行中
|
||||
测试options >> 全部
|
||||
测试options >> 我参与
|
||||
|
||||
*/
|
||||
|
||||
@@ -20,4 +24,4 @@ r($block->getScrumListParamsTest()) && p('name,control') && e('类型,select
|
||||
r($block->getScrumListParamsTest()) && p('options:undone') && e('未完成'); //测试options
|
||||
r($block->getScrumListParamsTest()) && p('options:doing') && e('进行中'); //测试options
|
||||
r($block->getScrumListParamsTest()) && p('options:all') && e('全部'); //测试options
|
||||
r($block->getScrumListParamsTest()) && p('options:involved') && e('我参与'); //测试options
|
||||
r($block->getScrumListParamsTest()) && p('options:involved') && e('我参与'); //测试options
|
||||
@@ -16,4 +16,4 @@ pid=1
|
||||
|
||||
$block = new blockTest();
|
||||
|
||||
r($block->getScrumProductParamsTest()) && p('count:name;count:default;count:control') && e('数量;20;input'); // 测试获取产品区块的参数
|
||||
r($block->getScrumProductParamsTest()) && p('count:name;count:default;count:control') && e('数量;20;input'); // 测试获取产品区块的参数
|
||||
@@ -16,4 +16,4 @@ pid=1
|
||||
|
||||
$block = new blockTest();
|
||||
|
||||
r($block->getScrumRoadMapParamsTest()) && p() && e('0'); // 测试获取产品路线图区块的参数
|
||||
r($block->getScrumRoadMapParamsTest()) && p() && e('0'); // 测试获取产品路线图区块的参数
|
||||
@@ -16,4 +16,4 @@ pid=1
|
||||
|
||||
$block = new blockTest();
|
||||
|
||||
r($block->getScrumTestParamsTest()) && p('count:name;type:name') && e('数量;类型'); // 测试获取测试单区块的参数
|
||||
r($block->getScrumTestParamsTest()) && p('count:name;type:name') && e('数量;类型'); // 测试获取测试单区块的参数
|
||||
@@ -10,7 +10,7 @@ title=测试 blockModel->getStatisticParams();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
获取空区块的参数 >> {"count":{"name":"数量","default":20,"control":"input"}}
|
||||
获取空区块的参数 >> {"count":{"name":"数量","default":20,"control":"input"}}
|
||||
获取产品区块的参数 >> {"count":{"name":"数量","default":20,"control":"input"},"type":{"name":"类型","options":{"noclosed":"未关闭","closed":"已关闭","all":"全部","involved":"我参与"},"control":"select"}}
|
||||
获取项目区块的参数 >> {"count":{"name":"数量","default":20,"control":"input"},"type":{"name":"类型","options":{"undone":"未完成","doing":"进行中","all":"全部","involved":"我参与的"},"control":"select"}}
|
||||
获取执行区块的参数 >> {"count":{"name":"数量","default":20,"control":"input"},"type":{"name":"类型","options":{"undone":"未完成","doing":"进行中","all":"所有","involved":"我参与"},"control":"select"}}
|
||||
@@ -31,4 +31,4 @@ r($data[0]) && p() && e('{"count":{"name":"数量","default":20,"control":"input
|
||||
r($data[1]) && p() && e('{"count":{"name":"数量","default":20,"control":"input"},"type":{"name":"类型","options":{"noclosed":"未关闭","closed":"已关闭","all":"全部","involved":"我参与"},"control":"select"}}'); // 获取产品区块的参数
|
||||
r($data[2]) && p() && e('{"count":{"name":"数量","default":20,"control":"input"},"type":{"name":"类型","options":{"undone":"未完成","doing":"进行中","all":"全部","involved":"我参与的"},"control":"select"}}'); // 获取项目区块的参数
|
||||
r($data[3]) && p() && e('{"count":{"name":"数量","default":20,"control":"input"},"type":{"name":"类型","options":{"undone":"未完成","doing":"进行中","all":"所有","involved":"我参与"},"control":"select"}}'); // 获取执行区块的参数
|
||||
r($data[4]) && p() && e('{"count":{"name":"数量","default":20,"control":"input"},"type":{"name":"类型","options":{"noclosed":"未关闭","closed":"已关闭","all":"全部","involved":"我参与"},"control":"select"}}'); // 获取测试区块的参数
|
||||
r($data[4]) && p() && e('{"count":{"name":"数量","default":20,"control":"input"},"type":{"name":"类型","options":{"noclosed":"未关闭","closed":"已关闭","all":"全部","involved":"我参与"},"control":"select"}}'); // 获取测试区块的参数
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/block.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -58,4 +59,4 @@ r($dataList[6]) && p("blockData:module;blockData:type") && e('qa;');
|
||||
r($dataList[7]) && p("blockInited;blockversion") && e('1;2'); // 获取空区块版本
|
||||
r($dataList[7]) && p("blockData") && e('0'); // 获取空区块数据
|
||||
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/block.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -10,7 +11,10 @@ title=测试 blockModel->save();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
|
||||
测试修改block 名称 >> 欢迎test,my,8,welcome
|
||||
测试修改block 模块 >> 我的贡献,my,8,dynamic
|
||||
测试修改block 区块 >> 项目统计,my,8,projectteam
|
||||
测试修改block 变量 >> 未关闭的产品,product,8,statistic
|
||||
|
||||
*/
|
||||
|
||||
@@ -51,4 +55,4 @@ r($block->saveTest($changeTitle, $blockID[0], $changeTitle->modules))
|
||||
r($block->saveTest($changeModules, $blockID[0], $changModules->modules)) && p('title,module,grid,block') && e('我的贡献,my,8,dynamic'); // 测试修改block 模块
|
||||
r($block->saveTest($changeBlock, $blockID[1], $changeBlock->modules, $changeBlock->moduleBlock)) && p('title,module,grid,block') && e('项目统计,my,8,projectteam'); // 测试修改block 区块
|
||||
r($block->saveTest($changeParams, $blockID[2], $changeParams->modules, $changeParams->moduleBlock, $module)) && p('title,module,grid,block') && e('未关闭的产品,product,8,statistic'); // 测试修改block 变量
|
||||
system('./ztest init');
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/branch.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -29,4 +30,4 @@ r($branch->activateTest($branchID[2])) && p('id,status') && e('6,active'); //
|
||||
r($branch->activateTest($branchID[3])) && p('id,status') && e('8,active'); // 测试激活分支 8
|
||||
r($branch->activateTest($branchID[4])) && p('id,status') && e('10,active'); // 测试激活分支 10
|
||||
r($branch->activateTest($branchID[5])) && p('id,status') && e('1,active'); // 测试激活分支 1
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/branch.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -25,4 +26,4 @@ $branch = new branchTest();
|
||||
r($branch->batchUpdateTest($changeName)) && p('field,old,new') && e('name,分支9,修改分支9的名称'); // 测试批量更新名称
|
||||
r($branch->batchUpdateTest($changeDesc)) && p('field,old,new') && e('desc,,修改分支9的描述'); // 测试批量更新描述
|
||||
r($branch->batchUpdateTest($changeStatus)) && p('field,old,new') && e('status,active,closed'); // 测试批量更新状态
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/branch.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -30,4 +31,4 @@ r($branch->closeTest($branchID[3])) && p('id,status') && e('4,closed'); // 测
|
||||
r($branch->closeTest($branchID[4])) && p('id,status') && e('5,closed'); // 测试关闭branchID 5
|
||||
r($branch->closeTest($branchID[5])) && p('id,status') && e('6,closed'); // 测试关闭branchID 6
|
||||
r($branch->closeTest($branchID[0])) && p('id,status') && e('1,closed'); // 测试重复关闭branchID 1
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/branch.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -33,4 +34,4 @@ r($branch->createTest($productID, $branch2)) && p('name,desc') && e('新建
|
||||
r($branch->createTest($productID, $repeatName1)) && p() && e('分支名称已存在'); // 测试新建 重名新建分支1
|
||||
r($branch->createTest($productID, $repeatName2)) && p() && e('分支名称已存在'); // 测试新建 重名分支1
|
||||
r($branch->createTest($productID, $emptyName)) && p() && e('『名称』不能为空。'); // 测试新建 名称为空的分支
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/branch.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -27,4 +28,4 @@ r($branch->linkBranch4ProjectTest($productID[1])) && p() && e('4'); // 测试关
|
||||
r($branch->linkBranch4ProjectTest($productID[2])) && p() && e('4'); // 测试关联产品 43 的分支到项目
|
||||
r($branch->linkBranch4ProjectTest($productID[3])) && p() && e('4'); // 测试关联产品 44 的分支到项目
|
||||
r($branch->linkBranch4ProjectTest($productID[4])) && p() && e('4'); // 测试关联产品 45 的分支到项目
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/branch.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -40,4 +41,4 @@ $branch = new branchTest();
|
||||
r($branch->mergeBranchTest($productID[0], $mergedBranches[0], $mergeBranch1)) && p() && e('2'); // 测试合并分支 1 到 分支 2
|
||||
r($branch->mergeBranchTest($productID[0], $mergedBranches[1], $mergeBranch2)) && p() && e('2'); // 测试合并分支 2 到 新建分支
|
||||
r($branch->mergeBranchTest($productID[1], $mergedBranches[2], $mergeBranch3)) && p() && e('12'); // 测试合并分支 3 4 到 主干
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/branch.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -33,4 +34,4 @@ r($branch->sortTest($branches[0], $order)) && p() && e('2,1'); // 测试产品 4
|
||||
r($branch->sortTest($branches[1], $order)) && p() && e('4,3'); // 测试产品 42 order 排序
|
||||
r($branch->sortTest($branches[2], $order)) && p() && e('6,5'); // 测试产品 43 order 排序
|
||||
r($branch->sortTest($branches[3], $order)) && p() && e('8,7'); // 测试产品 44 order 排序
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/branch.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -24,4 +25,4 @@ r($branch->unlinkBranch4ProjectTest($productIDList[0])) && p() && e('0'); // 测
|
||||
r($branch->unlinkBranch4ProjectTest($productIDList[1])) && p() && e('0'); // 测试产品 42 转为普通产品接触分支关联
|
||||
r($branch->unlinkBranch4ProjectTest($productIDList[2])) && p() && e('0'); // 测试产品 43 转为普通产品接触分支关联
|
||||
r($branch->unlinkBranch4ProjectTest($productIDList[3])) && p() && e('0'); // 测试产品 44 45 转为普通产品接触分支关联
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/branch.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -30,4 +31,4 @@ r($branch->updateTest($changeStatus)) && p('0:field,old,new') && e('status,activ
|
||||
r($branch->updateTest($changeDesc)) && p('0:field,old,new') && e('desc,,修改后的分支1描述'); // 测试修改分支描述
|
||||
r($branch->updateTest($emptyName)) && p('name:0') && e('『名称』不能为空。'); // 测试修改分支名称
|
||||
r($branch->updateTest($repeatName)) && p('name:0') && e('分支名称已存在'); // 测试修改分支名称
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php'; su('admin');
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/bug.class.php';
|
||||
$db->switchDB();
|
||||
|
||||
/**
|
||||
|
||||
@@ -9,16 +10,15 @@ title=bugModel->activate();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
测试激活状态为active的bug1 >> activatedCount,0,1
|
||||
测试激活状态为active的bug2 >> activatedCount,0,1
|
||||
测试激活状态为active的bug1 >> activatedCount,0,1
|
||||
测试激活状态为active的bug2 >> activatedCount,0,1
|
||||
测试激活状态为resolved的bug51 >> assignedTo,dev1,admin;activatedCount,0,1
|
||||
测试激活状态为resolved的bug52 >> assignedTo,dev1,admin;activatedCount,0,1
|
||||
测试激活状态为closed的bug81 >> assignedTo,test1,admin;activatedCount,0,1
|
||||
测试激活状态为closed的bug82 >> assignedTo,test1,admin;activatedCount,0,1
|
||||
测试激活状态为closed的bug81 >> assignedTo,test1,admin;activatedCount,0,1
|
||||
测试激活状态为closed的bug82 >> assignedTo,test1,admin;activatedCount,0,1
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$bugIDList = array('1', '2', '51', '52', '81', '82');
|
||||
|
||||
$bug=new bugTest();
|
||||
@@ -28,4 +28,4 @@ r($bug->activateObject($bugIDList[2])) && p('0:field,old,new;2:field,old,new') &
|
||||
r($bug->activateObject($bugIDList[3])) && p('0:field,old,new;2:field,old,new') && e('assignedTo,dev1,admin;activatedCount,0,1'); // 测试激活状态为resolved的bug52
|
||||
r($bug->activateObject($bugIDList[4])) && p('0:field,old,new;2:field,old,new') && e('assignedTo,test1,admin;activatedCount,0,1'); // 测试激活状态为closed的bug81
|
||||
r($bug->activateObject($bugIDList[5])) && p('0:field,old,new;2:field,old,new') && e('assignedTo,test1,admin;activatedCount,0,1'); // 测试激活状态为closed的bug82
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/bug.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -10,12 +11,12 @@ title=bugModel->assign();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
指派bugID为1的bug >> assignedTo,admin,user92
|
||||
指派bugID为2的bug >> assignedTo,admin,user93
|
||||
指派bugID为3的bug >> assignedTo,admin,user94
|
||||
指派bugID为4的bug >> assignedTo,admin,user95
|
||||
指派bugID为51的bug >> assignedTo,dev1,user96
|
||||
指派bugid为81的bug >> assignedTo,test1,user97
|
||||
指派bugID为1的bug >> assignedTo,admin,user92
|
||||
指派bugID为2的bug >> assignedTo,admin,user93
|
||||
指派bugID为3的bug >> assignedTo,admin,user94
|
||||
指派bugID为4的bug >> assignedTo,admin,user95
|
||||
指派bugID为51的bug >> assignedTo,dev1,user96
|
||||
指派bugID为81的bug >> assignedTo,test1,user97
|
||||
指派人不发生变化的bug >> 0
|
||||
|
||||
*/
|
||||
@@ -37,4 +38,4 @@ r($bug->assignTest($bugIDlist[3],$bug4)) && p('0:field,old,new') && e('assigned
|
||||
r($bug->assignTest($bugIDlist[4],$bug51)) && p('0:field,old,new') && e('assignedTo,dev1,user96'); // 指派bugID为51的bug
|
||||
r($bug->assignTest($bugIDlist[5],$bug81)) && p('0:field,old,new') && e('assignedTo,test1,user97'); // 指派bugID为81的bug
|
||||
r($bug->assignTest($bugIDlist[5],$bug81)) && p() && e('0'); // 指派人不发生变化的bug
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/bug.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -18,4 +19,4 @@ $bugIDList = array('1' => '1', '52' => '53', '82' => '82');
|
||||
|
||||
$bug = new bugTest();
|
||||
r($bug->batchActivateObject($bugIDList)) && p('53:status;82:status') && e('active;active'); // 测试批量激活bug
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/bug.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -11,17 +12,17 @@ cid=1
|
||||
pid=1
|
||||
|
||||
修改分支为主干 未发生变化 >> 0
|
||||
修改分支为分支11 >> branch,0,11
|
||||
修改分支为分支12 >> branch,11,12
|
||||
修改分支为分支11 >> branch,0,11
|
||||
修改分支为分支12 >> branch,11,12
|
||||
修改分支为主干 未发生变化 >> 0
|
||||
修改分支为分支9 >> branch,0,9
|
||||
修改分支为分支10 >> branch,9,10
|
||||
修改分支为分支9 >> branch,0,9
|
||||
修改分支为分支10 >> branch,9,10
|
||||
修改分支为主干 未发生变化 >> 0
|
||||
修改分支为分支7 >> branch,0,7
|
||||
修改分支为分支8 >> branch,7,8
|
||||
修改分支为分支7 >> branch,0,7
|
||||
修改分支为分支8 >> branch,7,8
|
||||
修改分支为主干 未发生变化 >> 0
|
||||
修改分支为分支37 >> branch,0,37
|
||||
修改分支为分支38 >> branch,37,38
|
||||
修改分支为分支37 >> branch,0,37
|
||||
修改分支为分支38 >> branch,37,38
|
||||
|
||||
*/
|
||||
|
||||
@@ -35,7 +36,6 @@ $branchList2 = array('0', '9', '10');
|
||||
$branchList3 = array('0', '7', '8');
|
||||
$branchList4 = array('0', '37', '38');
|
||||
|
||||
|
||||
$bug = new bugTest();
|
||||
r($bug->batchChangeBranchTest($bugIDList1, $branchList1[0], $bugIDList1[0])) && p() && e('0'); // 修改分支为主干 未发生变化
|
||||
r($bug->batchChangeBranchTest($bugIDList1, $branchList1[1], $bugIDList1[1])) && p('0:field,old,new') && e('branch,0,11'); // 修改分支为分支11
|
||||
@@ -49,4 +49,4 @@ r($bug->batchChangeBranchTest($bugIDList3, $branchList3[2], $bugIDList3[2])) &&
|
||||
r($bug->batchChangeBranchTest($bugIDList4, $branchList4[0], $bugIDList4[0])) && p() && e('0'); // 修改分支为主干 未发生变化
|
||||
r($bug->batchChangeBranchTest($bugIDList4, $branchList4[1], $bugIDList4[1])) && p('0:field,old,new') && e('branch,0,37'); // 修改分支为分支37
|
||||
r($bug->batchChangeBranchTest($bugIDList4, $branchList4[2], $bugIDList4[2])) && p('0:field,old,new') && e('branch,37,38'); // 修改分支为分支38
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/bug.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -10,29 +11,29 @@ title=测试bugModel->batchChangeModule();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
修改bug1 2模块为0 >> module,1821,0
|
||||
修改bug1 2模块为8 >> module,0,8
|
||||
修改bug1 2模块为9 >> module,8,9
|
||||
修改bug1 2模块为10 >> module,9,10
|
||||
修改bug1 2模块为11 >> module,10,11
|
||||
修改bug1 2模块为0 >> module,1821,0
|
||||
修改bug1 2模块为8 >> module,0,8
|
||||
修改bug1 2模块为9 >> module,8,9
|
||||
修改bug1 2模块为10 >> module,9,10
|
||||
修改bug1 2模块为11 >> module,10,11
|
||||
修改bug1 2模块为11 未发生变化 >> 0
|
||||
修改bug1 3模块为0 >> module,11,0
|
||||
修改bug1 3模块为8 >> module,0,8
|
||||
修改bug1 3模块为9 >> module,8,9
|
||||
修改bug1 3模块为10 >> module,9,10
|
||||
修改bug1 3模块为11 >> module,10,11
|
||||
修改bug1 3模块为0 >> module,11,0
|
||||
修改bug1 3模块为8 >> module,0,8
|
||||
修改bug1 3模块为9 >> module,8,9
|
||||
修改bug1 3模块为10 >> module,9,10
|
||||
修改bug1 3模块为11 >> module,10,11
|
||||
修改bug1 3模块为11 未发生变化 >> 0
|
||||
修改bug1 4模块为0 >> module,11,0
|
||||
修改bug1 4模块为8 >> module,0,8
|
||||
修改bug1 4模块为9 >> module,8,9
|
||||
修改bug1 4模块为10 >> module,9,10
|
||||
修改bug1 4模块为11 >> module,10,11
|
||||
修改bug1 4模块为0 >> module,11,0
|
||||
修改bug1 4模块为8 >> module,0,8
|
||||
修改bug1 4模块为9 >> module,8,9
|
||||
修改bug1 4模块为10 >> module,9,10
|
||||
修改bug1 4模块为11 >> module,10,11
|
||||
修改bug1 4模块为11 未发生变化 >> 0
|
||||
修改bug2 3模块为0 >> module,11,0
|
||||
修改bug2 3模块为8 >> module,0,8
|
||||
修改bug2 3模块为9 >> module,8,9
|
||||
修改bug2 3模块为10 >> module,9,10
|
||||
修改bug2 3模块为11 >> module,10,11
|
||||
修改bug2 3模块为0 >> module,11,0
|
||||
修改bug2 3模块为8 >> module,0,8
|
||||
修改bug2 3模块为9 >> module,8,9
|
||||
修改bug2 3模块为10 >> module,9,10
|
||||
修改bug2 3模块为11 >> module,10,11
|
||||
修改bug2 3模块为11 未发生变化 >> 0
|
||||
|
||||
*/
|
||||
@@ -44,7 +45,6 @@ $bugIDList4 = array('2', '3');
|
||||
|
||||
$moduleList = array('0', '8', '9', '10', '11');
|
||||
|
||||
|
||||
$bug = new bugTest();
|
||||
r($bug->batchChangeModuleTest($bugIDList1, $moduleList[0], $bugIDList1[0])) && p('0:field,old,new') && e('module,1821,0');// 修改bug1 2模块为0
|
||||
r($bug->batchChangeModuleTest($bugIDList1, $moduleList[1], $bugIDList1[1])) && p('0:field,old,new') && e('module,0,8'); // 修改bug1 2模块为8
|
||||
@@ -70,4 +70,4 @@ r($bug->batchChangeModuleTest($bugIDList4, $moduleList[2], $bugIDList4[0])) && p
|
||||
r($bug->batchChangeModuleTest($bugIDList4, $moduleList[3], $bugIDList4[1])) && p('0:field,old,new') && e('module,9,10'); // 修改bug2 3模块为10
|
||||
r($bug->batchChangeModuleTest($bugIDList4, $moduleList[4], $bugIDList4[0])) && p('0:field,old,new') && e('module,10,11'); // 修改bug2 3模块为11
|
||||
r($bug->batchChangeModuleTest($bugIDList4, $moduleList[4], $bugIDList4[1])) && p() && e('0'); // 修改bug2 3模块为11 未发生变化
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/bug.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -11,17 +12,17 @@ cid=1
|
||||
pid=1
|
||||
|
||||
修改计划为0 未发生变化 >> 0
|
||||
修改计划为计划1 >> plan,0,1
|
||||
修改计划为计划2 >> plan,1,2
|
||||
修改计划为计划1 >> plan,0,1
|
||||
修改计划为计划2 >> plan,1,2
|
||||
修改计划为0 未发生变化 >> 0
|
||||
修改计划为计划1 >> plan,0,1
|
||||
修改计划为计划2 >> plan,1,2
|
||||
修改计划为计划1 >> plan,0,1
|
||||
修改计划为计划2 >> plan,1,2
|
||||
修改计划为0 未发生变化 >> 0
|
||||
修改计划为计划1 >> plan,0,1
|
||||
修改计划为计划2 >> plan,1,2
|
||||
修改计划为计划1 >> plan,0,1
|
||||
修改计划为计划2 >> plan,1,2
|
||||
修改计划为0 未发生变化 >> 0
|
||||
修改计划为计划1 >> plan,0,1
|
||||
修改计划为计划2 >> plan,1,2
|
||||
修改计划为计划1 >> plan,0,1
|
||||
修改计划为计划2 >> plan,1,2
|
||||
|
||||
*/
|
||||
|
||||
@@ -32,7 +33,6 @@ $bugIDList4 = array('175', '176', '177');
|
||||
|
||||
$planList = array('0', '1', '2');
|
||||
|
||||
|
||||
$bug = new bugTest();
|
||||
r($bug->batchChangePlanTest($bugIDList1, $planList[0], $bugIDList1[0])) && p() && e('0'); // 修改计划为0 未发生变化
|
||||
r($bug->batchChangePlanTest($bugIDList1, $planList[1], $bugIDList1[1])) && p('0:field,old,new') && e('plan,0,1'); // 修改计划为计划1
|
||||
@@ -46,4 +46,4 @@ r($bug->batchChangePlanTest($bugIDList3, $planList[2], $bugIDList3[2])) && p('0:
|
||||
r($bug->batchChangePlanTest($bugIDList4, $planList[0], $bugIDList4[0])) && p() && e('0'); // 修改计划为0 未发生变化
|
||||
r($bug->batchChangePlanTest($bugIDList4, $planList[1], $bugIDList4[1])) && p('0:field,old,new') && e('plan,0,1'); // 修改计划为计划1
|
||||
r($bug->batchChangePlanTest($bugIDList4, $planList[2], $bugIDList4[2])) && p('0:field,old,new') && e('plan,1,2'); // 修改计划为计划2
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/bug.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -11,7 +12,8 @@ cid=1
|
||||
pid=1
|
||||
|
||||
批量确认1 3 4 51 81 >> ,1,1,1,1,1
|
||||
批量确认2 7 >> ,1,1
|
||||
批量确认2 7 >> ,1,1
|
||||
|
||||
*/
|
||||
|
||||
$bugIDlist1 = array('1','3','4','51','81');
|
||||
@@ -21,4 +23,4 @@ $bugIDlist2 = array('2', '7');
|
||||
$bug = new bugTest();
|
||||
r($bug->batchConfirmTest($bugIDlist1)) && p() && e(',1,1,1,1,1'); // 批量确认1 3 4 51 81
|
||||
r($bug->batchConfirmTest($bugIDlist2)) && p() && e(',1,1'); // 批量确认2 7
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/bug.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -10,12 +11,11 @@ title=bugModel->batchCreate();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
测试正常批量创建bug1 >> 批量bug一,trunk,3,codeerror,3,3,1,101
|
||||
测试正常批量创建bug2 >> 批量bug五,trunk,codeerror,3,3,1,101
|
||||
测试正常批量创建bug3 >> 批量bug九,1,config,3,3,1,0
|
||||
测试短时间内重复批量创建bug >> 0
|
||||
测试异常创建bug >> 『影响版本』不能为空。
|
||||
|
||||
测试正常批量创建bug1 >> 批量bug一,trunk,3,codeerror,3,3,1,101
|
||||
测试正常批量创建bug2 >> 批量bug五,trunk,codeerror,3,3,1,101
|
||||
测试正常批量创建bug3 >> 批量bug九,1,config,3,3,1,0
|
||||
测试短时间内重复批量创建bug >> 0
|
||||
测试异常创建bug >> 『影响版本』不能为空。
|
||||
|
||||
*/
|
||||
|
||||
@@ -30,7 +30,6 @@ $normal_create1 = array('title' => $title, 'types' => $type, 'openedBuilds' => $
|
||||
$title = array('批量bug四','批量bug五','批量bug六');
|
||||
$normal_create2 = array('title' => $title, 'types' => $type, 'openedBuilds' => $openedBuild, 'severity' => $severity);
|
||||
|
||||
|
||||
$title = array('批量bug七','批量bug八','批量bug九');
|
||||
$normal_create3 = array('title' => $title, 'types' => $type, 'openedBuilds' => $openedBuild, 'severity' => $severity);
|
||||
|
||||
@@ -45,4 +44,4 @@ r($bug->batchCreateObject($productID, $normal_create3)) && p('2:title,openedBu
|
||||
r($bug->batchCreateObject($productID, $normal_create1)) && p() && e('0'); // 测试短时间内重复批量创建bug
|
||||
r($bug->batchCreateObject($productID, $exception_create)) && p('message:0') && e("『影响版本』不能为空。"); // 测试异常创建bug
|
||||
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/bug.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -10,15 +11,15 @@ title=测试bugModel->batchResolve();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
解决bug1 2 3,解决方式为bydesign >> resolution,,bydesign;status,active,resolved
|
||||
解决bug4 5 6,解决方式为duplicate >> resolution,,duplicate;status,active,resolved
|
||||
解决bug7 8 9,解决方式为external >> resolution,,external;status,active,resolved
|
||||
解决bug10 11 12,解决方式为fixed >> resolution,,fixed;status,active,resolved
|
||||
解决bug13 14 15,解决方式为notrepro >> resolution,,notrepro;status,active,resolved
|
||||
解决bug16 17 18,解决方式为postponed >> resolution,,postponed;status,active,resolved
|
||||
解决bug1 2 3,解决方式为bydesign >> resolution,,bydesign;status,active,resolved
|
||||
解决bug4 5 6,解决方式为duplicate >> resolution,,duplicate;status,active,resolved
|
||||
解决bug7 8 9,解决方式为external >> resolution,,external;status,active,resolved
|
||||
解决bug10 11 12,解决方式为fixed >> resolution,,fixed;status,active,resolved
|
||||
解决bug13 14 15,解决方式为notrepro >> resolution,,notrepro;status,active,resolved
|
||||
解决bug16 17 18,解决方式为postponed >> resolution,,postponed;status,active,resolved
|
||||
解决bug19 20 21,解决方式为willnotfix >> resolution,,willnotfix;status,active,resolved
|
||||
解决bug22 23 24,解决方式为tostory >> resolution,,tostory;status,active,resolved
|
||||
解决bug状态为resolve的bug >> 0
|
||||
解决bug22 23 24,解决方式为tostory >> resolution,,tostory;status,active,resolved
|
||||
解决bug状态为resolve的bug >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -33,7 +34,6 @@ $bugIDList8 = array('22', '23', '24');
|
||||
|
||||
$resolutionList = array('bydesign', 'duplicate', 'external', 'fixed', 'notrepro', 'postponed', 'willnotfix', 'tostory');
|
||||
|
||||
|
||||
$bug = new bugTest();
|
||||
r($bug->batchResolveTest($bugIDList1, $resolutionList[0], $bugIDList1[0])) && p('0:field,old,new;3:field,old,new') && e('resolution,,bydesign;status,active,resolved'); // 解决bug1 2 3,解决方式为bydesign
|
||||
r($bug->batchResolveTest($bugIDList2, $resolutionList[1], $bugIDList2[0])) && p('0:field,old,new;3:field,old,new') && e('resolution,,duplicate;status,active,resolved'); // 解决bug4 5 6,解决方式为duplicate
|
||||
@@ -44,4 +44,4 @@ r($bug->batchResolveTest($bugIDList6, $resolutionList[5], $bugIDList6[0])) && p(
|
||||
r($bug->batchResolveTest($bugIDList7, $resolutionList[6], $bugIDList7[0])) && p('0:field,old,new;3:field,old,new') && e('resolution,,willnotfix;status,active,resolved'); // 解决bug19 20 21,解决方式为willnotfix
|
||||
r($bug->batchResolveTest($bugIDList8, $resolutionList[7], $bugIDList8[0])) && p('0:field,old,new;3:field,old,new') && e('resolution,,tostory;status,active,resolved'); // 解决bug22 23 24,解决方式为tostory
|
||||
r($bug->batchResolveTest($bugIDList8, $resolutionList[7], $bugIDList8[0])) && p('0:field,old,new;3:field,old,new') && e('0'); // 解决bug状态为resolve的bug
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/bug.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -25,4 +26,4 @@ $bug = new bugTest();
|
||||
r($bug->batchUpdateObject($bugIDList, $title[$bugIDList[0]], $type[$bugIDList[0]], $bugIDList[0])) && p('0:field,old,new;1:field,old,new') && e('type,codeerror,config;title,BUG1,批量修改bug一'); // 测试批量修改bug1
|
||||
r($bug->batchUpdateObject($bugIDList, $title[$bugIDList[1]], $type[$bugIDList[1]], $bugIDList[1])) && p('0:field,old,new;1:field,old,new') && e('type,config,install;title,BUG2,批量修改bug二'); // 测试批量修改bug2
|
||||
r($bug->batchUpdateObject($bugIDList, $title[$bugIDList[2]], $type[$bugIDList[2]], $bugIDList[2])) && p('0:field,old,new;1:field,old,new') && e('type,install,security;title,BUG3,批量修改bug三'); // 测试批量修改bug3
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -10,9 +10,9 @@ title=bugModel->checkDelayBug();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
检查deadline在1天前 resolvedDate不存在 状态为未解决的bug是否延期 >> 1
|
||||
检查deadline在1天前 resolvedDate不存在 状态为已解决的bug是否延期 >> 1
|
||||
检查deadline在1天前 resolvedDate不存在 状态为已关闭的bug是否延期 >> 1
|
||||
检查deadline在1天前 resolvedDate不存在 状态为未解决的bug是否延期 >> 1
|
||||
检查deadline在1天前 resolvedDate不存在 状态为已解决的bug是否延期 >> 1
|
||||
检查deadline在1天前 resolvedDate不存在 状态为已关闭的bug是否延期 >> 1
|
||||
检查deadline在3天前 resolvedDate在1天前 状态为未解决的bug是否延期 >> 2
|
||||
检查deadline在3天前 resolvedDate在1天前 状态为已解决的bug是否延期 >> 2
|
||||
检查deadline在3天前 resolvedDate在1天前 状态为已关闭的bug是否延期 >> 2
|
||||
@@ -65,4 +65,4 @@ r($bug->checkDelayBugTest($bug4, $statusList[1])) && p('delay') && e('1'); //
|
||||
r($bug->checkDelayBugTest($bug4, $statusList[2])) && p('delay') && e('1'); // 检查deadline在3天后 resolvedDate在4天后 状态为已关闭的bug是否延期
|
||||
r($bug->checkDelayBugTest($bug5, $statusList[0])) && p('delay') && e('0'); // 检查deadline在3天后 resolvedDate在4天前 状态为未解决的bug是否延期
|
||||
r($bug->checkDelayBugTest($bug5, $statusList[1])) && p('delay') && e('0'); // 检查deadline在3天后 resolvedDate在4天前 状态为已解决的bug是否延期
|
||||
r($bug->checkDelayBugTest($bug5, $statusList[2])) && p('delay') && e('0'); // 检查deadline在3天后 resolvedDate在4天前 状态为已关闭的bug是否延期
|
||||
r($bug->checkDelayBugTest($bug5, $statusList[2])) && p('delay') && e('0'); // 检查deadline在3天后 resolvedDate在4天前 状态为已关闭的bug是否延期
|
||||
@@ -17,8 +17,6 @@ pid=1
|
||||
检查deadline在resolvedDate前 状态为已关闭的bug是否延期 >> 15,13,11
|
||||
检查deadline在resolvedDate后 状态为已关闭的bug是否延期 >> 6,4,2
|
||||
|
||||
|
||||
|
||||
*/
|
||||
|
||||
$productIDList = array('1', '7','18', '20', '28', '33');
|
||||
@@ -29,4 +27,4 @@ r($bug->checkDelayedBugsTest($productIDList[1])) && p('delay') && e('2,0,0,25');
|
||||
r($bug->checkDelayedBugsTest($productIDList[2])) && p('delay') && e('16,14,12'); // 检查deadline在resolvedDate前 状态为已解决的bug是否延期
|
||||
r($bug->checkDelayedBugsTest($productIDList[3])) && p('delay') && e('4,2,0'); // 检查deadline在resolvedDate后 状态为已解决的bug是否延期
|
||||
r($bug->checkDelayedBugsTest($productIDList[4])) && p('delay') && e('15,13,11'); // 检查deadline在resolvedDate前 状态为已关闭的bug是否延期
|
||||
r($bug->checkDelayedBugsTest($productIDList[5])) && p('delay') && e('6,4,2'); // 检查deadline在resolvedDate后 状态为已关闭的bug是否延期
|
||||
r($bug->checkDelayedBugsTest($productIDList[5])) && p('delay') && e('6,4,2'); // 检查deadline在resolvedDate后 状态为已关闭的bug是否延期
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php'; su('admin');
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/bug.class.php';
|
||||
$db->switchDB();
|
||||
|
||||
/**
|
||||
|
||||
@@ -9,14 +10,14 @@ title=bugModel->close();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
测试关闭状态为active的bug1 >> assignedTo,admin,closed;status,active,closed
|
||||
测试关闭状态为active的bug2 >> assignedTo,admin,closed;status,active,closed
|
||||
测试关闭状态为active的bug1 >> assignedTo,admin,closed;status,active,closed
|
||||
测试关闭状态为active的bug2 >> assignedTo,admin,closed;status,active,closed
|
||||
测试关闭状态为resolved的bug51 >> assignedTo,dev1,closed;status,resolved,closed
|
||||
测试关闭状态为resolved的bug52 >> assignedTo,dev1,closed;status,resolved,closed
|
||||
测试关闭状态为closed的bug81 >> assignedTo,dev1,closed;status,active,closed
|
||||
测试关闭状态为closed的bug82 >> assignedTo,dev1,closed;status,active,closed
|
||||
*/
|
||||
测试关闭状态为closed的bug81 >> assignedTo,dev1,closed;status,active,closed
|
||||
测试关闭状态为closed的bug82 >> assignedTo,dev1,closed;status,active,closed
|
||||
|
||||
*/
|
||||
|
||||
$bugIDList = array('1', '2', '51', '52', '34', '36');
|
||||
|
||||
@@ -27,4 +28,4 @@ r($bug->closeObject($bugIDList[2])) && p('0:field,old,new;1:field,old,new') && e
|
||||
r($bug->closeObject($bugIDList[3])) && p('0:field,old,new;1:field,old,new') && e('assignedTo,dev1,closed;status,resolved,closed'); // 测试关闭状态为resolved的bug52
|
||||
r($bug->closeObject($bugIDList[4])) && p('0:field,old,new;1:field,old,new') && e('assignedTo,dev1,closed;status,active,closed'); // 测试关闭状态为closed的bug81
|
||||
r($bug->closeObject($bugIDList[5])) && p('0:field,old,new;1:field,old,new') && e('assignedTo,dev1,closed;status,active,closed'); // 测试关闭状态为closed的bug82
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/bug.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -11,10 +12,10 @@ cid=1
|
||||
pid=1
|
||||
|
||||
确认指派人变化的bug >> assignedTo,admin,user92;confirmed,0,1
|
||||
确认类型变化的bug >> type,install,codeerror;confirmed,0,1
|
||||
确认已确认的bug >> assignedTo,admin,user95
|
||||
确认类型变化的bug >> type,install,codeerror;confirmed,0,1
|
||||
确认已确认的bug >> assignedTo,admin,user95
|
||||
确认优先级变化的bug >> status,resolved,active;pri,3,2
|
||||
确认bug >> status,closed,active
|
||||
确认bug >> status,closed,active
|
||||
|
||||
*/
|
||||
|
||||
@@ -32,4 +33,4 @@ r($bug->confirmTest($bugIDlist[1],$bug3)) && p('0:field,old,new;1:field,old,new'
|
||||
r($bug->confirmTest($bugIDlist[2],$bug4)) && p('0:field,old,new') && e('assignedTo,admin,user95'); // 确认已确认的bug
|
||||
r($bug->confirmTest($bugIDlist[3],$bug5)) && p('0:field,old,new;1:field,old,new') && e('status,resolved,active;pri,3,2'); // 确认优先级变化的bug
|
||||
r($bug->confirmTest($bugIDlist[4],$bug8)) && p('0:field,old,new') && e('status,closed,active'); // 确认bug
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/bug.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -18,10 +19,10 @@ pid=1
|
||||
测试正常的创建标准规范bug >> active
|
||||
测试正常的创建测试脚本bug >> admin
|
||||
测试正常的创建设计缺陷bug >> 3
|
||||
测试正常的创建其他bug >> 2021-03-19
|
||||
测试不输入名称创建bug >> 『Bug标题』不能为空。
|
||||
测试正常的创建其他bug >> 2021-03-19
|
||||
测试不输入名称创建bug >> 『Bug标题』不能为空。
|
||||
测试不输入影响版本创建bug >> 『影响版本』不能为空。
|
||||
测试指派人bug >> user92
|
||||
测试指派人bug >> user92
|
||||
|
||||
*/
|
||||
|
||||
@@ -52,4 +53,4 @@ r($bug->createObject($b_notitle)) && p('title:0') && e('『Bug标题
|
||||
r($bug->createObject($b_nobuild)) && p('openedBuild:0') && e('『影响版本』不能为空。'); // 测试不输入影响版本创建bug
|
||||
r($bug->createObject($b_assign)) && p('assignedTo') && e('user92'); // 测试指派人bug
|
||||
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/bug.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -10,12 +11,12 @@ title=bugModel->createBugFromGitlabIssue ();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
测试正常的创建来源于gitlab issue的bug的title >> 问题1
|
||||
测试正常的创建来源于gitlab issue的bug的title >> 问题1
|
||||
测试正常的创建来源于gitlab issue的bug的execution >> 101
|
||||
测试正常的创建来源于gitlab issue的bug的pri >> 3
|
||||
测试正常的创建来源于gitlab issue的bug的severity >> 3
|
||||
测试创建没有标题 来源于gitlab issue的异常bug >> 『Bug标题』不能为空。
|
||||
测试短时间内重复创建来源于gitlab issue的bug >> 0
|
||||
测试正常的创建来源于gitlab issue的bug的pri >> 3
|
||||
测试正常的创建来源于gitlab issue的bug的severity >> 3
|
||||
测试创建没有标题 来源于gitlab issue的异常bug >> 『Bug标题』不能为空。
|
||||
测试短时间内重复创建来源于gitlab issue的bug >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -25,7 +26,6 @@ $bug1 = new stdclass();
|
||||
$bug1->title = '问题1';
|
||||
$bug1->execution = $executionID;
|
||||
|
||||
|
||||
$bug2 = new stdclass();
|
||||
$bug2->title = '问题2';
|
||||
$bug2->execution = $executionID;
|
||||
@@ -50,4 +50,4 @@ r($bug->createBugFromGitlabIssueTest($bug4, $executionID)) && p('severity')
|
||||
r($bug->createBugFromGitlabIssueTest($bug5, $executionID)) && p('title:0') && e('『Bug标题』不能为空。'); // 测试创建没有标题 来源于gitlab issue的异常bug
|
||||
r($bug->createBugFromGitlabIssueTest($bug1, $executionID)) && p('task') && e('0'); // 测试短时间内重复创建来源于gitlab issue的bug
|
||||
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
@@ -9,17 +9,15 @@ title=bugModel->extractAccountsFromList();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
测试提取bug1 2 3的用户 >> admin;
|
||||
测试提取bug4 5 6的用户 >> admin;
|
||||
测试提取bug1 2 3的用户 >> admin;
|
||||
测试提取bug4 5 6的用户 >> admin;
|
||||
测试提取bug51 52 53的用户 >> admin;dev1
|
||||
测试提取bug54 55 56的用户 >> admin;dev1
|
||||
测试提取bug81 82 83的用户 >> admin;test1
|
||||
测试提取bug84 85 86的用户 >> admin;test1
|
||||
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$bugIDList1 = array('1', '2', '3');
|
||||
$bugIDList2 = array('4', '5', '6');
|
||||
$bugIDList3 = array('51', '52', '53');
|
||||
@@ -33,4 +31,4 @@ r($bug->extractAccountsFromListTest($bugIDList2)) && p('0;1') && e('admin;');
|
||||
r($bug->extractAccountsFromListTest($bugIDList3)) && p('0;1') && e('admin;dev1'); // 测试提取bug51 52 53的用户
|
||||
r($bug->extractAccountsFromListTest($bugIDList4)) && p('0;1') && e('admin;dev1'); // 测试提取bug54 55 56的用户
|
||||
r($bug->extractAccountsFromListTest($bugIDList5)) && p('0;1') && e('admin;test1'); // 测试提取bug81 82 83的用户
|
||||
r($bug->extractAccountsFromListTest($bugIDList6)) && p('0;1') && e('admin;test1'); // 测试提取bug84 85 86的用户
|
||||
r($bug->extractAccountsFromListTest($bugIDList6)) && p('0;1') && e('admin;test1'); // 测试提取bug84 85 86的用户
|
||||
@@ -30,7 +30,6 @@ pid=1
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$bugIDList1 = array('1', '2', '3');
|
||||
$bugIDList2 = array('4', '5', '6');
|
||||
$bugIDList3 = array('51', '52', '53');
|
||||
@@ -56,4 +55,4 @@ r($bug->extractAccountsFromSingleTest($bugIDList5[1])) && p('0;1') && e('admin;t
|
||||
r($bug->extractAccountsFromSingleTest($bugIDList5[2])) && p('0;1') && e('admin;test1'); // 测试提取bug83的用户
|
||||
r($bug->extractAccountsFromSingleTest($bugIDList6[0])) && p('0;1') && e('admin;test1'); // 测试提取bug84的用户
|
||||
r($bug->extractAccountsFromSingleTest($bugIDList6[1])) && p('0;1') && e('admin;test1'); // 测试提取bug85的用户
|
||||
r($bug->extractAccountsFromSingleTest($bugIDList6[2])) && p('0;1') && e('admin;test1'); // 测试提取bug86的用户
|
||||
r($bug->extractAccountsFromSingleTest($bugIDList6[2])) && p('0;1') && e('admin;test1'); // 测试提取bug86的用户
|
||||
@@ -10,11 +10,11 @@ title=测试bugModel->formCustomedBugs();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
获取bug 1 2的module story task case execution名称 >> 产品模块1,软件需求2,0,0,迭代1;产品模块2,软件需求6,0,0,迭代1
|
||||
获取bug 3 4的module story task case execution名称 >> 产品模块3,软件需求10,0,0,迭代1;产品模块5,软件需求14,0,0,迭代2
|
||||
获取bug 5 6的module story task case execution名称 >> 产品模块6,软件需求18,0,0,迭代2;产品模块7,软件需求22,0,0,迭代2
|
||||
获取bug 7 8的module story task case execution名称 >> 产品模块11,软件需求26,0,0,迭代3;产品模块12,软件需求30,0,0,迭代3
|
||||
获取bug 9 10的module story task case execution名称 >> 产品模块13,软件需求34,0,0,迭代3;0,软件需求38,0,0,迭代4
|
||||
获取bug 1 2的module story task case execution名称 >> 产品模块1,软件需求2,0,0,迭代1;产品模块2,软件需求6,0,0,迭代1
|
||||
获取bug 3 4的module story task case execution名称 >> 产品模块3,软件需求10,0,0,迭代1;产品模块5,软件需求14,0,0,迭代2
|
||||
获取bug 5 6的module story task case execution名称 >> 产品模块6,软件需求18,0,0,迭代2;产品模块7,软件需求22,0,0,迭代2
|
||||
获取bug 7 8的module story task case execution名称 >> 产品模块11,软件需求26,0,0,迭代3;产品模块12,软件需求30,0,0,迭代3
|
||||
获取bug 9 10的module story task case execution名称 >> 产品模块13,软件需求34,0,0,迭代3;0,软件需求38,0,0,迭代
|
||||
|
||||
*/
|
||||
|
||||
@@ -29,4 +29,4 @@ r($bug->formCustomedBugsTest($bugIDList1)) && p('1:module,story,task,case,execut
|
||||
r($bug->formCustomedBugsTest($bugIDList2)) && p('3:module,story,task,case,execution;4:module,story,task,case,execution') && e('产品模块3,软件需求10,0,0,迭代1;产品模块5,软件需求14,0,0,迭代2'); // 获取bug 3 4的module story task case execution名称
|
||||
r($bug->formCustomedBugsTest($bugIDList3)) && p('5:module,story,task,case,execution;6:module,story,task,case,execution') && e('产品模块6,软件需求18,0,0,迭代2;产品模块7,软件需求22,0,0,迭代2'); // 获取bug 5 6的module story task case execution名称
|
||||
r($bug->formCustomedBugsTest($bugIDList4)) && p('7:module,story,task,case,execution;8:module,story,task,case,execution') && e('产品模块11,软件需求26,0,0,迭代3;产品模块12,软件需求30,0,0,迭代3'); // 获取bug 7 8的module story task case execution名称
|
||||
r($bug->formCustomedBugsTest($bugIDList5)) && p('9:module,story,task,case,execution;10:module,story,task,case,execution') && e('产品模块13,软件需求34,0,0,迭代3;0,软件需求38,0,0,迭代'); // 获取bug 9 10的module story task case execution名称
|
||||
r($bug->formCustomedBugsTest($bugIDList5)) && p('9:module,story,task,case,execution;10:module,story,task,case,execution') && e('产品模块13,软件需求34,0,0,迭代3;0,软件需求38,0,0,迭代'); // 获取bug 9 10的module story task case execution名称
|
||||
@@ -13,17 +13,15 @@ pid=1
|
||||
查询产品1 2 3 不存在的产品1000001 execution为101下的bug >> BUG3,BUG2,BUG1
|
||||
查询产品1 2 3 不存在的产品1000001 execution为102下的bug >> BUG6,BUG5,BUG4
|
||||
查询产品1 2 3 不存在的产品1000001 execution为103下的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7
|
||||
查询产品1 3 execution为101下的bug >> BUG3,BUG2,BUG1
|
||||
查询产品1 3 execution为102下的bug >> 0
|
||||
查询产品1 3 execution为103下的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7
|
||||
查询产品1 execution为101下的bug >> BUG3,BUG2,BUG1
|
||||
查询产品1 execution为102下的bug >> 0
|
||||
查询产品1 execution为103下的bug >> 0
|
||||
查询不存在的产品1000001 execution为101下的bug >> 0
|
||||
查询不存在的产品1000001 execution为102下的bug >> 0
|
||||
查询不存在的产品1000001 execution为103下的bug >> 0
|
||||
|
||||
|
||||
查询产品1 3 execution为101下的bug >> BUG3,BUG2,BUG1
|
||||
查询产品1 3 execution为102下的bug >> 0
|
||||
查询产品1 3 execution为103下的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7
|
||||
查询产品1 execution为101下的bug >> BUG3,BUG2,BUG1
|
||||
查询产品1 execution为102下的bug >> 0
|
||||
查询产品1 execution为103下的bug >> 0
|
||||
查询不存在的产品1000001 execution为101下的bug >> 0
|
||||
查询不存在的产品1000001 execution为102下的bug >> 0
|
||||
查询不存在的产品1000001 execution为103下的bug >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -43,4 +41,4 @@ r($bug->getActiveAndPostponedBugsTest($productIDList[2], $executionList[1])) &&
|
||||
r($bug->getActiveAndPostponedBugsTest($productIDList[2], $executionList[2])) && p() && e('0'); // 查询产品1 execution为103下的bug
|
||||
r($bug->getActiveAndPostponedBugsTest($productIDList[3], $executionList[0])) && p() && e('0'); // 查询不存在的产品1000001 execution为101下的bug
|
||||
r($bug->getActiveAndPostponedBugsTest($productIDList[3], $executionList[1])) && p() && e('0'); // 查询不存在的产品1000001 execution为102下的bug
|
||||
r($bug->getActiveAndPostponedBugsTest($productIDList[3], $executionList[2])) && p() && e('0'); // 查询不存在的产品1000001 execution为103下的bug
|
||||
r($bug->getActiveAndPostponedBugsTest($productIDList[3], $executionList[2])) && p() && e('0'); // 查询不存在的产品1000001 execution为103下的bug
|
||||
@@ -10,19 +10,18 @@ title=bugModel->getActiveBugs();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
查询产品1 2 3 不存在的产品1000001下 且不排除bug的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG6,BUG5,BUG4,BUG3,BUG2,BUG1
|
||||
查询产品1 2 3 不存在的产品1000001下 且排除bug2的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG6,BUG5,BUG4,BUG3,BUG1
|
||||
查询产品1 2 3 不存在的产品1000001下 且不排除bug的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG6,BUG5,BUG4,BUG3,BUG2,BUG1
|
||||
查询产品1 2 3 不存在的产品1000001下 且排除bug2的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG6,BUG5,BUG4,BUG3,BUG1
|
||||
查询产品1 2 3 不存在的产品1000001下 且排除bug3 8的bug >> BUG9,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG6,BUG5,BUG4,BUG2,BUG1
|
||||
查询产品1 3下 且不排除bug的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG3,BUG2,BUG1
|
||||
查询产品1 3下 且排除bug2的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG3,BUG1
|
||||
查询产品1 3下 且排除bug3 8的bug >> BUG9,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG2,BUG1
|
||||
查询产品1下 且不排除bug的bug >> BUG3,BUG2,BUG1
|
||||
查询产品1下 且排除bug2的bug >> BUG3,BUG1
|
||||
查询产品1下 且排除bug3 8的bug >> BUG2,BUG1
|
||||
查询不存在的产品1000001下 且不排除bug的bug >> 0
|
||||
查询不存在的产品1000001下 且排除bug2的bug >> 0
|
||||
查询不存在的产品1000001下 且排除bug3 8的bug >> 0
|
||||
|
||||
查询产品1 3下 且不排除bug的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG3,BUG2,BUG1
|
||||
查询产品1 3下 且排除bug2的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG3,BUG1
|
||||
查询产品1 3下 且排除bug3 8的bug >> BUG9,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG2,BUG1
|
||||
查询产品1下 且不排除bug的bug >> BUG3,BUG2,BUG1
|
||||
查询产品1下 且排除bug2的bug >> BUG3,BUG1
|
||||
查询产品1下 且排除bug3 8的bug >> BUG2,BUG1
|
||||
查询不存在的产品1000001下 且不排除bug的bug >> 0
|
||||
查询不存在的产品1000001下 且排除bug2的bug >> 0
|
||||
查询不存在的产品1000001下 且排除bug3 8的bug >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -42,4 +41,4 @@ r($bug->getActiveBugsTest($productIDList[2], $statusList[1])) && p() && e('BUG3,
|
||||
r($bug->getActiveBugsTest($productIDList[2], $statusList[2])) && p() && e('BUG2,BUG1'); // 查询产品1下 且排除bug3 8的bug
|
||||
r($bug->getActiveBugsTest($productIDList[3], $statusList[0])) && p() && e('0'); // 查询不存在的产品1000001下 且不排除bug的bug
|
||||
r($bug->getActiveBugsTest($productIDList[3], $statusList[1])) && p() && e('0'); // 查询不存在的产品1000001下 且排除bug2的bug
|
||||
r($bug->getActiveBugsTest($productIDList[3], $statusList[2])) && p() && e('0'); // 查询不存在的产品1000001下 且排除bug3 8的bug
|
||||
r($bug->getActiveBugsTest($productIDList[3], $statusList[2])) && p() && e('0'); // 查询不存在的产品1000001下 且排除bug3 8的bug
|
||||
@@ -11,14 +11,14 @@ cid=1
|
||||
pid=1
|
||||
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下的bug >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825下的bug >> BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与不存在的模块1000001下的bug >> 0
|
||||
查询产品1 3与模块1821, 1825, 1831 不存在的模块1000001下的bug >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG1
|
||||
查询产品1 3与模块1821, 1825下的bug >> BUG1
|
||||
查询产品1 3与模块不存在的模块1000001下的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825下的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001下的bug >> 0
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825下的bug >> BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与不存在的模块1000001下的bug >> 0
|
||||
查询产品1 3与模块1821, 1825, 1831 不存在的模块1000001下的bug >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG1
|
||||
查询产品1 3与模块1821, 1825下的bug >> BUG1
|
||||
查询产品1 3与模块不存在的模块1000001下的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825下的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001下的bug >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -35,4 +35,4 @@ r($bug->getAllBugsTest($productIDList[1], $moduleIDList[1])) && p('title') && e(
|
||||
r($bug->getAllBugsTest($productIDList[1], $moduleIDList[2])) && p('title') && e('0'); // 查询产品1 3与模块不存在的模块1000001下的bug
|
||||
r($bug->getAllBugsTest($productIDList[2], $moduleIDList[0])) && p('title') && e('0'); // 查询不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下的bug
|
||||
r($bug->getAllBugsTest($productIDList[2], $moduleIDList[1])) && p('title') && e('0'); // 查询不存在的产品10001 与模块1821, 1825下的bug
|
||||
r($bug->getAllBugsTest($productIDList[2], $moduleIDList[2])) && p('title') && e('0'); // 查询不存在的产品10001 与不存在的模块1000001下的bug
|
||||
r($bug->getAllBugsTest($productIDList[2], $moduleIDList[2])) && p('title') && e('0'); // 查询不存在的产品10001 与不存在的模块1000001下的bug
|
||||
@@ -26,4 +26,4 @@ r($bug->getAllProjectIdsTest()) && p("$projectIDList[1]") && e('12'); // 测试p
|
||||
r($bug->getAllProjectIdsTest()) && p("$projectIDList[2]") && e('13'); // 测试projectId为13的项目
|
||||
r($bug->getAllProjectIdsTest()) && p("$projectIDList[3]") && e('41'); // 测试projectId为41的项目
|
||||
r($bug->getAllProjectIdsTest()) && p("$projectIDList[4]") && e('51'); // 测试projectId为51的项目
|
||||
r($bug->getAllProjectIdsTest()) && p("$projectIDList[5]") && e('91'); // 测试projectId为91的项目
|
||||
r($bug->getAllProjectIdsTest()) && p("$projectIDList[5]") && e('91'); // 测试projectId为91的项目
|
||||
@@ -9,23 +9,21 @@ title=bugModel->getBugInfoFromResult();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
测试获取runID为0 caseID为2的bug >> 这个是测试用例2
|
||||
测试获取runID为0 caseID为6的bug >> 这个是测试用例6
|
||||
测试获取runID为0 caseID为10的bug >> 这个是测试用例10
|
||||
测试获取runID为2 caseID为2的bug >> 这个是测试用例2
|
||||
测试获取runID为2 caseID为6的bug >> 这个是测试用例6
|
||||
测试获取runID为2 caseID为10的bug >> 这个是测试用例10
|
||||
测试获取runID为6 caseID为2的bug >> 这个是测试用例2
|
||||
测试获取runID为6 caseID为6的bug >> 这个是测试用例6
|
||||
测试获取runID为6 caseID为10的bug >> 这个是测试用例10
|
||||
测试获取runID为10 caseID为2的bug >> 这个是测试用例2
|
||||
测试获取runID为10 caseID为6的bug >> 这个是测试用例6
|
||||
测试获取runID为0 caseID为2的bug >> 这个是测试用例2
|
||||
测试获取runID为0 caseID为6的bug >> 这个是测试用例6
|
||||
测试获取runID为0 caseID为10的bug >> 这个是测试用例10
|
||||
测试获取runID为2 caseID为2的bug >> 这个是测试用例2
|
||||
测试获取runID为2 caseID为6的bug >> 这个是测试用例6
|
||||
测试获取runID为2 caseID为10的bug >> 这个是测试用例10
|
||||
测试获取runID为6 caseID为2的bug >> 这个是测试用例2
|
||||
测试获取runID为6 caseID为6的bug >> 这个是测试用例6
|
||||
测试获取runID为6 caseID为10的bug >> 这个是测试用例10
|
||||
测试获取runID为10 caseID为2的bug >> 这个是测试用例2
|
||||
测试获取runID为10 caseID为6的bug >> 这个是测试用例6
|
||||
测试获取runID为10 caseID为10的bug >> 这个是测试用例10
|
||||
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$runIDList = array('0', '2', '6', '10');
|
||||
$caseIDList = array('0', '2', '6', '10');
|
||||
|
||||
@@ -42,4 +40,4 @@ r($bug->getBugInfoFromResultTest($runIDList[2], $caseIDList[2])) && p() && e('
|
||||
r($bug->getBugInfoFromResultTest($runIDList[2], $caseIDList[3])) && p() && e('这个是测试用例10'); // 测试获取runID为6 caseID为10的bug
|
||||
r($bug->getBugInfoFromResultTest($runIDList[3], $caseIDList[1])) && p() && e('这个是测试用例2'); // 测试获取runID为10 caseID为2的bug
|
||||
r($bug->getBugInfoFromResultTest($runIDList[3], $caseIDList[2])) && p() && e('这个是测试用例6'); // 测试获取runID为10 caseID为6的bug
|
||||
r($bug->getBugInfoFromResultTest($runIDList[3], $caseIDList[3])) && p() && e('这个是测试用例10'); // 测试获取runID为10 caseID为10的bug
|
||||
r($bug->getBugInfoFromResultTest($runIDList[3], $caseIDList[3])) && p() && e('这个是测试用例10'); // 测试获取runID为10 caseID为10的bug
|
||||
@@ -37,4 +37,4 @@ r($bug->getBugQueryTest($bugQuery[2])) && p() && e(" `resolvedDate` != '0000-00
|
||||
r($bug->getBugQueryTest($bugQuery[3])) && p() && e(" `closedDate` != '0000-00-00 00:00:00' AND `closedDate` <= '2022-01-01'"); // 查询 `closedDate` = '2022-01-01' 的bugQuery
|
||||
r($bug->getBugQueryTest($bugQuery[4])) && p() && e(" `story` IN (2,12,20,21,22,23,24,25,26,27,28,29,32,42,52,62,70,71,72,73,74,75,76,77,78,79,82,92,102,112,120,121,122,123,124,125,126,127,128,129,132,142,152,162,172,182,192,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,302,312,320,321,322,323,324,325,326,327,328,329,332,342,352,362,372,382,392,402,412,420,421,422,423,424,425,426,427,428,429,432,442) AND `story` != 0"); // 查询 `story` LIKE '%abc%' 的bugQuery
|
||||
r($bug->getBugQueryTest($bugQuery[5])) && p() && e(" `story` NOT IN (2,12,20,21,22,23,24,25,26,27,28,29,32,42,52,62,70,71,72,73,74,75,76,77,78,79,82,92,102,112,120,121,122,123,124,125,126,127,128,129,132,142,152,162,172,182,192,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,302,312,320,321,322,323,324,325,326,327,328,329,332,342,352,362,372,382,392,402,412,420,421,422,423,424,425,426,427,428,429,432,442) AND `story` != 0"); // 查询 `story` NOT LIKE '%abc%' 的bugQuery
|
||||
r($bug->getBugQueryTest($bugQuery[6])) && p() && e("`product` = '1' and `project` = '1' and `story` > 'abc' AND `story` != 0"); // 查询 `product` = '1' and `project` = '1' and `story` > 'abc' 的bugQuery
|
||||
r($bug->getBugQueryTest($bugQuery[6])) && p() && e("`product` = '1' and `project` = '1' and `story` > 'abc' AND `story` != 0"); // 查询 `product` = '1' and `project` = '1' and `story` > 'abc' 的bugQuery
|
||||
+11
-11
@@ -10,17 +10,17 @@ title=bugModel->getBugs();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
查询正常产品 没有分支 查看全部 没有模块的全部bug的标题拼接1 >> BUG3,BUG2,BUG1
|
||||
查询正常产品 没有分支 查看全部 没有模块的全部bug的标题拼接1 >> BUG3,BUG2,BUG1
|
||||
查询正常产品 不存在的分支主干 查看全部 没有模块的全部bug的标题拼接 >> BUG3,BUG2,BUG1
|
||||
查询正常产品 没有分支 查看未关闭 没有模块的全部bug的标题拼接 >> BUG3,BUG2,BUG1
|
||||
查询正常产品 没有分支 查看全部 模块1821的全部bug的标题拼接 >> BUG1
|
||||
查询正常产品 没有分支 查看全部 模块不存在的全部bug的标题拼接 >> BUG3,BUG2,BUG1
|
||||
查询多分支产品 没有分支 查看全部 没有模块的全部bug的标题拼接59 >> BUG177,bug176,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();175
|
||||
查询多分支产品 主干 查看全部 没有模块的全部bug的标题拼接 >> BUG177,bug176,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();175
|
||||
查询多分支产品 分支37 查看全部 没有模块的全部bug的标题拼接 >> 0
|
||||
查询多分支产品 没有分支 查看未关闭 没有模块的全部bug的标题拼接 >> BUG177,bug176,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();175
|
||||
查询多分支产品 没有分支 查看全部 模块2053的全部bug的标题拼接 >> 0
|
||||
查询不存在的产品的全部bug的标题拼接 >> 0
|
||||
查询正常产品 没有分支 查看未关闭 没有模块的全部bug的标题拼接 >> BUG3,BUG2,BUG1
|
||||
查询正常产品 没有分支 查看全部 模块1821的全部bug的标题拼接 >> BUG1
|
||||
查询正常产品 没有分支 查看全部 模块不存在的全部bug的标题拼接 >> BUG3,BUG2,BUG1
|
||||
查询多分支产品 没有分支 查看全部 没有模块的全部bug的标题拼接59 >> BUG177,bug176,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();175
|
||||
查询多分支产品 主干 查看全部 没有模块的全部bug的标题拼接 >> BUG177,bug176,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();175
|
||||
查询多分支产品 分支37 查看全部 没有模块的全部bug的标题拼接 >> 0
|
||||
查询多分支产品 没有分支 查看未关闭 没有模块的全部bug的标题拼接 >> BUG177,bug176,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();175
|
||||
查询多分支产品 没有分支 查看全部 模块2053的全部bug的标题拼接 >> 0
|
||||
查询不存在的产品的全部bug的标题拼接 >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -41,4 +41,4 @@ r($bug->getBugsTest($productIDList[1], $branchList[1], $browseTypeList[0], $modu
|
||||
r($bug->getBugsTest($productIDList[1], $branchList[2], $browseTypeList[0], $moduleIDList[0])) && p('title') && e('0'); // 查询多分支产品 分支37 查看全部 没有模块的全部bug的标题拼接
|
||||
r($bug->getBugsTest($productIDList[1], $branchList[0], $browseTypeList[1], $moduleIDList[0])) && p('title') && e('BUG177,bug176,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();175'); // 查询多分支产品 没有分支 查看未关闭 没有模块的全部bug的标题拼接
|
||||
r($bug->getBugsTest($productIDList[1], $branchList[0], $browseTypeList[0], $moduleIDList[2])) && p('title') && e('0'); // 查询多分支产品 没有分支 查看全部 模块2053的全部bug的标题拼接
|
||||
r($bug->getBugsTest($productIDList[2], $branchList[0], $browseTypeList[0], $moduleIDList[0])) && p('title') && e('0'); // 查询不存在的产品的全部bug的标题拼接
|
||||
r($bug->getBugsTest($productIDList[2], $branchList[0], $browseTypeList[0], $moduleIDList[0])) && p('title') && e('0'); // 查询不存在的产品的全部bug的标题拼接
|
||||
@@ -11,14 +11,14 @@ cid=1
|
||||
pid=1
|
||||
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下由我指派的bug >> 0
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825下由我指派的bug >> 0
|
||||
查询产品1 2 3 不存在的产品10001 与不存在的模块1000001下由我指派的bug >> 0
|
||||
查询产品1 3与模块1821, 1825, 1831 不存在的模块1000001下由我指派的bug >> 0
|
||||
查询产品1 3与模块1821, 1825下由我指派的bug >> 0
|
||||
查询产品1 3与模块不存在的模块1000001下由我指派的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下由我指派的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825下由我指派的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001下由我指派的bug >> 0
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825下由我指派的bug >> 0
|
||||
查询产品1 2 3 不存在的产品10001 与不存在的模块1000001下由我指派的bug >> 0
|
||||
查询产品1 3与模块1821, 1825, 1831 不存在的模块1000001下由我指派的bug >> 0
|
||||
查询产品1 3与模块1821, 1825下由我指派的bug >> 0
|
||||
查询产品1 3与模块不存在的模块1000001下由我指派的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下由我指派的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825下由我指派的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001下由我指派的bug >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -35,4 +35,4 @@ r($bug->getByAssignedbymeTest($productIDList[1], $moduleIDList[1])) && p('title'
|
||||
r($bug->getByAssignedbymeTest($productIDList[1], $moduleIDList[2])) && p('title') && e('0'); // 查询产品1 3与模块不存在的模块1000001下由我指派的bug
|
||||
r($bug->getByAssignedbymeTest($productIDList[2], $moduleIDList[0])) && p('title') && e('0'); // 查询不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下由我指派的bug
|
||||
r($bug->getByAssignedbymeTest($productIDList[2], $moduleIDList[1])) && p('title') && e('0'); // 查询不存在的产品10001 与模块1821, 1825下由我指派的bug
|
||||
r($bug->getByAssignedbymeTest($productIDList[2], $moduleIDList[2])) && p('title') && e('0'); // 查询不存在的产品10001 与不存在的模块1000001下由我指派的bug
|
||||
r($bug->getByAssignedbymeTest($productIDList[2], $moduleIDList[2])) && p('title') && e('0'); // 查询不存在的产品10001 与不存在的模块1000001下由我指派的bug
|
||||
@@ -11,14 +11,14 @@ cid=1
|
||||
pid=1
|
||||
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下指派给我的bug >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825下指派给我的bug >> BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与不存在的模块1000001下指派给我的bug >> 0
|
||||
查询产品1 3与模块1821, 1825, 1831 不存在的模块1000001下指派给我的bug >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG1
|
||||
查询产品1 3与模块1821, 1825下指派给我的bug >> BUG1
|
||||
查询产品1 3与模块不存在的模块1000001下指派给我的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下指派给我的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825下指派给我的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001下指派给我的bug >> 0
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825下指派给我的bug >> BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与不存在的模块1000001下指派给我的bug >> 0
|
||||
查询产品1 3与模块1821, 1825, 1831 不存在的模块1000001下指派给我的bug >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG1
|
||||
查询产品1 3与模块1821, 1825下指派给我的bug >> BUG1
|
||||
查询产品1 3与模块不存在的模块1000001下指派给我的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下指派给我的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825下指派给我的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001下指派给我的bug >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -35,4 +35,4 @@ r($bug->getByAssigntomeTest($productIDList[1], $moduleIDList[1])) && p('title')
|
||||
r($bug->getByAssigntomeTest($productIDList[1], $moduleIDList[2])) && p('title') && e('0'); // 查询产品1 3与模块不存在的模块1000001下指派给我的bug
|
||||
r($bug->getByAssigntomeTest($productIDList[2], $moduleIDList[0])) && p('title') && e('0'); // 查询不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下指派给我的bug
|
||||
r($bug->getByAssigntomeTest($productIDList[2], $moduleIDList[1])) && p('title') && e('0'); // 查询不存在的产品10001 与模块1821, 1825下指派给我的bug
|
||||
r($bug->getByAssigntomeTest($productIDList[2], $moduleIDList[2])) && p('title') && e('0'); // 查询不存在的产品10001 与不存在的模块1000001下指派给我的bug
|
||||
r($bug->getByAssigntomeTest($productIDList[2], $moduleIDList[2])) && p('title') && e('0'); // 查询不存在的产品10001 与不存在的模块1000001下指派给我的bug
|
||||
@@ -11,8 +11,8 @@ cid=1
|
||||
pid=1
|
||||
|
||||
查询产品1 581 58 不存在的产品10001下由我创建的bug >> BUG174,BUG173,BUG172,BUG93,BUG92,BUG91
|
||||
查询产品1 58下由我创建的bug >> BUG174,BUG173,BUG172
|
||||
查询不存在的产品10001下由我创建的bug >> 0
|
||||
查询产品1 58下由我创建的bug >> BUG174,BUG173,BUG172
|
||||
查询不存在的产品10001下由我创建的bug >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -22,4 +22,4 @@ $bug=new bugTest();
|
||||
|
||||
r($bug->getByAssigntonullTest($productIDList[0])) && p('title') && e('BUG174,BUG173,BUG172,BUG93,BUG92,BUG91'); // 查询产品1 581 58 不存在的产品10001下由我创建的bug
|
||||
r($bug->getByAssigntonullTest($productIDList[1])) && p('title') && e('BUG174,BUG173,BUG172'); // 查询产品1 58下由我创建的bug
|
||||
r($bug->getByAssigntonullTest($productIDList[2])) && p('title') && e('0'); // 查询不存在的产品10001下由我创建的bug
|
||||
r($bug->getByAssigntonullTest($productIDList[2])) && p('title') && e('0'); // 查询不存在的产品10001下由我创建的bug
|
||||
+19
-19
@@ -10,26 +10,26 @@ title=bugModel->getById();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
查询id为1的bug的title >> BUG1
|
||||
查询id为1的bug的status >> active
|
||||
查询id为1的bug的plan >> 1
|
||||
查询id为1的bug的module >> 1821
|
||||
查询id为1的bug的story >> 2
|
||||
查询id为4的bug的title >> BUG4
|
||||
查询id为4的bug的status >> active
|
||||
查询id为4的bug的plan >> 4
|
||||
查询id为4的bug的module >> 1825
|
||||
查询id为4的bug的story >> 14
|
||||
查询id为7的bug的title >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7
|
||||
查询id为7的bug的status >> active
|
||||
查询id为7的bug的plan >> 7
|
||||
查询id为7的bug的module >> 1831
|
||||
查询id为7的bug的story >> 26
|
||||
查询id为不存在的1000001的bug的title >> 0
|
||||
查询id为1的bug的title >> BUG1
|
||||
查询id为1的bug的status >> active
|
||||
查询id为1的bug的plan >> 1
|
||||
查询id为1的bug的module >> 1821
|
||||
查询id为1的bug的story >> 2
|
||||
查询id为4的bug的title >> BUG4
|
||||
查询id为4的bug的status >> active
|
||||
查询id为4的bug的plan >> 4
|
||||
查询id为4的bug的module >> 1825
|
||||
查询id为4的bug的story >> 14
|
||||
查询id为7的bug的title >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7
|
||||
查询id为7的bug的status >> active
|
||||
查询id为7的bug的plan >> 7
|
||||
查询id为7的bug的module >> 1831
|
||||
查询id为7的bug的story >> 26
|
||||
查询id为不存在的1000001的bug的title >> 0
|
||||
查询id为不存在的1000001的bug的status >> 0
|
||||
查询id为不存在的1000001的bug的plan >> 0
|
||||
查询id为不存在的1000001的bug的plan >> 0
|
||||
查询id为不存在的1000001的bug的module >> 0
|
||||
查询id为不存在的1000001的bug的story >> 0
|
||||
查询id为不存在的1000001的bug的story >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -56,4 +56,4 @@ r($bug->getByIdTest($bugIDList[3])) && p('title') && e('0'); // 查询id为不
|
||||
r($bug->getByIdTest($bugIDList[3])) && p('status') && e('0'); // 查询id为不存在的1000001的bug的status
|
||||
r($bug->getByIdTest($bugIDList[3])) && p('plan') && e('0'); // 查询id为不存在的1000001的bug的plan
|
||||
r($bug->getByIdTest($bugIDList[3])) && p('module') && e('0'); // 查询id为不存在的1000001的bug的module
|
||||
r($bug->getByIdTest($bugIDList[3])) && p('story') && e('0'); // 查询id为不存在的1000001的bug的story
|
||||
r($bug->getByIdTest($bugIDList[3])) && p('story') && e('0'); // 查询id为不存在的1000001的bug的story
|
||||
@@ -10,21 +10,18 @@ title=bugModel->getByList();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
查询id为1的bug title >> BUG1
|
||||
查询id为1的bug title >> BUG1
|
||||
查询id为2的bug status >> active
|
||||
查询id为3的bug title >> BUG3
|
||||
查询id为1的bug title >> BUG1
|
||||
查询id为4的bug title >> BUG4
|
||||
查询id为3的bug title >> BUG3
|
||||
查询id为1的bug title >> BUG1
|
||||
查询id为4的bug title >> BUG4
|
||||
查询id为4的bug status >> active
|
||||
查询id为1的bug title >> BUG1
|
||||
查询id为1的bug title >> BUG1
|
||||
查询id为2的bug title >> BUG2
|
||||
查询id为1的bug title >> BUG1
|
||||
查询id为1的bug title >> BUG1
|
||||
查询id为2的bug title >> BUG2
|
||||
查询id为2的bug status >> active
|
||||
查询id为7的bug title >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7
|
||||
查询id为7的bug title >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7
|
||||
|
||||
|
||||
|
||||
查询id为7的bug title >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7
|
||||
查询id为7的bug title >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7
|
||||
|
||||
*/
|
||||
|
||||
@@ -44,4 +41,4 @@ r($bug->getByListTest($bugIDList[1], $fieldsList[3])) && p('1:title') && e('BUG
|
||||
r($bug->getByListTest($bugIDList[2], $fieldsList[0])) && p('2:title') && e('BUG2'); // 查询id为2的bug title
|
||||
r($bug->getByListTest($bugIDList[2], $fieldsList[1])) && p('2:status') && e('active'); // 查询id为2的bug status
|
||||
r($bug->getByListTest($bugIDList[2], $fieldsList[2])) && p('7:title') && e('缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7'); // 查询id为7的bug title
|
||||
r($bug->getByListTest($bugIDList[2], $fieldsList[3])) && p('7:title') && e('缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7'); // 查询id为7的bug title
|
||||
r($bug->getByListTest($bugIDList[2], $fieldsList[3])) && p('7:title') && e('缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7'); // 查询id为7的bug title
|
||||
@@ -11,17 +11,17 @@ cid=1
|
||||
pid=1
|
||||
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825, 1832 不存在的模块1000001下长时间未关闭的bug >> bug8,BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825下长时间未关闭的bug >> BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与不存在的模块1000001下长时间未关闭的bug >> 0
|
||||
查询产品1 2 3 不存在的产品10001下长时间未关闭的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG6,BUG5,BUG4,BUG3,BUG2,BUG1
|
||||
查询产品1 3与模块1821, 1825, 1832 不存在的模块1000001下长时间未关闭的bug >> bug8,BUG1
|
||||
查询产品1 3与模块1821, 1825下长时间未关闭的bug >> BUG1
|
||||
查询产品1 3与模块不存在的模块1000001下长时间未关闭的bug >> 0
|
||||
查询产品13 不存在的产品10001下长时间未关闭的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG3,BUG2,BUG1
|
||||
查询不存在的产品10001 与模块1821, 1825, 1832 不存在的模块1000001下长时间未关闭的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825下长时间未关闭的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001下长时间未关闭的bug >> 0
|
||||
查询不存在的产品10001下长时间未关闭的bug >> 0
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825下长时间未关闭的bug >> BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与不存在的模块1000001下长时间未关闭的bug >> 0
|
||||
查询产品1 2 3 不存在的产品10001下长时间未关闭的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG6,BUG5,BUG4,BUG3,BUG2,BUG1
|
||||
查询产品1 3与模块1821, 1825, 1832 不存在的模块1000001下长时间未关闭的bug >> bug8,BUG1
|
||||
查询产品1 3与模块1821, 1825下长时间未关闭的bug >> BUG1
|
||||
查询产品1 3与模块不存在的模块1000001下长时间未关闭的bug >> 0
|
||||
查询产品13 不存在的产品10001下长时间未关闭的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG3,BUG2,BUG1
|
||||
查询不存在的产品10001 与模块1821, 1825, 1832 不存在的模块1000001下长时间未关闭的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825下长时间未关闭的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001下长时间未关闭的bug >> 0
|
||||
查询不存在的产品10001下长时间未关闭的bug >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -41,4 +41,4 @@ r($bug->getByLonglifebugsTest($productIDList[1], $moduleIDList[3])) && p('title'
|
||||
r($bug->getByLonglifebugsTest($productIDList[2], $moduleIDList[0])) && p('title') && e('0'); // 查询不存在的产品10001 与模块1821, 1825, 1832 不存在的模块1000001下长时间未关闭的bug
|
||||
r($bug->getByLonglifebugsTest($productIDList[2], $moduleIDList[1])) && p('title') && e('0'); // 查询不存在的产品10001 与模块1821, 1825下长时间未关闭的bug
|
||||
r($bug->getByLonglifebugsTest($productIDList[2], $moduleIDList[2])) && p('title') && e('0'); // 查询不存在的产品10001 与不存在的模块1000001下长时间未关闭的bug
|
||||
r($bug->getByLonglifebugsTest($productIDList[2], $moduleIDList[3])) && p('title') && e('0'); // 查询不存在的产品10001下长时间未关闭的bug
|
||||
r($bug->getByLonglifebugsTest($productIDList[2], $moduleIDList[3])) && p('title') && e('0'); // 查询不存在的产品10001下长时间未关闭的bug
|
||||
@@ -11,14 +11,14 @@ cid=1
|
||||
pid=1
|
||||
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下研发需求变更的bug >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825下研发需求变更的bug >> BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与不存在的模块1000001下研发需求变更的bug >> 0
|
||||
查询产品1 3与模块1821, 1825, 1831 不存在的模块1000001下研发需求变更的bug >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG1
|
||||
查询产品1 3与模块1821, 1825下研发需求变更的bug >> BUG1
|
||||
查询产品1 3与模块不存在的模块1000001下研发需求变更的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下研发需求变更的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825下研发需求变更的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001下研发需求变更的bug >> 0
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825下研发需求变更的bug >> BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与不存在的模块1000001下研发需求变更的bug >> 0
|
||||
查询产品1 3与模块1821, 1825, 1831 不存在的模块1000001下研发需求变更的bug >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG1
|
||||
查询产品1 3与模块1821, 1825下研发需求变更的bug >> BUG1
|
||||
查询产品1 3与模块不存在的模块1000001下研发需求变更的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下研发需求变更的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825下研发需求变更的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001下研发需求变更的bug >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -35,4 +35,4 @@ r($bug->getByNeedconfirmTest($productIDList[1], $moduleIDList[1])) && p('title')
|
||||
r($bug->getByNeedconfirmTest($productIDList[1], $moduleIDList[2])) && p('title') && e('0'); // 查询产品1 3与模块不存在的模块1000001下研发需求变更的bug
|
||||
r($bug->getByNeedconfirmTest($productIDList[2], $moduleIDList[0])) && p('title') && e('0'); // 查询不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下研发需求变更的bug
|
||||
r($bug->getByNeedconfirmTest($productIDList[2], $moduleIDList[1])) && p('title') && e('0'); // 查询不存在的产品10001 与模块1821, 1825下研发需求变更的bug
|
||||
r($bug->getByNeedconfirmTest($productIDList[2], $moduleIDList[2])) && p('title') && e('0'); // 查询不存在的产品10001 与不存在的模块1000001下研发需求变更的bug
|
||||
r($bug->getByNeedconfirmTest($productIDList[2], $moduleIDList[2])) && p('title') && e('0'); // 查询不存在的产品10001 与不存在的模块1000001下研发需求变更的bug
|
||||
@@ -11,14 +11,14 @@ cid=1
|
||||
pid=1
|
||||
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下由我创建的bug >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825下由我创建的bug >> BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与不存在的模块1000001下由我创建的bug >> 0
|
||||
查询产品1 3与模块1821, 1825, 1831 不存在的模块1000001下由我创建的bug >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG1
|
||||
查询产品1 3与模块1821, 1825下由我创建的bug >> BUG1
|
||||
查询产品1 3与模块不存在的模块1000001下由我创建的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下由我创建的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825下由我创建的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001下由我创建的bug >> 0
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825下由我创建的bug >> BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与不存在的模块1000001下由我创建的bug >> 0
|
||||
查询产品1 3与模块1821, 1825, 1831 不存在的模块1000001下由我创建的bug >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG1
|
||||
查询产品1 3与模块1821, 1825下由我创建的bug >> BUG1
|
||||
查询产品1 3与模块不存在的模块1000001下由我创建的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下由我创建的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825下由我创建的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001下由我创建的bug >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -35,4 +35,4 @@ r($bug->getByOpenedbymeTest($productIDList[1], $moduleIDList[1])) && p('title')
|
||||
r($bug->getByOpenedbymeTest($productIDList[1], $moduleIDList[2])) && p('title') && e('0'); // 查询产品1 3与模块不存在的模块1000001下由我创建的bug
|
||||
r($bug->getByOpenedbymeTest($productIDList[2], $moduleIDList[0])) && p('title') && e('0'); // 查询不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下由我创建的bug
|
||||
r($bug->getByOpenedbymeTest($productIDList[2], $moduleIDList[1])) && p('title') && e('0'); // 查询不存在的产品10001 与模块1821, 1825下由我创建的bug
|
||||
r($bug->getByOpenedbymeTest($productIDList[2], $moduleIDList[2])) && p('title') && e('0'); // 查询不存在的产品10001 与不存在的模块1000001下由我创建的bug
|
||||
r($bug->getByOpenedbymeTest($productIDList[2], $moduleIDList[2])) && p('title') && e('0'); // 查询不存在的产品10001 与不存在的模块1000001下由我创建的bug
|
||||
@@ -11,10 +11,10 @@ cid=1
|
||||
pid=1
|
||||
|
||||
查询产品25 32 48 100001下被延期的bug >> BUG94,BUG75,BUG74,BUG73
|
||||
查询产品25下被延期的bug >> BUG75,BUG74,BUG73
|
||||
查询产品32下被延期的bug >> BUG94
|
||||
查询产品1下被延期的bug >> 0
|
||||
查询不存在的产品10001下被延期的bug >> 0
|
||||
查询产品25下被延期的bug >> BUG75,BUG74,BUG73
|
||||
查询产品32下被延期的bug >> BUG94
|
||||
查询产品1下被延期的bug >> 0
|
||||
查询不存在的产品10001下被延期的bug >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -26,4 +26,4 @@ r($bug->getByPostponedBugsTest($productIDList[0])) && p('title') && e('BUG94,BUG
|
||||
r($bug->getByPostponedBugsTest($productIDList[1])) && p('title') && e('BUG75,BUG74,BUG73'); // 查询产品25下被延期的bug
|
||||
r($bug->getByPostponedBugsTest($productIDList[2])) && p('title') && e('BUG94'); // 查询产品32下被延期的bug
|
||||
r($bug->getByPostponedBugsTest($productIDList[3])) && p('title') && e('0'); // 查询产品1下被延期的bug
|
||||
r($bug->getByPostponedBugsTest($productIDList[4])) && p('title') && e('0'); // 查询不存在的产品10001下被延期的bug
|
||||
r($bug->getByPostponedBugsTest($productIDList[4])) && p('title') && e('0'); // 查询不存在的产品10001下被延期的bug
|
||||
@@ -11,9 +11,9 @@ cid=1
|
||||
pid=1
|
||||
|
||||
查询产品1 29 98 不存在的产品10001 下由我解决的bug >> BUG294,BUG293,BUG292,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();87,BUG86,BUG85
|
||||
查询产品1 98下由我解决的bug >> BUG294,BUG293,BUG292
|
||||
查询产品29下由我解决的bug >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();87,BUG86,BUG85
|
||||
查询不存在的产品10001 下由我解决的bug >> 0
|
||||
查询产品1 98下由我解决的bug >> BUG294,BUG293,BUG292
|
||||
查询产品29下由我解决的bug >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();87,BUG86,BUG85
|
||||
查询不存在的产品10001 下由我解决的bug >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -24,4 +24,4 @@ $bug=new bugTest();
|
||||
r($bug->getByResolvedbymeTest($productIDList[0])) && p('title') && e('BUG294,BUG293,BUG292,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();87,BUG86,BUG85'); // 查询产品1 29 98 不存在的产品10001 下由我解决的bug
|
||||
r($bug->getByResolvedbymeTest($productIDList[1])) && p('title') && e('BUG294,BUG293,BUG292'); // 查询产品1 98下由我解决的bug
|
||||
r($bug->getByResolvedbymeTest($productIDList[2])) && p('title') && e('缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();87,BUG86,BUG85'); // 查询产品29下由我解决的bug
|
||||
r($bug->getByResolvedbymeTest($productIDList[3])) && p('title') && e('0'); // 查询不存在的产品10001 下由我解决的bug
|
||||
r($bug->getByResolvedbymeTest($productIDList[3])) && p('title') && e('0'); // 查询不存在的产品10001 下由我解决的bug
|
||||
@@ -14,10 +14,9 @@ pid=1
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$sonarqubeIDList = array('0', '2');
|
||||
|
||||
$bug=new bugTest();
|
||||
|
||||
r($bug->getBySonarqubeIDTest($sonarqubeIDList[0])) && p() && e('0'); //获取sonarqubeID为0的bug issueKey数量
|
||||
r($bug->getBySonarqubeIDTest($sonarqubeIDList[1])) && p() && e('1'); //获取sonarqubeID为2的bug issueKey数量
|
||||
r($bug->getBySonarqubeIDTest($sonarqubeIDList[1])) && p() && e('1'); //获取sonarqubeID为2的bug issueKey数量
|
||||
@@ -10,33 +10,33 @@ title=bugModel->getByStatus();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
查询产品1 3 不存在的产品10001 与模块1821, 1832 不存在的模块1000001 状态为unclosed下未确认的bug >> bug8,BUG1
|
||||
查询产品1 3 不存在的产品10001 与模块1821, 1832 不存在的模块1000001 状态为unclosed下未确认的bug >> bug8,BUG1
|
||||
查询产品1 3 不存在的产品10001 与模块1821, 1832 不存在的模块1000001 状态为unresolved下未确认的bug >> bug8,BUG1
|
||||
查询产品1 3 不存在的产品10001 与模块1821, 1832 不存在的模块1000001 状态为toclosed下未确认的bug >> 0
|
||||
查询产品1 3 不存在的产品10001 与模块1821状态为unclosed下未确认的bug >> BUG1
|
||||
查询产品1 3 不存在的产品10001 与模块1821状态为unresolved下未确认的bug >> BUG1
|
||||
查询产品1 3 不存在的产品10001 与模块1821状态为toclosed下未确认的bug >> 0
|
||||
查询产品1 3 不存在的产品10001 与不存在的模块1000001 状态为unclosed下未确认的bug >> 0
|
||||
查询产品1 3 不存在的产品10001 与不存在的模块1000001 状态为unresolved下未确认的bug >> 0
|
||||
查询产品1 3 不存在的产品10001 与不存在的模块1000001 状态为toclosed下未确认的bug >> 0
|
||||
查询产品1 与模块1821, 1832 不存在的模块1000001 状态为unclosed下未确认的bug >> BUG1
|
||||
查询产品1 与模块1821, 1832 不存在的模块1000001 状态为unresolved下未确认的bug >> BUG1
|
||||
查询产品1 与模块1821, 1832 不存在的模块1000001 状态为toclosed下未确认的bug >> 0
|
||||
查询产品1 与模块1821状态为unclosed下未确认的bug >> BUG1
|
||||
查询产品1 与模块1821状态为unresolved下未确认的bug >> BUG1
|
||||
查询产品1 与模块1821状态为toclosed下未确认的bug >> 0
|
||||
查询产品1 与不存在的模块1000001 状态为unclosed下未确认的bug >> 0
|
||||
查询产品1 与不存在的模块1000001 状态为unresolved下未确认的bug >> 0
|
||||
查询产品1 与不存在的模块1000001 状态为toclosed下未确认的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1832 不存在的模块1000001 状态为unclosed下未确认的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1832 不存在的模块1000001 状态为unresolved下未确认的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1832 不存在的模块1000001 状态为toclosed下未确认的bug >> 0
|
||||
查询不存在的产品10001 与模块1821状态为unclosed下未确认的bug >> 0
|
||||
查询不存在的产品10001 与模块1821状态为unresolved下未确认的bug >> 0
|
||||
查询不存在的产品10001 与模块1821状态为toclosed下未确认的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001 状态为unclosed下未确认的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001 状态为unresolved下未确认的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001 状态为toclosed下未确认的bug >> 0
|
||||
查询产品1 3 不存在的产品10001 与模块1821, 1832 不存在的模块1000001 状态为toclosed下未确认的bug >> 0
|
||||
查询产品1 3 不存在的产品10001 与模块1821状态为unclosed下未确认的bug >> BUG1
|
||||
查询产品1 3 不存在的产品10001 与模块1821状态为unresolved下未确认的bug >> BUG1
|
||||
查询产品1 3 不存在的产品10001 与模块1821状态为toclosed下未确认的bug >> 0
|
||||
查询产品1 3 不存在的产品10001 与不存在的模块1000001 状态为unclosed下未确认的bug >> 0
|
||||
查询产品1 3 不存在的产品10001 与不存在的模块1000001 状态为unresolved下未确认的bug >> 0
|
||||
查询产品1 3 不存在的产品10001 与不存在的模块1000001 状态为toclosed下未确认的bug >> 0
|
||||
查询产品1 与模块1821, 1832 不存在的模块1000001 状态为unclosed下未确认的bug >> BUG1
|
||||
查询产品1 与模块1821, 1832 不存在的模块1000001 状态为unresolved下未确认的bug >> BUG1
|
||||
查询产品1 与模块1821, 1832 不存在的模块1000001 状态为toclosed下未确认的bug >> 0
|
||||
查询产品1 与模块1821状态为unclosed下未确认的bug >> BUG1
|
||||
查询产品1 与模块1821状态为unresolved下未确认的bug >> BUG1
|
||||
查询产品1 与模块1821状态为toclosed下未确认的bug >> 0
|
||||
查询产品1 与不存在的模块1000001 状态为unclosed下未确认的bug >> 0
|
||||
查询产品1 与不存在的模块1000001 状态为unresolved下未确认的bug >> 0
|
||||
查询产品1 与不存在的模块1000001 状态为toclosed下未确认的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1832 不存在的模块1000001 状态为unclosed下未确认的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1832 不存在的模块1000001 状态为unresolved下未确认的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1832 不存在的模块1000001 状态为toclosed下未确认的bug >> 0
|
||||
查询不存在的产品10001 与模块1821状态为unclosed下未确认的bug >> 0
|
||||
查询不存在的产品10001 与模块1821状态为unresolved下未确认的bug >> 0
|
||||
查询不存在的产品10001 与模块1821状态为toclosed下未确认的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001 状态为unclosed下未确认的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001 状态为unresolved下未确认的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001 状态为toclosed下未确认的bug >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -72,4 +72,4 @@ r($bug->getByStatusTest($productIDList[2], $moduleIDList[1], $statusList[1])) &&
|
||||
r($bug->getByStatusTest($productIDList[2], $moduleIDList[1], $statusList[2])) && p('title') && e('0'); // 查询不存在的产品10001 与模块1821状态为toclosed下未确认的bug
|
||||
r($bug->getByStatusTest($productIDList[2], $moduleIDList[2], $statusList[0])) && p('title') && e('0'); // 查询不存在的产品10001 与不存在的模块1000001 状态为unclosed下未确认的bug
|
||||
r($bug->getByStatusTest($productIDList[2], $moduleIDList[2], $statusList[1])) && p('title') && e('0'); // 查询不存在的产品10001 与不存在的模块1000001 状态为unresolved下未确认的bug
|
||||
r($bug->getByStatusTest($productIDList[2], $moduleIDList[2], $statusList[2])) && p('title') && e('0'); // 查询不存在的产品10001 与不存在的模块1000001 状态为toclosed下未确认的bug
|
||||
r($bug->getByStatusTest($productIDList[2], $moduleIDList[2], $statusList[2])) && p('title') && e('0'); // 查询不存在的产品10001 与不存在的模块1000001 状态为toclosed下未确认的bug
|
||||
@@ -9,34 +9,33 @@ title=bugModel->getCaseBugs();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
测试获取runID为0 caseID为2的bug >> 测试单转Bug1,测试单转Bug11
|
||||
测试获取runID为0 caseID为6的bug >> SonarQube_Bug2,SonarQube_Bug12
|
||||
测试获取runID为0 caseID为10的bug >> 测试单转Bug3,测试单转Bug13
|
||||
测试获取runID为0 caseID不存在的bug >> 0
|
||||
测试获取runID为2 caseID为0的bug >> 测试单转Bug1,测试单转Bug11
|
||||
测试获取runID为2 caseID为2的bug >> 测试单转Bug1,测试单转Bug11
|
||||
测试获取runID为2 caseID为6的bug >> 测试单转Bug1,测试单转Bug11
|
||||
测试获取runID为2 caseID为10的bug >> 测试单转Bug1,测试单转Bug11
|
||||
测试获取runID为2 caseID不存在的bug >> 测试单转Bug1,测试单转Bug11
|
||||
测试获取runID为6 caseID为0的bug >> SonarQube_Bug2,SonarQube_Bug12
|
||||
测试获取runID为6 caseID为2的bug >> SonarQube_Bug2,SonarQube_Bug12
|
||||
测试获取runID为6 caseID为6的bug >> SonarQube_Bug2,SonarQube_Bug12
|
||||
测试获取runID为6 caseID为10的bug >> SonarQube_Bug2,SonarQube_Bug12
|
||||
测试获取runID为6 caseID不存在的bug >> SonarQube_Bug2,SonarQube_Bug12
|
||||
测试获取runID为10 caseID为0的bug >> 测试单转Bug3,测试单转Bug13
|
||||
测试获取runID为10 caseID为2的bug >> 测试单转Bug3,测试单转Bug13
|
||||
测试获取runID为10 caseID为6的bug >> 测试单转Bug3,测试单转Bug13
|
||||
测试获取runID为10 caseID为10的bug >> 测试单转Bug3,测试单转Bug13
|
||||
测试获取runID为10 caseID不存在的bug >> 测试单转Bug3,测试单转Bug13
|
||||
测试获取runID为不存在 caseID为0的bug >> 0
|
||||
测试获取runID为不存在 caseID为2的bug >> 0
|
||||
测试获取runID为不存在 caseID为6的bug >> 0
|
||||
测试获取runID为不存在 caseID为10的bug >> 0
|
||||
测试获取runID为不存在 caseID不存在的bug >> 0
|
||||
测试获取runID为0 caseID为2的bug >> 测试单转Bug1,测试单转Bug11
|
||||
测试获取runID为0 caseID为6的bug >> SonarQube_Bug2,SonarQube_Bug12
|
||||
测试获取runID为0 caseID为10的bug >> 测试单转Bug3,测试单转Bug13
|
||||
测试获取runID为0 caseID不存在的bug >> 0
|
||||
测试获取runID为2 caseID为0的bug >> 测试单转Bug1,测试单转Bug11
|
||||
测试获取runID为2 caseID为2的bug >> 测试单转Bug1,测试单转Bug11
|
||||
测试获取runID为2 caseID为6的bug >> 测试单转Bug1,测试单转Bug11
|
||||
测试获取runID为2 caseID为10的bug >> 测试单转Bug1,测试单转Bug11
|
||||
测试获取runID为2 caseID不存在的bug >> 测试单转Bug1,测试单转Bug11
|
||||
测试获取runID为6 caseID为0的bug >> SonarQube_Bug2,SonarQube_Bug12
|
||||
测试获取runID为6 caseID为2的bug >> SonarQube_Bug2,SonarQube_Bug12
|
||||
测试获取runID为6 caseID为6的bug >> SonarQube_Bug2,SonarQube_Bug12
|
||||
测试获取runID为6 caseID为10的bug >> SonarQube_Bug2,SonarQube_Bug12
|
||||
测试获取runID为6 caseID不存在的bug >> SonarQube_Bug2,SonarQube_Bug12
|
||||
测试获取runID为10 caseID为0的bug >> 测试单转Bug3,测试单转Bug13
|
||||
测试获取runID为10 caseID为2的bug >> 测试单转Bug3,测试单转Bug13
|
||||
测试获取runID为10 caseID为6的bug >> 测试单转Bug3,测试单转Bug13
|
||||
测试获取runID为10 caseID为10的bug >> 测试单转Bug3,测试单转Bug13
|
||||
测试获取runID为10 caseID不存在的bug >> 测试单转Bug3,测试单转Bug13
|
||||
测试获取runID为不存在 caseID为0的bug >> 0
|
||||
测试获取runID为不存在 caseID为2的bug >> 0
|
||||
测试获取runID为不存在 caseID为6的bug >> 0
|
||||
测试获取runID为不存在 caseID为10的bug >> 0
|
||||
测试获取runID为不存在 caseID不存在的bug >> 0
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$runIDList = array('0', '2', '6', '10', '1000001');
|
||||
$caseIDList = array('0', '2', '6', '10', '1000001');
|
||||
|
||||
@@ -64,4 +63,4 @@ r($bug->getCaseBugsTest($runIDList[4], $caseIDList[0])) && p() && e('0');
|
||||
r($bug->getCaseBugsTest($runIDList[4], $caseIDList[1])) && p() && e('0'); // 测试获取runID为不存在 caseID为2的bug
|
||||
r($bug->getCaseBugsTest($runIDList[4], $caseIDList[2])) && p() && e('0'); // 测试获取runID为不存在 caseID为6的bug
|
||||
r($bug->getCaseBugsTest($runIDList[4], $caseIDList[3])) && p() && e('0'); // 测试获取runID为不存在 caseID为10的bug
|
||||
r($bug->getCaseBugsTest($runIDList[4], $caseIDList[4])) && p() && e('0'); // 测试获取runID为不存在 caseID不存在的bug
|
||||
r($bug->getCaseBugsTest($runIDList[4], $caseIDList[4])) && p() && e('0'); // 测试获取runID为不存在 caseID不存在的bug
|
||||
@@ -13,6 +13,5 @@ pid=1
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$bug=new bugTest();
|
||||
r($bug->getDataOfBugsPerActivatedCountTest()) && p('0:name,value') && e('激活次数:0,315'); // 获取bug激活次数数据
|
||||
r($bug->getDataOfBugsPerActivatedCountTest()) && p('0:name,value') && e('激活次数:0,315'); // 获取bug激活次数数据
|
||||
@@ -9,16 +9,15 @@ title=bugModel->getDataOfBugsPerAssignedTo();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
获取用户admin数据 >> admin,85
|
||||
获取用户dev1数据 >> 开发1,85
|
||||
获取用户test1数据 >> 测试1,85
|
||||
获取用户admin数据 >> admin,85
|
||||
获取用户dev1数据 >> 开发1,85
|
||||
获取用户test1数据 >> 测试1,85
|
||||
获取用户closed数据 >> Closed,20
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$bug=new bugTest();
|
||||
r($bug->getDataOfBugsPerAssignedToTest()) && p('admin:name,value') && e('admin,85'); // 获取用户admin数据
|
||||
r($bug->getDataOfBugsPerAssignedToTest()) && p('dev1:name,value') && e('开发1,85'); // 获取用户dev1数据
|
||||
r($bug->getDataOfBugsPerAssignedToTest()) && p('test1:name,value') && e('测试1,85'); // 获取用户test1数据
|
||||
r($bug->getDataOfBugsPerAssignedToTest()) && p('closed:name,value') && e('Closed,20'); // 获取用户closed数据
|
||||
r($bug->getDataOfBugsPerAssignedToTest()) && p('closed:name,value') && e('Closed,20'); // 获取用户closed数据
|
||||
@@ -9,14 +9,13 @@ title=bugModel->getDataOfBugsPerBuild();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
获取主干bug数 >> 主干,291
|
||||
获取bug数 >> ,3
|
||||
获取项目版本版本1bug数 >> 项目版本版本1,6
|
||||
获取主干bug数 >> 主干,291
|
||||
获取bug数 >> ,3
|
||||
获取项目版本版本1bug数 >> 迭代版本版本1,6
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$bug=new bugTest();
|
||||
r($bug->getDataOfBugsPerBuildTest()) && p('trunk:name,value') && e('主干,291'); // 获取主干bug数
|
||||
r($bug->getDataOfBugsPerBuildTest()) && p('0:name,value') && e(',3'); // 获取bug数
|
||||
r($bug->getDataOfBugsPerBuildTest()) && p('1:name,value') && e('迭代版本版本1,6'); // 获取项目版本版本1bug数
|
||||
r($bug->getDataOfBugsPerBuildTest()) && p('1:name,value') && e('迭代版本版本1,6'); // 获取项目版本版本1bug数
|
||||
@@ -21,7 +21,6 @@ pid=1
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$bug=new bugTest();
|
||||
r($bug->getDataOfBugsPerExecutionTest()) && p('101:name,value,title') && e('迭代1,4,迭代1'); // 获取执行101数据
|
||||
r($bug->getDataOfBugsPerExecutionTest()) && p('102:name,value,title') && e('迭代2,4,迭代2'); // 获取执行102数据
|
||||
@@ -31,4 +30,4 @@ r($bug->getDataOfBugsPerExecutionTest()) && p('132:name,value,title') && e('阶
|
||||
r($bug->getDataOfBugsPerExecutionTest()) && p('133:name,value,title') && e('阶段33,3,阶段33'); // 获取执行133数据
|
||||
r($bug->getDataOfBugsPerExecutionTest()) && p('161:name,value,title') && e('看板61,3,看板61'); // 获取执行161数据
|
||||
r($bug->getDataOfBugsPerExecutionTest()) && p('162:name,value,title') && e('看板62,3,看板62'); // 获取执行162数据
|
||||
r($bug->getDataOfBugsPerExecutionTest()) && p('163:name,value,title') && e('看板63,3,看板63'); // 获取执行163数据
|
||||
r($bug->getDataOfBugsPerExecutionTest()) && p('163:name,value,title') && e('看板63,3,看板63'); // 获取执行163数据
|
||||
@@ -9,7 +9,7 @@ title=bugModel->getDataOfBugsPerModule();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
获取module0数据 >> /,306
|
||||
获取module0数据 >> /,306
|
||||
获取module1821数据 >> /产品模块1,1
|
||||
获取module1822数据 >> /产品模块2,1
|
||||
获取module1823数据 >> /产品模块3,1
|
||||
@@ -20,10 +20,8 @@ pid=1
|
||||
获取module1832数据 >> /产品模块12,1
|
||||
获取module1833数据 >> /产品模块13,1
|
||||
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$bug=new bugTest();
|
||||
r($bug->getDataOfBugsPerModuleTest()) && p('0:name,value') && e('/,306'); // 获取module0数据
|
||||
r($bug->getDataOfBugsPerModuleTest()) && p('1821:name,value') && e('/产品模块1,1'); // 获取module1821数据
|
||||
@@ -34,4 +32,4 @@ r($bug->getDataOfBugsPerModuleTest()) && p('1826:name,value') && e('/产品模
|
||||
r($bug->getDataOfBugsPerModuleTest()) && p('1827:name,value') && e('/产品模块7,1'); // 获取module1827数据
|
||||
r($bug->getDataOfBugsPerModuleTest()) && p('1831:name,value') && e('/产品模块11,1'); // 获取module1831数据
|
||||
r($bug->getDataOfBugsPerModuleTest()) && p('1832:name,value') && e('/产品模块12,1'); // 获取module1832数据
|
||||
r($bug->getDataOfBugsPerModuleTest()) && p('1833:name,value') && e('/产品模块13,1'); // 获取module1833数据
|
||||
r($bug->getDataOfBugsPerModuleTest()) && p('1833:name,value') && e('/产品模块13,1'); // 获取module1833数据
|
||||
@@ -16,9 +16,8 @@ pid=1
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$bug=new bugTest();
|
||||
r($bug->getDataOfBugsPerPriTest()) && p('1:name,value') && e('优先级:1,79'); // 获取pri为1的数据
|
||||
r($bug->getDataOfBugsPerPriTest()) && p('2:name,value') && e('优先级:2,79'); // 获取pri为2的数据
|
||||
r($bug->getDataOfBugsPerPriTest()) && p('3:name,value') && e('优先级:3,79'); // 获取pri为3的数据
|
||||
r($bug->getDataOfBugsPerPriTest()) && p('4:name,value') && e('优先级:4,78'); // 获取pri为4的数据
|
||||
r($bug->getDataOfBugsPerPriTest()) && p('4:name,value') && e('优先级:4,78'); // 获取pri为4的数据
|
||||
@@ -9,18 +9,16 @@ title=bugModel->getDataOfBugsPerResolution();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
获取状态为fixed的数据 >> 已解决,45
|
||||
获取状态为fixed的数据 >> 已解决,45
|
||||
获取状态为duplicate的数据 >> 重复Bug,30
|
||||
获取状态为external的数据 >> 设计如此,18
|
||||
获取状态为external的数据 >> 外部原因,18
|
||||
获取状态为willnotfix的数 >> 不予解决,18
|
||||
获取状态为external的数据 >> 设计如此,18
|
||||
获取状态为external的数据 >> 外部原因,18
|
||||
获取状态为willnotfix的数据 >> 不予解决,18
|
||||
获取状态为postponed的数据 >> 延期处理,12
|
||||
获取状态为notrepro的数据 >> 无法重现,9
|
||||
|
||||
获取状态为notrepro的数据 >> 无法重现,9
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$bug=new bugTest();
|
||||
r($bug->getDataOfBugsPerResolutionTest()) && p('fixed:name,value') && e('已解决,45'); // 获取状态为fixed的数据
|
||||
r($bug->getDataOfBugsPerResolutionTest()) && p('duplicate:name,value') && e('重复Bug,30'); // 获取状态为duplicate的数据
|
||||
@@ -28,4 +26,4 @@ r($bug->getDataOfBugsPerResolutionTest()) && p('bydesign:name,value') && e('
|
||||
r($bug->getDataOfBugsPerResolutionTest()) && p('external:name,value') && e('外部原因,18'); // 获取状态为external的数据
|
||||
r($bug->getDataOfBugsPerResolutionTest()) && p('willnotfix:name,value') && e('不予解决,18'); // 获取状态为willnotfix的数据
|
||||
r($bug->getDataOfBugsPerResolutionTest()) && p('postponed:name,value') && e('延期处理,12'); // 获取状态为postponed的数据
|
||||
r($bug->getDataOfBugsPerResolutionTest()) && p('notrepro:name,value') && e('无法重现,9'); // 获取状态为notrepro的数据
|
||||
r($bug->getDataOfBugsPerResolutionTest()) && p('notrepro:name,value') && e('无法重现,9'); // 获取状态为notrepro的数据
|
||||
@@ -16,9 +16,8 @@ pid=1
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$bug=new bugTest();
|
||||
r($bug->getDataOfBugsPerSeverityTest()) && p('1:name,value') && e('1,79'); // 获取严重程度1数据
|
||||
r($bug->getDataOfBugsPerSeverityTest()) && p('2:name,value') && e('2,79'); // 获取严重程度2数据
|
||||
r($bug->getDataOfBugsPerSeverityTest()) && p('3:name,value') && e('3,79'); // 获取严重程度3数据
|
||||
r($bug->getDataOfBugsPerSeverityTest()) && p('4:name,value') && e('4,78'); // 获取严重程度4数据
|
||||
r($bug->getDataOfBugsPerSeverityTest()) && p('4:name,value') && e('4,78'); // 获取严重程度4数据
|
||||
@@ -9,14 +9,13 @@ title=bugModel->getDataOfBugsPerStatus();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
获取状态为active的数据 >> 激活,165
|
||||
获取状态为active的数据 >> 激活,165
|
||||
获取状态为resolved的数据 >> 已解决,90
|
||||
获取状态为closed的数据 >> 已关闭,60
|
||||
获取状态为closed的数据 >> 已关闭,60
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$bug=new bugTest();
|
||||
r($bug->getDataOfBugsPerStatusTest()) && p('active:name,value') && e('激活,165'); // 获取状态为active的数据
|
||||
r($bug->getDataOfBugsPerStatusTest()) && p('resolved:name,value') && e('已解决,90'); // 获取状态为resolved的数据
|
||||
r($bug->getDataOfBugsPerStatusTest()) && p('closed:name,value') && e('已关闭,60'); // 获取状态为closed的数据
|
||||
r($bug->getDataOfBugsPerStatusTest()) && p('closed:name,value') && e('已关闭,60'); // 获取状态为closed的数据
|
||||
@@ -9,19 +9,18 @@ title=bugModel->getDataOfBugsPerType();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
获取类型为codeerror的数据 >> 代码错误,49
|
||||
获取类型为config的数据 >> 配置相关,34
|
||||
获取类型为install的数据 >> 安装部署,34
|
||||
获取类型为security的数据 >> 安全相关,33
|
||||
获取类型为performance的数据 >> 性能问题,33
|
||||
获取类型为standard的数据 >> 标准规范,33
|
||||
获取类型为automation的数据 >> 测试脚本,33
|
||||
获取类型为codeerror的数据 >> 代码错误,49
|
||||
获取类型为config的数据 >> 配置相关,34
|
||||
获取类型为install的数据 >> 安装部署,34
|
||||
获取类型为security的数据 >> 安全相关,33
|
||||
获取类型为performance的数据 >> 性能问题,33
|
||||
获取类型为standard的数据 >> 标准规范,33
|
||||
获取类型为automation的数据 >> 测试脚本,33
|
||||
获取类型为designdefect的数据 >> 设计缺陷,33
|
||||
获取类型为others的数据 >> 其他,33
|
||||
获取类型为others的数据 >> 其他,33
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$bug=new bugTest();
|
||||
r($bug->getDataOfBugsPerTypeTest()) && p('codeerror:name,value') && e('代码错误,49'); // 获取类型为codeerror的数据
|
||||
r($bug->getDataOfBugsPerTypeTest()) && p('config:name,value') && e('配置相关,34'); // 获取类型为config的数据
|
||||
@@ -31,4 +30,4 @@ r($bug->getDataOfBugsPerTypeTest()) && p('performance:name,value') && e('性能
|
||||
r($bug->getDataOfBugsPerTypeTest()) && p('standard:name,value') && e('标准规范,33'); // 获取类型为standard的数据
|
||||
r($bug->getDataOfBugsPerTypeTest()) && p('automation:name,value') && e('测试脚本,33'); // 获取类型为automation的数据
|
||||
r($bug->getDataOfBugsPerTypeTest()) && p('designdefect:name,value') && e('设计缺陷,33'); // 获取类型为designdefect的数据
|
||||
r($bug->getDataOfBugsPerTypeTest()) && p('others:name,value') && e('其他,33'); // 获取类型为others的数据
|
||||
r($bug->getDataOfBugsPerTypeTest()) && p('others:name,value') && e('其他,33'); // 获取类型为others的数据
|
||||
@@ -13,6 +13,5 @@ pid=1
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$bug=new bugTest();
|
||||
r($bug->getDataOfClosedBugsPerDayTest()) && p() && e('0'); // 获取关闭bug的数据
|
||||
r($bug->getDataOfClosedBugsPerDayTest()) && p() && e('0'); // 获取关闭bug的数据
|
||||
@@ -13,6 +13,5 @@ pid=1
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$bug=new bugTest();
|
||||
r($bug->getDataOfClosedBugsPerUserTest()) && p('admin:name,value') && e('admin,100'); // 获取admin关闭的数据
|
||||
r($bug->getDataOfClosedBugsPerUserTest()) && p('admin:name,value') && e('admin,100'); // 获取admin关闭的数据
|
||||
@@ -13,6 +13,5 @@ pid=1
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$bug=new bugTest();
|
||||
r($bug->getDataOfOpenedBugsPerDayTest()) && p('0:value') && e('23'); // 获取创建的数据
|
||||
r($bug->getDataOfOpenedBugsPerDayTest()) && p('0:value') && e('23'); // 获取创建的数据
|
||||
@@ -13,6 +13,5 @@ pid=1
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$bug=new bugTest();
|
||||
r($bug->getDataOfOpenedBugsPerUserTest()) && p('admin:name,value') && e('admin,315'); // 获取admin创建的数据
|
||||
r($bug->getDataOfOpenedBugsPerUserTest()) && p('admin:name,value') && e('admin,315'); // 获取admin创建的数据
|
||||
@@ -20,10 +20,8 @@ pid=1
|
||||
获取解决的bug8 >> 14
|
||||
获取解决的bug9 >> 14
|
||||
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$bug=new bugTest();
|
||||
r($bug->getDataOfResolvedBugsPerDayTest()) && p('0:value') && e('14'); // 获取解决的bug0
|
||||
r($bug->getDataOfResolvedBugsPerDayTest()) && p('1:value') && e('14'); // 获取解决的bug1
|
||||
@@ -34,4 +32,4 @@ r($bug->getDataOfResolvedBugsPerDayTest()) && p('5:value') && e('14'); // 获取
|
||||
r($bug->getDataOfResolvedBugsPerDayTest()) && p('6:value') && e('14'); // 获取解决的bug6
|
||||
r($bug->getDataOfResolvedBugsPerDayTest()) && p('7:value') && e('14'); // 获取解决的bug7
|
||||
r($bug->getDataOfResolvedBugsPerDayTest()) && p('8:value') && e('14'); // 获取解决的bug8
|
||||
r($bug->getDataOfResolvedBugsPerDayTest()) && p('9:value') && e('14'); // 获取解决的bug9
|
||||
r($bug->getDataOfResolvedBugsPerDayTest()) && p('9:value') && e('14'); // 获取解决的bug9
|
||||
@@ -9,12 +9,11 @@ title=bugModel->getDataOfResolvedBugsPerUser();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
获取admin解决的bug数 >> admin,60
|
||||
获取$assignTo解决的bug数 >> $assignedTo,90
|
||||
获取admin解决的bug数 >> admin,60
|
||||
获取 >> ,90
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$bug=new bugTest();
|
||||
r($bug->getDataOfResolvedBugsPerUserTest()) && p('admin:name,value') && e('admin,60'); // 获取admin解决的bug数
|
||||
r($bug->getDataOfResolvedBugsPerUserTest()) && p('$assignedTo:name,value') && e('$assignedTo,90'); // 获取$assignTo解决的bug数
|
||||
r($bug->getDataOfResolvedBugsPerUserTest()) && p('$assignedTo:name,value') && e('$assignedTo,90'); // 获取$assignTo解决的bug数
|
||||
@@ -9,18 +9,16 @@ title=bugModel->getExecutionBugs();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
测试获取执行ID为101的bug >> BUG3,BUG2,BUG1
|
||||
测试获取执行ID为102的bug >> BUG6,BUG5,BUG4
|
||||
测试获取执行ID为103的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7
|
||||
测试获取执行ID为104的bug >> BUG12,BUG11,BUG10
|
||||
测试获取执行ID为105的bug >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();15,BUG14,BUG13
|
||||
测试获取执行ID为106的bug >> BUG18,BUG17,bug16
|
||||
测试获取执行ID为101的bug >> BUG3,BUG2,BUG1
|
||||
测试获取执行ID为102的bug >> BUG6,BUG5,BUG4
|
||||
测试获取执行ID为103的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7
|
||||
测试获取执行ID为104的bug >> BUG12,BUG11,BUG10
|
||||
测试获取执行ID为105的bug >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();15,BUG14,BUG13
|
||||
测试获取执行ID为106的bug >> BUG18,BUG17,bug16
|
||||
测试获取不存在的执行的bug >> 0
|
||||
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$executionIDList = array('101', '102', '103', '104', '105', '106', '1000001');
|
||||
|
||||
$bug=new bugTest();
|
||||
@@ -30,4 +28,4 @@ r($bug->getExecutionBugsTest($executionIDList[2])) && p() && e('BUG9,bug8,缺陷
|
||||
r($bug->getExecutionBugsTest($executionIDList[3])) && p() && e('BUG12,BUG11,BUG10'); // 测试获取执行ID为104的bug
|
||||
r($bug->getExecutionBugsTest($executionIDList[4])) && p() && e('缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();15,BUG14,BUG13'); // 测试获取执行ID为105的bug
|
||||
r($bug->getExecutionBugsTest($executionIDList[5])) && p() && e('BUG18,BUG17,bug16'); // 测试获取执行ID为106的bug
|
||||
r($bug->getExecutionBugsTest($executionIDList[6])) && p() && e('0'); // 测试获取不存在的执行的bug
|
||||
r($bug->getExecutionBugsTest($executionIDList[6])) && p() && e('0'); // 测试获取不存在的执行的bug
|
||||
@@ -11,14 +11,14 @@ cid=1
|
||||
pid=1
|
||||
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下的bug >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825下的bug >> BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与不存在的模块1000001下的bug >> 0
|
||||
查询产品1 3与模块1821, 1825, 1831 不存在的模块1000001下的bug >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG1
|
||||
查询产品1 3与模块1821, 1825下的bug >> BUG1
|
||||
查询产品1 3与模块不存在的模块1000001下的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825下的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001下的bug >> 0
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825下的bug >> BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与不存在的模块1000001下的bug >> 0
|
||||
查询产品1 3与模块1821, 1825, 1831 不存在的模块1000001下的bug >> 缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG1
|
||||
查询产品1 3与模块1821, 1825下的bug >> BUG1
|
||||
查询产品1 3与模块不存在的模块1000001下的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825下的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001下的bug >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -35,4 +35,4 @@ r($bug->getModuleBugsTest($productIDList[1], $moduleIDList[1])) && p('title') &&
|
||||
r($bug->getModuleBugsTest($productIDList[1], $moduleIDList[2])) && p('title') && e('0'); // 查询产品1 3与模块不存在的模块1000001下的bug
|
||||
r($bug->getModuleBugsTest($productIDList[2], $moduleIDList[0])) && p('title') && e('0'); // 查询不存在的产品10001 与模块1821, 1825, 1831 不存在的模块1000001下的bug
|
||||
r($bug->getModuleBugsTest($productIDList[2], $moduleIDList[1])) && p('title') && e('0'); // 查询不存在的产品10001 与模块1821, 1825下的bug
|
||||
r($bug->getModuleBugsTest($productIDList[2], $moduleIDList[2])) && p('title') && e('0'); // 查询不存在的产品10001 与不存在的模块1000001下的bug
|
||||
r($bug->getModuleBugsTest($productIDList[2], $moduleIDList[2])) && p('title') && e('0'); // 查询不存在的产品10001 与不存在的模块1000001下的bug
|
||||
@@ -10,17 +10,17 @@ title=bugModel->getModuleOwner();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
查询模块1821 产品1的owner >> test1
|
||||
查询模块1821 产品2的owner >> test2
|
||||
查询模块1821 产品3的owner >> test3
|
||||
查询模块1821 产品1的owner >> test1
|
||||
查询模块1821 产品2的owner >> test2
|
||||
查询模块1821 产品3的owner >> test3
|
||||
查询模块1821 不存在的产品1000001的owner >> 0
|
||||
查询模块1821 产品1的owner >> test1
|
||||
查询模块1821 产品2的owner >> test2
|
||||
查询模块1821 产品3的owner >> test3
|
||||
查询模块1821 产品1的owner >> test1
|
||||
查询模块1821 产品2的owner >> test2
|
||||
查询模块1821 产品3的owner >> test3
|
||||
查询模块1821 不存在的产品1000001的owner >> 0
|
||||
查询模块1821 产品1的owner >> test1
|
||||
查询模块1821 产品2的owner >> test2
|
||||
查询模块1821 产品3的owner >> test3
|
||||
查询模块1821 产品1的owner >> test1
|
||||
查询模块1821 产品2的owner >> test2
|
||||
查询模块1821 产品3的owner >> test3
|
||||
查询模块1821 不存在的产品1000001的owner >> 0
|
||||
|
||||
*/
|
||||
@@ -41,4 +41,4 @@ r($bug->getModuleOwnerTest($moduleIDList[1], $productIDList[3])) && p() && e('0'
|
||||
r($bug->getModuleOwnerTest($moduleIDList[2], $productIDList[0])) && p() && e('test1'); // 查询模块1821 产品1的owner
|
||||
r($bug->getModuleOwnerTest($moduleIDList[2], $productIDList[1])) && p() && e('test2'); // 查询模块1821 产品2的owner
|
||||
r($bug->getModuleOwnerTest($moduleIDList[2], $productIDList[2])) && p() && e('test3'); // 查询模块1821 产品3的owner
|
||||
r($bug->getModuleOwnerTest($moduleIDList[2], $productIDList[3])) && p() && e('0'); // 查询模块1821 不存在的产品1000001的owner
|
||||
r($bug->getModuleOwnerTest($moduleIDList[2], $productIDList[3])) && p() && e('0'); // 查询模块1821 不存在的产品1000001的owner
|
||||
@@ -11,17 +11,17 @@ cid=1
|
||||
pid=1
|
||||
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825, 1832 不存在的模块1000001下过期未解决的bug >> bug8,BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825下过期未解决的bug >> BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与不存在的模块1000001下过期未解决的bug >> 0
|
||||
查询产品1 2 3 不存在的产品10001下过期未解决的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG6,BUG5,BUG4,BUG3,BUG2,BUG1
|
||||
查询产品1 3与模块1821, 1825, 1832 不存在的模块1000001下过期未解决的bug >> bug8,BUG1
|
||||
查询产品1 3与模块1821, 1825下过期未解决的bug >> BUG1
|
||||
查询产品1 3与模块不存在的模块1000001下过期未解决的bug >> 0
|
||||
查询产品13 不存在的产品10001下过期未解决的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG3,BUG2,BUG1
|
||||
查询不存在的产品10001 与模块1821, 1825, 1832 不存在的模块1000001下过期未解决的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825下过期未解决的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001下过期未解决的bug >> 0
|
||||
查询不存在的产品10001下过期未解决的bug >> 0
|
||||
查询产品1 2 3 不存在的产品10001 与模块1821, 1825下过期未解决的bug >> BUG4,BUG1
|
||||
查询产品1 2 3 不存在的产品10001 与不存在的模块1000001下过期未解决的bug >> 0
|
||||
查询产品1 2 3 不存在的产品10001下过期未解决的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG6,BUG5,BUG4,BUG3,BUG2,BUG1
|
||||
查询产品1 3与模块1821, 1825, 1832 不存在的模块1000001下过期未解决的bug >> bug8,BUG1
|
||||
查询产品1 3与模块1821, 1825下过期未解决的bug >> BUG1
|
||||
查询产品1 3与模块不存在的模块1000001下过期未解决的bug >> 0
|
||||
查询产品13 不存在的产品10001下过期未解决的bug >> BUG9,bug8,缺陷!@()(){}|+=%^&*$#测试bug名称到底可以有多长!@#¥%&*":.<>。?/();7,BUG3,BUG2,BUG1
|
||||
查询不存在的产品10001 与模块1821, 1825, 1832 不存在的模块1000001下过期未解决的bug >> 0
|
||||
查询不存在的产品10001 与模块1821, 1825下过期未解决的bug >> 0
|
||||
查询不存在的产品10001 与不存在的模块1000001下过期未解决的bug >> 0
|
||||
查询不存在的产品10001下过期未解决的bug >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -41,4 +41,4 @@ r($bug->getOverdueBugsTest($productIDList[1], $moduleIDList[3])) && p('title') &
|
||||
r($bug->getOverdueBugsTest($productIDList[2], $moduleIDList[0])) && p('title') && e('0'); // 查询不存在的产品10001 与模块1821, 1825, 1832 不存在的模块1000001下过期未解决的bug
|
||||
r($bug->getOverdueBugsTest($productIDList[2], $moduleIDList[1])) && p('title') && e('0'); // 查询不存在的产品10001 与模块1821, 1825下过期未解决的bug
|
||||
r($bug->getOverdueBugsTest($productIDList[2], $moduleIDList[2])) && p('title') && e('0'); // 查询不存在的产品10001 与不存在的模块1000001下过期未解决的bug
|
||||
r($bug->getOverdueBugsTest($productIDList[2], $moduleIDList[3])) && p('title') && e('0'); // 查询不存在的产品10001下过期未解决的bug
|
||||
r($bug->getOverdueBugsTest($productIDList[2], $moduleIDList[3])) && p('title') && e('0'); // 查询不存在的产品10001下过期未解决的bug
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user