提交 17144238 编写于 作者: Q quxianfei

Beta_3.1 ams fail testcase modified

Signed-off-by: Nquxianfei <quxianfei@huawei.com>
上级 d14d0d12
......@@ -147,7 +147,7 @@ describe('ActsAmsCallBackFifthScene', function () {
' + error.code + ', data length [' + info.length + ']');
console.info('Acts_Ams_test_6600 getAllRunningProcesses JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(10);
expect(info.length).assertLarger(0);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
......@@ -282,7 +282,7 @@ describe('ActsAmsCallBackFifthScene', function () {
' + error.code + ', data length [' + info.length + ']');
console.info('Acts_Ams_test_9000 getActiveProcessInfos data ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(10);
expect(info.length).assertLarger(0);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
......
......@@ -118,7 +118,7 @@ describe('ActsAmsCallBackFirstScene', function () {
' + error.code + ', data length [' + info.length + ']');
console.info('Acts_Ams_test_0200 getAllRunningProcesses data ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(9);
expect(info.length).assertLarger(0);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
......@@ -253,7 +253,7 @@ describe('ActsAmsCallBackFirstScene', function () {
' + error.code + ', data length [' + info.length + ']');
console.info('Acts_Ams_test_8600 getActiveProcessInfos data ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(9);
expect(info.length).assertLarger(0);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
......
......@@ -163,7 +163,7 @@ describe('ActsAmsCallBackFourthScene', function () {
' + error.code + ', data length [' + info.length + ']');
console.info('Acts_Ams_test_5000 getAllRunningProcesses JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(11);
expect(info.length).assertLarger(0);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
......@@ -319,7 +319,7 @@ describe('ActsAmsCallBackFourthScene', function () {
' + error.code + ', data length [' + info.length + ']');
console.info('Acts_Ams_test_8900 getActiveProcessInfos data ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(11);
expect(info.length).assertLarger(0);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
......
......@@ -133,7 +133,7 @@ describe('ActsAmsCallBackSecondScene', function () {
' + error.code + ', data length [' + info.length + ']');
console.info('Acts_Ams_test_1800 getAllRunningProcesses data ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(10);
expect(info.length).assertLarger(0);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
......@@ -268,7 +268,7 @@ describe('ActsAmsCallBackSecondScene', function () {
' + error.code + ', data length [' + info.length + ']');
console.info('Acts_Ams_test_8700 getActiveProcessInfos data ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(10);
expect(info.length).assertLarger(0);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
......
......@@ -144,7 +144,7 @@ describe('ActsAmsCallBackThirdScene', function () {
' + error.code + ', data length [' + info.length + ']');
console.info('Acts_Ams_test_3400 getAllRunningProcesses data ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(10);
expect(info.length).assertLarger(0);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
......@@ -279,7 +279,7 @@ describe('ActsAmsCallBackThirdScene', function () {
' + error.code + ', data length [' + info.length + ']');
console.info('Acts_Ams_test_8800 getActiveProcessInfos data ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(10);
expect(info.length).assertLarger(0);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
......
......@@ -165,7 +165,7 @@ describe('ActsAmsTestFifthScene', function () {
console.info('getAllRunningProcesses data length [' + info.length + ']');
console.info('Acts_Ams_test_6500 getAllRunningProcesses JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(10);
expect(info.length).assertLarger(0);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
......@@ -265,7 +265,7 @@ describe('ActsAmsTestFifthScene', function () {
var info = await abilitymanager.getActiveProcessInfos();
console.info('Acts_Ams_test_8500 getActiveProcessInfos JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(10);
expect(info.length).assertLarger(0);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
......
......@@ -125,7 +125,7 @@ describe('ActsAmsTestFirstScene', function () {
var info = await abilitymanager.getAllRunningProcesses();
console.info('Acts_Ams_test_0100 getAllRunningProcesses JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(9);
expect(info.length).assertLarger(0);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
......@@ -262,7 +262,7 @@ describe('ActsAmsTestFirstScene', function () {
var info = await abilitymanager.getActiveProcessInfos();
console.info('Acts_Ams_test_8100 getActiveProcessInfos JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(9);
expect(info.length).assertLarger(0);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
......
......@@ -185,7 +185,7 @@ describe('ActsAmsTestFourthScene', function () {
console.info('getAllRunningProcesses data length [' + info.length + ']');
console.info('Acts_Ams_test_4900 getAllRunningProcesses JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(11);
expect(info.length).assertLarger(0);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
......@@ -222,7 +222,7 @@ describe('ActsAmsTestFourthScene', function () {
var info = await abilitymanager.getActiveProcessInfos();
console.info('Acts_Ams_test_8400 getActiveProcessInfos JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(11);
expect(info.length).assertLarger(0);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
......
......@@ -145,7 +145,7 @@ describe('ActsAmsTestSecondScene', function () {
var info = await abilitymanager.getAllRunningProcesses();
console.info('Acts_Ams_test_1700 getAllRunningProcesses JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(10);
expect(info.length).assertLarger(0);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
......@@ -283,7 +283,7 @@ describe('ActsAmsTestSecondScene', function () {
var info = await abilitymanager.getActiveProcessInfos();
console.info('Acts_Ams_test_8200 getActiveProcessInfos JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(10);
expect(info.length).assertLarger(0);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
......
......@@ -163,7 +163,7 @@ describe('ActsAmsTestThirdScene', function () {
var info = await abilitymanager.getAllRunningProcesses();
console.info('Acts_Ams_test_3300 getAllRunningProcesses JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(10);
expect(info.length).assertLarger(0);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
......@@ -284,7 +284,7 @@ describe('ActsAmsTestThirdScene', function () {
var info = await abilitymanager.getActiveProcessInfos();
console.info('Acts_Ams_test_8300 getActiveProcessInfos JSON String: ' + JSON.stringify(info));
expect(Array.isArray(info)).assertEqual(true);
expect(info.length).assertEqual(10);
expect(info.length).assertLarger(0);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
......
......@@ -3,7 +3,7 @@
"bundleName": "com.ohos.launcher",
"vendor": "example",
"version": {
"code": 1000013,
"code": 1000000,
"name": "1.0"
},
"apiVersion": {
......
......@@ -3,7 +3,7 @@
"bundleName": "com.ohos.launcher",
"vendor": "example",
"version": {
"code": 1000013,
"code": 1000000,
"name": "1.0"
},
"apiVersion": {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册