提交 a695c705 编写于 作者: J jiyong

jiyong@huawei.com

Signed-off-by: Njiyong <jiyong@huawei.com>
上级 0578fabc
......@@ -112,7 +112,7 @@ describe('ActsAmsCallBackFifthScene', function () {
);
setTimeout(done(), 5000);
});
function timeout() {
expect().assertFail();
console.debug('Acts_Ams_test=========timeout========');
......
......@@ -81,9 +81,9 @@ describe('ActsAmsCallBackFirstScene', function () {
},
},
);
done();
setTimeout(done(), 5000);
});
function timeout() {
expect().assertFail();
console.debug('Acts_Ams_test=========timeout========');
......
......@@ -126,49 +126,55 @@ describe('ActsAmsCallBackFourthScene', function () {
},
}
);
done();
setTimeout(done(), 5000);
});
function timeout() {
expect().assertFail();
console.debug('Acts_Ams_test=========timeout========');
done();
}
/*
* @tc.number : Acts_Ams_test_5000
* @tc.name : getAllRunningProcesses : Get All Running Processes Info
* @tc.desc : Get All Running Processes Info(by CallBack)
*/
it('Acts_Ams_test_5000', 0, async function (done) {
setTimeout(function () {
abilitymanager.getAllRunningProcesses(
(error, info) => {
console.info('getAllRunningProcesses error.code \
' + 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(6);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
abilitymanager.getAllRunningProcesses(
(error, info) => {
console.info('getAllRunningProcesses error.code \
' + 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(6);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
expect(typeof (info[i].processName)).assertEqual("string");
expect(info[i].processName.length).assertLarger(0);
expect(bundleNameList.indexOf(info[i].processName)).assertLarger(-1);
expect(typeof (info[i].processName)).assertEqual("string");
expect(info[i].processName.length).assertLarger(0);
expect(bundleNameList.indexOf(info[i].processName)).assertLarger(-1);
expect(Array.isArray(info[i].pkgList)).assertEqual(true);
expect(info[i].pkgList.length).assertEqual(0);
expect(Array.isArray(info[i].pkgList)).assertEqual(true);
expect(info[i].pkgList.length).assertEqual(0);
expect(typeof (info[i].uid)).assertEqual("number");
expect(info[i].uid).assertLarger(0);
expect(typeof (info[i].uid)).assertEqual("number");
expect(info[i].uid).assertLarger(0);
expect(typeof (info[i].lastMemoryLevel)).assertEqual("number");
expect(info[i].lastMemoryLevel).assertEqual(-1);
expect(typeof (info[i].lastMemoryLevel)).assertEqual("number");
expect(info[i].lastMemoryLevel).assertEqual(-1);
expect(typeof (info[i].weight)).assertEqual("number");
expect(info[i].weight).assertEqual(-1);
expect(typeof (info[i].weight)).assertEqual("number");
expect(info[i].weight).assertEqual(-1);
expect(typeof (info[i].weightReasonCode)).assertEqual("number");
expect(info[i].weightReasonCode).assertEqual(WeightReasonCode.REASON_UNKNOWN);
}
done();
});
setTimeout(timeout, 5000);
expect(typeof (info[i].weightReasonCode)).assertEqual("number");
expect(info[i].weightReasonCode).assertEqual(WeightReasonCode.REASON_UNKNOWN);
}
});
done();
}, 5000);
})
/*
......@@ -223,8 +229,9 @@ describe('ActsAmsCallBackFourthScene', function () {
expect(typeof (data[i].missionDescription.label)).assertEqual("string");
expect(typeof (data[i].missionDescription.iconPath)).assertEqual("string");
}
done();
});
done();
setTimeout(timeout, 5000);
})
/*
......@@ -279,8 +286,9 @@ describe('ActsAmsCallBackFourthScene', function () {
expect(typeof (data[i].missionDescription.label)).assertEqual("string");
expect(typeof (data[i].missionDescription.iconPath)).assertEqual("string");
}
done();
});
done();
setTimeout(timeout, 5000);
})
/*
......@@ -297,8 +305,9 @@ describe('ActsAmsCallBackFourthScene', function () {
' + error.code + ',data [' + info + ']');
expect(typeof (info)).assertEqual("number");
expect(info).assertLarger(0);
done();
});
done();
setTimeout(timeout, 5000);
})
/*
......@@ -315,8 +324,9 @@ describe('ActsAmsCallBackFourthScene', function () {
' + error.code + ',data [' + info + ']');
expect(typeof (info)).assertEqual("number");
expect(info).assertEqual(0);
done();
});
done();
setTimeout(timeout, 5000);
})
/*
......@@ -331,8 +341,9 @@ describe('ActsAmsCallBackFourthScene', function () {
' + error.code + ',data [' + info + ']');
expect(typeof (info)).assertEqual("number");
expect(info).assertLarger(0);
done();
});
done();
setTimeout(timeout, 5000);
})
/*
......@@ -347,8 +358,9 @@ describe('ActsAmsCallBackFourthScene', function () {
' + error.code + ',data [' + info + ']');
expect(typeof (info)).assertEqual("number");
expect(info).assertEqual(0);
done();
});
done();
setTimeout(timeout, 5000);
})
/*
......@@ -365,7 +377,8 @@ describe('ActsAmsCallBackFourthScene', function () {
' + error.code + ',data [' + info + ']');
expect(typeof (info)).assertEqual("number");
expect(info).assertEqual(0);
done();
});
done();
setTimeout(timeout, 5000);
})
})
......@@ -96,49 +96,54 @@ describe('ActsAmsCallBackSecondScene', function () {
},
}
);
done();
setTimeout(done(), 5000);
});
function timeout() {
expect().assertFail();
console.debug('Acts_Ams_test=========timeout========');
done();
}
/*
* @tc.number : Acts_Ams_test_1800
* @tc.name : getAllRunningProcesses : Get All Running Processes Info
* @tc.desc : Get All Running Processes Info(by CallBack)
*/
it('Acts_Ams_test_1800', 0, async function (done) {
setTimeout(function () {
abilitymanager.getAllRunningProcesses(
(error, info) => {
console.info('getAllRunningProcesses error.code \
' + 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(5);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
abilitymanager.getAllRunningProcesses(
(error, info) => {
console.info('getAllRunningProcesses error.code \
' + 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(5);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
expect(typeof (info[i].processName)).assertEqual("string");
expect(info[i].processName.length).assertLarger(0);
expect(bundleNameList.indexOf(info[i].processName)).assertLarger(-1);
expect(typeof (info[i].processName)).assertEqual("string");
expect(info[i].processName.length).assertLarger(0);
expect(bundleNameList.indexOf(info[i].processName)).assertLarger(-1);
expect(Array.isArray(info[i].pkgList)).assertEqual(true);
expect(info[i].pkgList.length).assertEqual(0);
expect(Array.isArray(info[i].pkgList)).assertEqual(true);
expect(info[i].pkgList.length).assertEqual(0);
expect(typeof (info[i].uid)).assertEqual("number");
expect(info[i].uid).assertLarger(0);
expect(typeof (info[i].uid)).assertEqual("number");
expect(info[i].uid).assertLarger(0);
expect(typeof (info[i].lastMemoryLevel)).assertEqual("number");
expect(info[i].lastMemoryLevel).assertEqual(-1);
expect(typeof (info[i].lastMemoryLevel)).assertEqual("number");
expect(info[i].lastMemoryLevel).assertEqual(-1);
expect(typeof (info[i].weight)).assertEqual("number");
expect(info[i].weight).assertEqual(-1);
expect(typeof (info[i].weight)).assertEqual("number");
expect(info[i].weight).assertEqual(-1);
expect(typeof (info[i].weightReasonCode)).assertEqual("number");
expect(info[i].weightReasonCode).assertEqual(WeightReasonCode.REASON_UNKNOWN);
}
});
done();
}, 5000);
expect(typeof (info[i].weightReasonCode)).assertEqual("number");
expect(info[i].weightReasonCode).assertEqual(WeightReasonCode.REASON_UNKNOWN);
}
done();
});
setTimeout(timeout, 5000);
})
/*
......@@ -183,8 +188,9 @@ describe('ActsAmsCallBackSecondScene', function () {
expect(typeof (info[i].missionDescription.label)).assertEqual("string");
expect(typeof (info[i].missionDescription.iconPath)).assertEqual("string");
}
done();
});
done();
setTimeout(timeout, 5000);
})
/*
......@@ -229,8 +235,9 @@ describe('ActsAmsCallBackSecondScene', function () {
expect(typeof (info[i].missionDescription.label)).assertEqual("string");
expect(typeof (info[i].missionDescription.iconPath)).assertEqual("string");
}
done();
});
done();
setTimeout(timeout, 5000);
})
/*
......@@ -246,8 +253,9 @@ describe('ActsAmsCallBackSecondScene', function () {
console.info('Acts_Ams_test_2400 removeMission error.code \
' + error.code + ',data [' + info + ']');
expect(info).assertEqual(0);
done();
});
done();
setTimeout(timeout, 5000);
})
/*
......@@ -263,8 +271,9 @@ describe('ActsAmsCallBackSecondScene', function () {
console.info('Acts_Ams_test_2800 moveMissionToTop error.code \
' + error.code + ',data [' + info + ']');
expect(info).assertEqual(0);
done();
});
done();
setTimeout(timeout, 5000);
})
/*
......@@ -280,8 +289,9 @@ describe('ActsAmsCallBackSecondScene', function () {
console.info('Acts_Ams_test_3000 removeMissions error.code \
' + error.code + ',data [' + info + ']');
expect(info).assertLarger(0);
done();
});
done();
setTimeout(timeout, 5000);
})
/*
......@@ -295,8 +305,9 @@ describe('ActsAmsCallBackSecondScene', function () {
console.info('Acts_Ams_test_2600 clearMissions error.code \
' + error.code + ',data [' + info + ']');
expect(info).assertLarger(0);
done();
});
done();
setTimeout(timeout, 5000);
})
/*
......@@ -310,9 +321,9 @@ describe('ActsAmsCallBackSecondScene', function () {
console.info('Acts_Ams_test_3200 killProcessesByBundleName error.code: \
' + error.code + ',data [' + info + ']');
expect(info).assertEqual(0);
done();
});
done();
setTimeout(timeout, 5000);
})
})
......
......@@ -107,49 +107,54 @@ describe('ActsAmsCallBackThirdScene', function () {
},
},
);
done();
setTimeout(done(), 5000);
});
function timeout() {
expect().assertFail();
console.debug('Acts_Ams_test=========timeout========');
done();
}
/*
* @tc.number : Acts_Ams_test_3400
* @tc.name : getAllRunningProcesses : Get All Running Processes Info
* @tc.desc : Get All Running Processes Info(by CallBack)
*/
it('Acts_Ams_test_3400', 0, async function (done) {
setTimeout(function () {
abilitymanager.getAllRunningProcesses(
(error, info) => {
console.info('getAllRunningProcesses error.code \
' + 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(5);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
abilitymanager.getAllRunningProcesses(
(error, info) => {
console.info('getAllRunningProcesses error.code \
' + 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(5);
for (var i = 0; i < info.length; i++) {
expect(typeof (info[i].pid)).assertEqual("number");
expect(info[i].pid).assertLarger(0);
expect(typeof (info[i].processName)).assertEqual("string");
expect(info[i].processName.length).assertLarger(0);
expect(bundleNameList.indexOf(info[i].processName)).assertLarger(-1);
expect(typeof (info[i].processName)).assertEqual("string");
expect(info[i].processName.length).assertLarger(0);
expect(bundleNameList.indexOf(info[i].processName)).assertLarger(-1);
expect(Array.isArray(info[i].pkgList)).assertEqual(true);
expect(info[i].pkgList.length).assertEqual(0);
expect(Array.isArray(info[i].pkgList)).assertEqual(true);
expect(info[i].pkgList.length).assertEqual(0);
expect(typeof (info[i].uid)).assertEqual("number");
expect(info[i].uid).assertLarger(0);
expect(typeof (info[i].uid)).assertEqual("number");
expect(info[i].uid).assertLarger(0);
expect(typeof (info[i].lastMemoryLevel)).assertEqual("number");
expect(info[i].lastMemoryLevel).assertEqual(-1);
expect(typeof (info[i].lastMemoryLevel)).assertEqual("number");
expect(info[i].lastMemoryLevel).assertEqual(-1);
expect(typeof (info[i].weight)).assertEqual("number");
expect(info[i].weight).assertEqual(-1);
expect(typeof (info[i].weight)).assertEqual("number");
expect(info[i].weight).assertEqual(-1);
expect(typeof (info[i].weightReasonCode)).assertEqual("number");
expect(info[i].weightReasonCode).assertEqual(WeightReasonCode.REASON_UNKNOWN);
}
});
done();
}, 5000);
expect(typeof (info[i].weightReasonCode)).assertEqual("number");
expect(info[i].weightReasonCode).assertEqual(WeightReasonCode.REASON_UNKNOWN);
}
done();
});
setTimeout(timeout, 5000);
})
/*
......@@ -194,8 +199,9 @@ describe('ActsAmsCallBackThirdScene', function () {
expect(typeof (info[i].missionDescription.label)).assertEqual("string");
expect(typeof (info[i].missionDescription.iconPath)).assertEqual("string");
}
done();
});
done();
setTimeout(timeout, 5000);
})
/*
......@@ -240,8 +246,9 @@ describe('ActsAmsCallBackThirdScene', function () {
expect(typeof (info[i].missionDescription.label)).assertEqual("string");
expect(typeof (info[i].missionDescription.iconPath)).assertEqual("string");
}
done();
});
done();
setTimeout(timeout, 5000);
})
/*
......@@ -257,8 +264,9 @@ describe('ActsAmsCallBackThirdScene', function () {
console.info('Acts_Ams_test_4000 removeMission error.code \
' + error.code + ',data [' + info + ']');
expect(info).assertEqual(0);
done();
});
done();
setTimeout(timeout, 5000);
})
/*
......@@ -274,8 +282,9 @@ describe('ActsAmsCallBackThirdScene', function () {
console.info('Acts_Ams_test_4400 moveMissionToTop error.code \
' + error.code + ',data [' + info + ']');
expect(info).assertEqual(0);
done();
});
done();
setTimeout(timeout, 5000);
})
/*
......@@ -291,8 +300,9 @@ describe('ActsAmsCallBackThirdScene', function () {
console.info('Acts_Ams_test_4600 removeMissions error.code \
' + error.code + ',data [' + info + ']');
expect(info).assertLarger(0);
done();
});
done();
setTimeout(timeout, 5000);
})
/*
......@@ -306,8 +316,9 @@ describe('ActsAmsCallBackThirdScene', function () {
console.info('Acts_Ams_test_4200 clearMissions error.code \
' + error.code + ',data [' + info + ']');
expect(info).assertLarger(0);
done();
});
done();
setTimeout(timeout, 5000);
})
/*
......@@ -321,9 +332,9 @@ describe('ActsAmsCallBackThirdScene', function () {
console.info('Acts_Ams_test_4800 killProcessesByBundleName error.code: \
' + error.code + ',data [' + info + ']');
expect(info).assertEqual(0);
done();
});
done();
setTimeout(timeout, 5000);
})
})
......
......@@ -16,7 +16,7 @@ ohos_hap("simulateEAbility") {
hap_profile = "./src/main/config.json"
hap_name = "simulateEAbility"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("simulateFAbilityFir") {
hap_profile = "./src/main/config.json"
hap_name = "simulateFAbilityFir"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("simulateFAbilitySed") {
hap_profile = "./src/main/config.json"
hap_name = "simulateFAbilitySed"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("verifyAAbility") {
hap_profile = "./src/main/config.json"
hap_name = "verifyAAbility"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("verifyIAbility") {
hap_profile = "./src/main/config.json"
hap_name = "verifyIAbility"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("Defpermission") {
hap_profile = "./src/main/config.json"
hap_name = "Defpermission"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("FinishWithResultEmptyTest") {
hap_profile = "./src/main/config.json"
hap_name = "FinishWithResultEmptyTest"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("FinishWithResultPromiseParametersTest") {
hap_profile = "./src/main/config.json"
hap_name = "FinishWithResultPromiseParametersTest"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("FinishWithResultTest") {
hap_profile = "./src/main/config.json"
hap_name = "FinishWithResultTest"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("GetCallingBundlePromiseTest") {
hap_profile = "./src/main/config.json"
hap_name = "GetCallingBundlePromiseTest"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("StartAbility") {
hap_profile = "./src/main/config.json"
hap_name = "StartAbility"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("StartAbilityForResult") {
hap_profile = "./src/main/config.json"
hap_name = "StartAbilityForResult"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("TerminateAbilityTest") {
hap_profile = "./src/main/config.json"
hap_name = "TerminateAbilityTest"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("ActsGetWantAllTestHap") {
hap_profile = "./src/main/config.json"
hap_name = "ActsGetWantAllTestHap"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("bmsJstest8") {
hap_profile = "./src/main/config.json"
hap_name = "bmsJstest8"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("bmsJstest5") {
hap_profile = "./src/main/config.json"
hap_name = "bmsJstest5"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("bmsJstest4") {
hap_profile = "./src/main/config.json"
hap_name = "bmsJstest4"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("bmsJstest9") {
hap_profile = "./src/main/config.json"
hap_name = "bmsJstest9"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("bmsJstest1") {
hap_profile = "./src/main/config.json"
hap_name = "bmsJstest1"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("bmsJstest7") {
hap_profile = "./src/main/config.json"
hap_name = "bmsJstest7"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("bmsJstest6") {
hap_profile = "./src/main/config.json"
hap_name = "bmsJstest6"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("bmsJstest3") {
hap_profile = "./src/main/config.json"
hap_name = "bmsJstest3"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
......@@ -16,7 +16,7 @@ ohos_hap("bmsJstest2") {
hap_profile = "./src/main/config.json"
hap_name = "bmsJstest2"
subsystem_name = XTS_SUITENAME
final_hap_path =
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册