提交 3adf19fe 编写于 作者: C chengxingzhen

XTS测试套整改

Signed-off-by: Nchengxingzhen <chengxingzhen@huawei.com>
上级 3273e305
......@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
......
......@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
......
......@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets";
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index";
import testsuite_app1 from "../test/List.test.ets";
import featureAbility from "@ohos.ability.featureAbility";
......
......@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {describe, it, expect} from "deccjsunit/index.ets";
import {describe, it, expect} from "deccjsunit/index";
import Utils from './Utils';
import ability_featureAbility from '@ohos.ability.featureAbility';
......
......@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
......
......@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
......
......@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
......
......@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
@Entry
......
......@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
......
......@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
......
......@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
......
......@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
......
......@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
......
......@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
@Entry
......
......@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
var testTime = 0;
......
......@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
......
......@@ -45,26 +45,26 @@ group("formmanager") {
"formproviderst_ets/formsystemproviderb:FormSystemProviderB",
"formproviderst_ets/formsystemproviderc:FormSystemProviderC",
"formproviderst_ets/formsystemproviderd:FormSystemProviderD",
"formsystemtest_ets/formacquiretest:FormAcquireTest",
"formsystemtest_ets/formacquiretest2:FormAcquireTest2",
"formsystemtest_ets/formdeletetest:FormDeleteTest",
"formsystemtest_ets/formdynamicrefreshtest:FormDynamicRefreshTest",
"formsystemtest_ets/formacquiretest:ActsFormAcquireTest",
"formsystemtest_ets/formacquiretest2:ActsFormAcquireTest2",
"formsystemtest_ets/formdeletetest:ActsFormDeleteTest",
"formsystemtest_ets/formdynamicrefreshtest:ActsFormDynamicRefreshTest",
"formsystemtest_ets/formfuzztest:ActsFormFuzzTest",
"formsystemtest_ets/formgetformsinfotest/formsoneandonetest:FormsOneAndOneTest",
"formsystemtest_ets/formgetformsinfotest/formsoneandtwotest:FormsOneAndTwoTest",
"formsystemtest_ets/formgetformsinfotest/formsoneandzerotest:FormsOneAndZeroTest",
"formsystemtest_ets/formgetformsinfotest/formswithoutpermtest:FormsWithoutPermTest",
"formsystemtest_ets/formgetformsinfotest/formszerotest:FormsZeroTest",
"formsystemtest_ets/formhostdeathrecipienttest:FormHostDeathRecipientTest",
"formsystemtest_ets/formperformancetest:FormPerformanceTest",
"formsystemtest_ets/formreleasetest:FormReleaseTest",
"formsystemtest_ets/formstatetest_disable:FormStateDisableTest",
"formsystemtest_ets/formstatetest_enable:FormStateEnableTest",
"formsystemtest_ets/formstatetest_notifyinvisible:FormStateNotifyInvisibleTest",
"formsystemtest_ets/formstatetest_notifyinvisible2:FormStateNotifyInvisibleTest2",
"formsystemtest_ets/formstatetest_notifyvisible:FormStateNotifyVisibleTest",
"formsystemtest_ets/formstresstest:FormStressTest",
"formsystemtest_ets/formupdatefreshtest:FormUpdateRefreshTest",
"formsystemtest_ets/formgetformsinfotest/formsoneandonetest:ActsFormsOneAndOneTest",
"formsystemtest_ets/formgetformsinfotest/formsoneandtwotest:ActsFormsOneAndTwoTest",
"formsystemtest_ets/formgetformsinfotest/formsoneandzerotest:ActsFormsOneAndZeroTest",
"formsystemtest_ets/formgetformsinfotest/formswithoutpermtest:ActsFormsWithoutPermTest",
"formsystemtest_ets/formgetformsinfotest/formszerotest:ActsFormsZeroTest",
"formsystemtest_ets/formhostdeathrecipienttest:ActsFormHostDeathRecipientTest",
"formsystemtest_ets/formperformancetest:ActsFormPerformanceTest",
"formsystemtest_ets/formreleasetest:ActsFormReleaseTest",
"formsystemtest_ets/formstatetest_disable:ActsFormStateDisableTest",
"formsystemtest_ets/formstatetest_enable:ActsFormStateEnableTest",
"formsystemtest_ets/formstatetest_notifyinvisible:ActsFormStateNotifyInvisibleTest",
"formsystemtest_ets/formstatetest_notifyinvisible2:ActsFormStateNotifyInvisibleTest2",
"formsystemtest_ets/formstatetest_notifyvisible:ActsFormStateNotifyVisibleTest",
"formsystemtest_ets/formstresstest:ActsFormStressTest",
"formsystemtest_ets/formupdatefreshtest:ActsFormUpdateRefreshTest",
]
}
}
......@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index.ets';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
@Entry
@Component
......
......@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index.ets';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
@Entry
@Component
......
......@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index.ets';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
@Entry
@Component
......
......@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index.ets';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormAcquireTest") {
ohos_js_hap_suite("ActsFormAcquireTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
......@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormAcquireTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormAcquireTest"
hap_name = "ActsFormAcquireTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
......
......@@ -9,7 +9,7 @@
"kits": [
{
"test-file-name": [
"FormAcquireTest.hap",
"ActsFormAcquireTest.hap",
"FormSystemHost.hap",
"FormSystemHostB.hap",
"FormSystemHostNoPerm.hap",
......
......@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index.ets";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
......
......@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import commonEvent from '@ohos.commonEvent';
import { beforeEach, describe, expect, it } from "deccjsunit/index.ets";
import { beforeEach, describe, expect, it } from "deccjsunit/index";
var onErrorForm_Event = {
events: ["FMS_FormOnError_commonEvent"],
......
......@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormAcquireTest2") {
ohos_js_hap_suite("ActsFormAcquireTest2") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
......@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormAcquireTest2") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormAcquireTest2"
hap_name = "ActsFormAcquireTest2"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
......
......@@ -9,7 +9,7 @@
"kits": [
{
"test-file-name": [
"FormAcquireTest2.hap",
"ActsFormAcquireTest2.hap",
"FormSystemHost.hap",
"FormSystemHostI.hap",
"FormSystemHostJ.hap",
......
......@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index.ets";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
......
......@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import commonEvent from '@ohos.commonEvent';
import { beforeEach, describe, expect, it } from "deccjsunit/index.ets";
import { beforeEach, describe, expect, it } from "deccjsunit/index";
var onErrorForm_Event = {
events: ["FMS_FormOnError_commonEvent"],
......
......@@ -13,7 +13,7 @@
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormDeleteTest") {
ohos_js_hap_suite("ActsFormDeleteTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
......@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormDeleteTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormDeleteTest"
hap_name = "ActsFormDeleteTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
......
......@@ -9,7 +9,7 @@
"kits": [
{
"test-file-name": [
"FormDeleteTest.hap",
"ActsFormDeleteTest.hap",
"FormSystemHostC.hap",
"FormSystemHostD.hap",
"FormSystemHostNoPerm.hap",
......
......@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index.ets";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
......
......@@ -16,7 +16,7 @@
import featureAbility from '@ohos.ability.featureAbility';
import commonEvent from '@ohos.commonEvent';
import { setTime } from '@ohos.systemTime';
import { beforeEach, describe, expect, it } from 'deccjsunit/index.ets';
import { beforeEach, describe, expect, it } from 'deccjsunit/index';
const onAcquiredForm_Event = {
events: ["FMS_FormOnAcquired_commonEvent"],
......
......@@ -13,7 +13,7 @@
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormDynamicRefreshTest") {
ohos_js_hap_suite("ActsFormDynamicRefreshTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
......@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormDynamicRefreshTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormDynamicRefreshTest"
hap_name = "ActsFormDynamicRefreshTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
......
......@@ -9,7 +9,7 @@
"kits": [
{
"test-file-name": [
"FormDynamicRefreshTest.hap",
"ActsFormDynamicRefreshTest.hap",
"FormSystemHostE.hap",
"FormSystemHostF.hap",
"FormSupplyAppA.hap",
......
......@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index.ets";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
......
......@@ -15,7 +15,7 @@
import featureAbility from '@ohos.ability.featureAbility';
import commonEvent from '@ohos.commonEvent';
import { beforeEach, describe, expect, it } from 'deccjsunit/index.ets';
import { beforeEach, describe, expect, it } from 'deccjsunit/index';
const onAcquiredForm_Event = {
events: ["FMS_FormOnAcquired_commonEvent"],
......
......@@ -9,7 +9,7 @@
"kits": [
{
"test-file-name": [
"FormFuzzTest.hap"
"ActsFormFuzzTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
......
......@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index.ets';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
import testsuite from "../test/List.test.ets";
@Entry
......
......@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index.ets';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const castTempFormFuzzTest = (describeName, filterParameter) => {
......
......@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index.ets';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const deleteFormFuzzTest = (describeName, filterParameter) => {
......
......@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index.ets';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const disableFormsUpdateFuzzTest = (describeName, filterParameter) => {
......
......@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index.ets';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const enableFormsUpdateFuzzTest = (describeName, filterParameter) => {
......
......@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index.ets';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const getFormsInfoFuzzTest = (describeName, filterParameter) => {
......
......@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index.ets';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const notifyInvisibleFormsFuzzTest = (describeName, filterParameter) => {
......
......@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index.ets';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const notifyVisibleFormsFuzzTest = (describeName, filterParameter) => {
......
......@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index.ets';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const releaseFormFuzzTest = (describeName, filterParameter) => {
......
......@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index.ets';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const requestFormFuzzTest = (describeName, filterParameter) => {
......
......@@ -14,7 +14,7 @@
*/
import formProvider from '@ohos.application.formProvider';
import { describe, expect, it } from 'deccjsunit/index.ets';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const setFormNextRefreshTimeFuzzTest = (describeName, filterParameter) => {
......
......@@ -14,7 +14,7 @@
*/
import formProvider from '@ohos.application.formProvider';
import { describe, expect, it } from 'deccjsunit/index.ets';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const updateFormFuzzTest = (describeName, filterParameter) => {
......
......@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormsOneAndOneTest") {
ohos_js_hap_suite("ActsFormsOneAndOneTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
......@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormsOneAndOneTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormsOneAndOneTest"
hap_name = "ActsFormsOneAndOneTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
......
......@@ -9,7 +9,7 @@
"kits": [
{
"test-file-name": [
"FormsOneAndOneTest.hap",
"ActsFormsOneAndOneTest.hap",
"FormSystemProviderB.hap",
"FormSystemProviderC.hap"
],
......
......@@ -15,7 +15,7 @@
import featureAbility from '@ohos.ability.featureAbility';
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index.ets';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
import testsuite from '../test/List.test.ets';
@Entry
......
......@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index.ets';
import { describe, expect, it } from 'deccjsunit/index';
export const getAllFormsInfoTest = (describeName, filterParameter) => {
const ERR_OK_CODE = 0;
......
......@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index.ets';
import { describe, expect, it } from 'deccjsunit/index';
export const getFormsInfoTest = (describeName, filterParameter) => {
const ERR_OK_CODE = 0;
......
......@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormsOneAndTwoTest") {
ohos_js_hap_suite("ActsFormsOneAndTwoTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
......@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormsOneAndTwoTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormsOneAndTwoTest"
hap_name = "ActsFormsOneAndTwoTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
......
......@@ -9,7 +9,7 @@
"kits": [
{
"test-file-name": [
"FormsOneAndTwoTest.hap",
"ActsFormsOneAndTwoTest.hap",
"FormSystemProviderA.hap",
"FormSystemProviderB.hap"
],
......
......@@ -15,7 +15,7 @@
import featureAbility from '@ohos.ability.featureAbility';
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index.ets';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
import testsuite from '../test/List.test.ets';
@Entry
......
......@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index.ets';
import { describe, expect, it } from 'deccjsunit/index';
export const getAllFormsInfoTest = (describeName, filterParameter) => {
const ERR_OK_CODE = 0;
......
......@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormsOneAndZeroTest") {
ohos_js_hap_suite("ActsFormsOneAndZeroTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
......@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormsOneAndZeroTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormsOneAndZeroTest"
hap_name = "ActsFormsOneAndZeroTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
......
......@@ -9,7 +9,7 @@
"kits": [
{
"test-file-name": [
"FormsOneAndZeroTest.hap",
"ActsFormsOneAndZeroTest.hap",
"FormSystemProviderB.hap",
"FormSystemProviderD.hap"
],
......
......@@ -15,7 +15,7 @@
import featureAbility from '@ohos.ability.featureAbility';
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index.ets';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
import testsuite from '../test/List.test.ets';
@Entry
......
......@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index.ets';
import { describe, expect, it } from 'deccjsunit/index';
export const getAllFormsInfoTest = (describeName, filterParameter) => {
const ERR_OK_CODE = 0;
......
......@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormsWithoutPermTest") {
ohos_js_hap_suite("ActsFormsWithoutPermTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
......@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormsWithoutPermTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormsWithoutPermTest"
hap_name = "ActsFormsWithoutPermTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
......
......@@ -9,7 +9,7 @@
"kits": [
{
"test-file-name": [
"FormsWithoutPermTest.hap"
"ActsFormsWithoutPermTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
......
......@@ -15,7 +15,7 @@
import featureAbility from '@ohos.ability.featureAbility';
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index.ets';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
import testsuite from '../test/List.test.ets';
@Entry
......
......@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index.ets';
import { describe, expect, it } from 'deccjsunit/index';
export const getAllFormsInfoTest = (describeName, filterParameter) => {
const ERR_OK_CODE = 0;
......
......@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index.ets';
import { describe, expect, it } from 'deccjsunit/index';
export const getFormsInfoTest = (describeName, filterParameter) => {
const ERR_PERMISSION_DENY_CODE = 2;
......
......@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormsZeroTest") {
ohos_js_hap_suite("ActsFormsZeroTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
......@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormsZeroTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormsZeroTest"
hap_name = "ActsFormsZeroTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
......
......@@ -9,7 +9,7 @@
"kits": [
{
"test-file-name": [
"FormsZeroTest.hap",
"ActsFormsZeroTest.hap",
"FormSystemProviderD.hap"
],
"type": "AppInstallKit",
......
......@@ -15,7 +15,7 @@
import featureAbility from '@ohos.ability.featureAbility';
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index.ets';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
import testsuite from '../test/List.test.ets';
@Entry
......
......@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index.ets';
import { describe, expect, it } from 'deccjsunit/index';
export const getAllFormsInfoTest = (describeName, filterParameter) => {
const ERR_OK_CODE = 0;
......
......@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormHostDeathRecipientTest") {
ohos_js_hap_suite("ActsFormHostDeathRecipientTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
......@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormHostDeathRecipientTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormHostDeathRecipientTest"
hap_name = "ActsFormHostDeathRecipientTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
......
......@@ -9,7 +9,7 @@
"kits": [
{
"test-file-name": [
"FormHostDeathRecipientTest.hap",
"ActsFormHostDeathRecipientTest.hap",
"FormSystemHostK.hap",
"FormSystemHostL.hap",
"FormSupplyAppF.hap"
......
......@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index.ets";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
......
......@@ -15,7 +15,7 @@
import featureAbility from '@ohos.ability.featureAbility';
import commonEvent from '@ohos.commonEvent';
import { beforeEach, describe, expect, it } from 'deccjsunit/index.ets';
import { beforeEach, describe, expect, it } from 'deccjsunit/index';
const onAcquiredEvent = {
events: [`FMS_FormOnAcquired_commonEvent`],
......
......@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormPerformanceTest") {
ohos_js_hap_suite("ActsFormPerformanceTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
......@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormPerformanceTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormPerformanceTest"
hap_name = "ActsFormPerformanceTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
......
......@@ -9,7 +9,7 @@
"kits": [
{
"test-file-name": [
"FormPerformanceTest.hap",
"ActsFormPerformanceTest.hap",
"FormSystemHostK.hap",
"FormSupplyAppG.hap"
],
......
......@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index.ets";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
......
......@@ -17,7 +17,7 @@ import featureAbility from '@ohos.ability.featureAbility';
import formHost from '@ohos.application.formHost';
import commonEvent from '@ohos.commonEvent';
import { getCurrentTime } from '@ohos.systemTime';
import { beforeEach, describe, expect, it } from 'deccjsunit/index.ets';
import { beforeEach, describe, expect, it } from 'deccjsunit/index';
const onAcquiredEvent = {
events: [`FMS_FormOnAcquired_commonEvent`],
......
......@@ -13,7 +13,7 @@
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormReleaseTest") {
ohos_js_hap_suite("ActsFormReleaseTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
......@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormReleaseTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormReleaseTest"
hap_name = "ActsFormReleaseTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
......
......@@ -9,7 +9,7 @@
"kits": [
{
"test-file-name": [
"FormReleaseTest.hap",
"ActsFormReleaseTest.hap",
"FormSystemHostC.hap",
"FormSystemHostD.hap",
"FormSystemHostNoPerm.hap",
......
......@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index.ets";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
......
......@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import commonEvent from '@ohos.commonEvent';
import { beforeAll, beforeEach, describe, expect, it } from "deccjsunit/index.ets";
import { beforeAll, beforeEach, describe, expect, it } from "deccjsunit/index";
var onAcquiredForm_Event = {
events: ["FMS_FormOnAcquired_commonEvent"],
......
......@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormStateDisableTest") {
ohos_js_hap_suite("ActsFormStateDisableTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
......@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormStateDisableTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormStateDisableTest"
hap_name = "ActsFormStateDisableTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
......
......@@ -9,7 +9,7 @@
"kits": [
{
"test-file-name": [
"FormStateDisableTest.hap",
"ActsFormStateDisableTest.hap",
"FormSystemHostF.hap",
"FormSystemHostG.hap",
"FormSupplyAppA.hap",
......
......@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index.ets";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
......
......@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import commonEvent from '@ohos.commonEvent';
import { beforeAll, beforeEach, describe, expect, it } from "deccjsunit/index.ets";
import { beforeAll, beforeEach, describe, expect, it } from "deccjsunit/index";
var onAcquiredForm_Event = {
events: ["FMS_FormOnAcquired_commonEvent"],
......
......@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormStateEnableTest") {
ohos_js_hap_suite("ActsFormStateEnableTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
......@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormStateEnableTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormStateEnableTest"
hap_name = "ActsFormStateEnableTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
......
......@@ -9,7 +9,7 @@
"kits": [
{
"test-file-name": [
"FormStateEnableTest.hap",
"ActsFormStateEnableTest.hap",
"FormSystemHostF.hap",
"FormSystemHostG.hap",
"FormSystemHostNoPerm.hap",
......
......@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index.ets";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
......
......@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import commonEvent from '@ohos.commonEvent';
import { beforeAll, beforeEach, describe, expect, it } from "deccjsunit/index.ets";
import { beforeAll, beforeEach, describe, expect, it } from "deccjsunit/index";
var onAcquiredForm_Event = {
events: ["FMS_FormOnAcquired_commonEvent"],
......
......@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormStateNotifyInvisibleTest") {
ohos_js_hap_suite("ActsFormStateNotifyInvisibleTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
......@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormStateNotifyInvisibleTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormStateNotifyInvisibleTest"
hap_name = "ActsFormStateNotifyInvisibleTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册