提交 d279e882 编写于 作者: J jiyong

jiyong@huawei.com

Signed-off-by: Njiyong <jiyong@huawei.com>
上级 c5c5a0aa
...@@ -143,7 +143,7 @@ describe('ActsAmsCallBackFifthScene', function () { ...@@ -143,7 +143,7 @@ describe('ActsAmsCallBackFifthScene', function () {
' + error.code + ', data length [' + info.length + ']'); ' + error.code + ', data length [' + info.length + ']');
console.info('Acts_Ams_test_6600 getAllRunningProcesses JSON String: ' + JSON.stringify(info)); console.info('Acts_Ams_test_6600 getAllRunningProcesses JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true); expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(6); expect(info.length).assertEqual(10);
for (var i = 0; i < info.length; i++) { for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number"); expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0); expect(info[i].pid).assertLarger(0);
...@@ -278,7 +278,7 @@ describe('ActsAmsCallBackFifthScene', function () { ...@@ -278,7 +278,7 @@ describe('ActsAmsCallBackFifthScene', function () {
' + error.code + ', data length [' + info.length + ']'); ' + error.code + ', data length [' + info.length + ']');
console.info('Acts_Ams_test_9000 getActiveProcessInfos data ' + JSON.stringify(info)); console.info('Acts_Ams_test_9000 getActiveProcessInfos data ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true); expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(6); expect(info.length).assertEqual(10);
for (var i = 0; i < info.length; i++) { for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number"); expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0); expect(info[i].pid).assertLarger(0);
......
...@@ -114,7 +114,7 @@ describe('ActsAmsCallBackFirstScene', function () { ...@@ -114,7 +114,7 @@ describe('ActsAmsCallBackFirstScene', function () {
' + error.code + ', data length [' + info.length + ']'); ' + error.code + ', data length [' + info.length + ']');
console.info('Acts_Ams_test_0200 getAllRunningProcesses data ' + JSON.stringify(info)); console.info('Acts_Ams_test_0200 getAllRunningProcesses data ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true); expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(5); expect(info.length).assertEqual(9);
for (var i = 0; i < info.length; i++) { for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number"); expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0); expect(info[i].pid).assertLarger(0);
...@@ -249,7 +249,7 @@ describe('ActsAmsCallBackFirstScene', function () { ...@@ -249,7 +249,7 @@ describe('ActsAmsCallBackFirstScene', function () {
' + error.code + ', data length [' + info.length + ']'); ' + error.code + ', data length [' + info.length + ']');
console.info('Acts_Ams_test_8600 getActiveProcessInfos data ' + JSON.stringify(info)); console.info('Acts_Ams_test_8600 getActiveProcessInfos data ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true); expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(5); expect(info.length).assertEqual(9);
for (var i = 0; i < info.length; i++) { for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number"); expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0); expect(info[i].pid).assertLarger(0);
......
...@@ -159,7 +159,7 @@ describe('ActsAmsCallBackFourthScene', function () { ...@@ -159,7 +159,7 @@ describe('ActsAmsCallBackFourthScene', function () {
' + error.code + ', data length [' + info.length + ']'); ' + error.code + ', data length [' + info.length + ']');
console.info('Acts_Ams_test_5000 getAllRunningProcesses JSON String: ' + JSON.stringify(info)); console.info('Acts_Ams_test_5000 getAllRunningProcesses JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true); expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(7); expect(info.length).assertEqual(11);
for (var i = 0; i < info.length; i++) { for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number"); expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0); expect(info[i].pid).assertLarger(0);
...@@ -315,7 +315,7 @@ describe('ActsAmsCallBackFourthScene', function () { ...@@ -315,7 +315,7 @@ describe('ActsAmsCallBackFourthScene', function () {
' + error.code + ', data length [' + info.length + ']'); ' + error.code + ', data length [' + info.length + ']');
console.info('Acts_Ams_test_8900 getActiveProcessInfos data ' + JSON.stringify(info)); console.info('Acts_Ams_test_8900 getActiveProcessInfos data ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true); expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(7); expect(info.length).assertEqual(11);
for (var i = 0; i < info.length; i++) { for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number"); expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0); expect(info[i].pid).assertLarger(0);
......
...@@ -129,7 +129,7 @@ describe('ActsAmsCallBackSecondScene', function () { ...@@ -129,7 +129,7 @@ describe('ActsAmsCallBackSecondScene', function () {
' + error.code + ', data length [' + info.length + ']'); ' + error.code + ', data length [' + info.length + ']');
console.info('Acts_Ams_test_1800 getAllRunningProcesses data ' + JSON.stringify(info)); console.info('Acts_Ams_test_1800 getAllRunningProcesses data ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true); expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(6); expect(info.length).assertEqual(10);
for (var i = 0; i < info.length; i++) { for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number"); expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0); expect(info[i].pid).assertLarger(0);
...@@ -264,7 +264,7 @@ describe('ActsAmsCallBackSecondScene', function () { ...@@ -264,7 +264,7 @@ describe('ActsAmsCallBackSecondScene', function () {
' + error.code + ', data length [' + info.length + ']'); ' + error.code + ', data length [' + info.length + ']');
console.info('Acts_Ams_test_8700 getActiveProcessInfos data ' + JSON.stringify(info)); console.info('Acts_Ams_test_8700 getActiveProcessInfos data ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true); expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(6); expect(info.length).assertEqual(10);
for (var i = 0; i < info.length; i++) { for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number"); expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0); expect(info[i].pid).assertLarger(0);
......
...@@ -140,7 +140,7 @@ describe('ActsAmsCallBackThirdScene', function () { ...@@ -140,7 +140,7 @@ describe('ActsAmsCallBackThirdScene', function () {
' + error.code + ', data length [' + info.length + ']'); ' + error.code + ', data length [' + info.length + ']');
console.info('Acts_Ams_test_3400 getAllRunningProcesses data ' + JSON.stringify(info)); console.info('Acts_Ams_test_3400 getAllRunningProcesses data ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true); expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(6); expect(info.length).assertEqual(10);
for (var i = 0; i < info.length; i++) { for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number"); expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0); expect(info[i].pid).assertLarger(0);
...@@ -275,7 +275,7 @@ describe('ActsAmsCallBackThirdScene', function () { ...@@ -275,7 +275,7 @@ describe('ActsAmsCallBackThirdScene', function () {
' + error.code + ', data length [' + info.length + ']'); ' + error.code + ', data length [' + info.length + ']');
console.info('Acts_Ams_test_8800 getActiveProcessInfos data ' + JSON.stringify(info)); console.info('Acts_Ams_test_8800 getActiveProcessInfos data ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true); expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(6); expect(info.length).assertEqual(10);
for (var i = 0; i < info.length; i++) { for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number"); expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0); expect(info[i].pid).assertLarger(0);
......
...@@ -161,7 +161,7 @@ describe('ActsAmsTestFifthScene', function () { ...@@ -161,7 +161,7 @@ describe('ActsAmsTestFifthScene', function () {
console.info('getAllRunningProcesses data length [' + info.length + ']'); console.info('getAllRunningProcesses data length [' + info.length + ']');
console.info('Acts_Ams_test_6500 getAllRunningProcesses JSON String: ' + JSON.stringify(info)); console.info('Acts_Ams_test_6500 getAllRunningProcesses JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true); expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(6); expect(info.length).assertEqual(10);
for (var i = 0; i < info.length; i++) { for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number"); expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0); expect(info[i].pid).assertLarger(0);
...@@ -260,7 +260,7 @@ describe('ActsAmsTestFifthScene', function () { ...@@ -260,7 +260,7 @@ describe('ActsAmsTestFifthScene', function () {
var info = await abilitymanager.getActiveProcessInfos(); var info = await abilitymanager.getActiveProcessInfos();
console.info('Acts_Ams_test_8500 getActiveProcessInfos JSON String: ' + JSON.stringify(info)); console.info('Acts_Ams_test_8500 getActiveProcessInfos JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true); expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(6); expect(info.length).assertEqual(10);
for (var i = 0; i < info.length; i++) { for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number"); expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0); expect(info[i].pid).assertLarger(0);
......
...@@ -121,7 +121,7 @@ describe('ActsAmsTestFirstScene', function () { ...@@ -121,7 +121,7 @@ describe('ActsAmsTestFirstScene', function () {
var info = await abilitymanager.getAllRunningProcesses(); var info = await abilitymanager.getAllRunningProcesses();
console.info('Acts_Ams_test_0100 getAllRunningProcesses JSON String: ' + JSON.stringify(info)); console.info('Acts_Ams_test_0100 getAllRunningProcesses JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true); expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(5); expect(info.length).assertEqual(9);
for (var i = 0; i < info.length; i++) { for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number"); expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0); expect(info[i].pid).assertLarger(0);
...@@ -258,7 +258,7 @@ describe('ActsAmsTestFirstScene', function () { ...@@ -258,7 +258,7 @@ describe('ActsAmsTestFirstScene', function () {
var info = await abilitymanager.getActiveProcessInfos(); var info = await abilitymanager.getActiveProcessInfos();
console.info('Acts_Ams_test_8100 getActiveProcessInfos JSON String: ' + JSON.stringify(info)); console.info('Acts_Ams_test_8100 getActiveProcessInfos JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true); expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(5); expect(info.length).assertEqual(9);
for (var i = 0; i < info.length; i++) { for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number"); expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0); expect(info[i].pid).assertLarger(0);
......
...@@ -181,7 +181,7 @@ describe('ActsAmsTestFourthScene', function () { ...@@ -181,7 +181,7 @@ describe('ActsAmsTestFourthScene', function () {
console.info('getAllRunningProcesses data length [' + info.length + ']'); console.info('getAllRunningProcesses data length [' + info.length + ']');
console.info('Acts_Ams_test_4900 getAllRunningProcesses JSON String: ' + JSON.stringify(info)); console.info('Acts_Ams_test_4900 getAllRunningProcesses JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true); expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(7); expect(info.length).assertEqual(11);
for (var i = 0; i < info.length; i++) { for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number"); expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0); expect(info[i].pid).assertLarger(0);
...@@ -218,7 +218,7 @@ describe('ActsAmsTestFourthScene', function () { ...@@ -218,7 +218,7 @@ describe('ActsAmsTestFourthScene', function () {
var info = await abilitymanager.getActiveProcessInfos(); var info = await abilitymanager.getActiveProcessInfos();
console.info('Acts_Ams_test_8400 getActiveProcessInfos JSON String: ' + JSON.stringify(info)); console.info('Acts_Ams_test_8400 getActiveProcessInfos JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true); expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(7); expect(info.length).assertEqual(11);
for (var i = 0; i < info.length; i++) { for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number"); expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0); expect(info[i].pid).assertLarger(0);
......
...@@ -141,7 +141,7 @@ describe('ActsAmsTestSecondScene', function () { ...@@ -141,7 +141,7 @@ describe('ActsAmsTestSecondScene', function () {
var info = await abilitymanager.getAllRunningProcesses(); var info = await abilitymanager.getAllRunningProcesses();
console.info('Acts_Ams_test_1700 getAllRunningProcesses JSON String: ' + JSON.stringify(info)); console.info('Acts_Ams_test_1700 getAllRunningProcesses JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true); expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(6); expect(info.length).assertEqual(10);
for (var i = 0; i < info.length; i++) { for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number"); expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0); expect(info[i].pid).assertLarger(0);
...@@ -279,7 +279,7 @@ describe('ActsAmsTestSecondScene', function () { ...@@ -279,7 +279,7 @@ describe('ActsAmsTestSecondScene', function () {
var info = await abilitymanager.getActiveProcessInfos(); var info = await abilitymanager.getActiveProcessInfos();
console.info('Acts_Ams_test_8200 getActiveProcessInfos JSON String: ' + JSON.stringify(info)); console.info('Acts_Ams_test_8200 getActiveProcessInfos JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true); expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(6); expect(info.length).assertEqual(10);
for (var i = 0; i < info.length; i++) { for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number"); expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0); expect(info[i].pid).assertLarger(0);
......
...@@ -159,7 +159,7 @@ describe('ActsAmsTestThirdScene', function () { ...@@ -159,7 +159,7 @@ describe('ActsAmsTestThirdScene', function () {
var info = await abilitymanager.getAllRunningProcesses(); var info = await abilitymanager.getAllRunningProcesses();
console.info('Acts_Ams_test_3300 getAllRunningProcesses JSON String: ' + JSON.stringify(info)); console.info('Acts_Ams_test_3300 getAllRunningProcesses JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true); expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(6); expect(info.length).assertEqual(10);
for (var i = 0; i < info.length; i++) { for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number"); expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0); expect(info[i].pid).assertLarger(0);
...@@ -280,7 +280,7 @@ describe('ActsAmsTestThirdScene', function () { ...@@ -280,7 +280,7 @@ describe('ActsAmsTestThirdScene', function () {
var info = await abilitymanager.getActiveProcessInfos(); var info = await abilitymanager.getActiveProcessInfos();
console.info('Acts_Ams_test_8300 getActiveProcessInfos JSON String: ' + JSON.stringify(info)); console.info('Acts_Ams_test_8300 getActiveProcessInfos JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true); expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(6); expect(info.length).assertEqual(10);
for (var i = 0; i < info.length; i++) { for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number"); expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0); expect(info[i].pid).assertLarger(0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册