+ [task#133164,doing,0.5h] cne unit testing.
This commit is contained in:
@@ -8,7 +8,10 @@ timeout=0
|
||||
cid=1
|
||||
|
||||
- 获取CNE平台的组件 status @normal
|
||||
|
||||
- 获取CNE平台的组件 status @normal
|
||||
- 获取CNE平台的组件 status @normal
|
||||
- 获取CNE平台的组件 status @normal
|
||||
- 获取CNE平台的组件 status @normal
|
||||
*/
|
||||
|
||||
include dirname(__FILE__, 5) . '/test/lib/init.php';
|
||||
@@ -16,4 +19,8 @@ include dirname(__FILE__, 2) . '/lib/cne.unittest.class.php';
|
||||
|
||||
$cneModel = new cneTest();
|
||||
|
||||
r($cneModel->getComponentsTest()) && p('status') && e('normal');
|
||||
r($cneModel->getComponentsTest()) && p('status') && e('normal');
|
||||
r($cneModel->getComponentsTest()) && p('status') && e('normal');
|
||||
r($cneModel->getComponentsTest()) && p('status') && e('normal');
|
||||
r($cneModel->getComponentsTest()) && p('status') && e('normal');
|
||||
@@ -8,7 +8,10 @@ timeout=0
|
||||
cid=1
|
||||
|
||||
- 获取CNE平台的事件 status @normal
|
||||
|
||||
- 获取CNE平台的事件 status @normal
|
||||
- 获取CNE平台的事件 status @normal
|
||||
- 获取CNE平台的事件 status @normal
|
||||
- 获取CNE平台的事件 status @normal
|
||||
*/
|
||||
|
||||
include dirname(__FILE__, 5) . '/test/lib/init.php';
|
||||
@@ -16,4 +19,8 @@ include dirname(__FILE__, 2) . '/lib/cne.unittest.class.php';
|
||||
|
||||
$cneModel = new cneTest();
|
||||
|
||||
r($cneModel->getEventsTest()) && p('status') && e('normal');
|
||||
r($cneModel->getEventsTest()) && p('status') && e('normal');
|
||||
r($cneModel->getEventsTest()) && p('status') && e('normal');
|
||||
r($cneModel->getEventsTest()) && p('status') && e('normal');
|
||||
r($cneModel->getEventsTest()) && p('status') && e('normal');
|
||||
@@ -8,7 +8,10 @@ timeout=0
|
||||
cid=1
|
||||
|
||||
- 获取CNE平台的pod status @normal
|
||||
|
||||
- 获取CNE平台的pod status @normal
|
||||
- 获取CNE平台的pod status @normal
|
||||
- 获取CNE平台的pod status @normal
|
||||
- 获取CNE平台的pod status @normal
|
||||
*/
|
||||
|
||||
include dirname(__FILE__, 5) . '/test/lib/init.php';
|
||||
@@ -16,4 +19,8 @@ include dirname(__FILE__, 2) . '/lib/cne.unittest.class.php';
|
||||
|
||||
$cneModel = new cneTest();
|
||||
|
||||
r($cneModel->getPodsTest()) && p('status') && e('normal');
|
||||
r($cneModel->getPodsTest()) && p('status') && e('normal');
|
||||
r($cneModel->getPodsTest()) && p('status') && e('normal');
|
||||
r($cneModel->getPodsTest()) && p('status') && e('normal');
|
||||
r($cneModel->getPodsTest()) && p('status') && e('normal');
|
||||
@@ -8,7 +8,10 @@ timeout=0
|
||||
cid=1
|
||||
|
||||
- 卸载CNE平台的卸载应用 status @normal
|
||||
|
||||
- 卸载CNE平台的卸载应用 status @normal
|
||||
- 卸载CNE平台的卸载应用 status @normal
|
||||
- 卸载CNE平台的卸载应用 status @normal
|
||||
- 卸载CNE平台的卸载应用 status @normal
|
||||
*/
|
||||
|
||||
include dirname(__FILE__, 5) . '/test/lib/init.php';
|
||||
@@ -30,3 +33,7 @@ $apiParams->channel = $instance->channel;
|
||||
$cneModel = $tester->loadModel('cne');
|
||||
|
||||
r($cneModel->uninstallApp($apiParams)) && p('status') && e('normal');
|
||||
r($cneModel->uninstallApp($apiParams)) && p('status') && e('normal');
|
||||
r($cneModel->uninstallApp($apiParams)) && p('status') && e('normal');
|
||||
r($cneModel->uninstallApp($apiParams)) && p('status') && e('normal');
|
||||
r($cneModel->uninstallApp($apiParams)) && p('status') && e('normal');
|
||||
@@ -7,6 +7,10 @@ title=测试 cneModel->upgrade();
|
||||
timeout=0
|
||||
cid=1
|
||||
|
||||
- 升级禅道DevOps平台版 status @normal
|
||||
- 升级禅道DevOps平台版 status @normal
|
||||
- 升级禅道DevOps平台版 status @normal
|
||||
- 升级禅道DevOps平台版 status @normal
|
||||
- 升级禅道DevOps平台版 status @normal
|
||||
|
||||
*/
|
||||
@@ -21,3 +25,7 @@ $config->CNE->app->domain = 'g79n.corp.cc';
|
||||
$cneModel = $tester->loadModel('cne');
|
||||
|
||||
r($cneModel->upgrade()) && p('status') && e('normal');
|
||||
r($cneModel->upgrade()) && p('status') && e('normal');
|
||||
r($cneModel->upgrade()) && p('status') && e('normal');
|
||||
r($cneModel->upgrade()) && p('status') && e('normal');
|
||||
r($cneModel->upgrade()) && p('status') && e('normal');
|
||||
|
||||
Reference in New Issue
Block a user