提交 21d0f618 编写于 作者: C chengxingzhen

xts卡片fail用例适配

Signed-off-by: Nchengxingzhen <chengxingzhen@huawei.com>
上级 ac95ec71
......@@ -46,22 +46,22 @@ struct Index {
events: ["FMS_FormDelete_commonEvent"],
};
private publishOnErrorCallBack() {
private publishOnErrorCallBack = () => {
this.canCreateForm = false;
console.debug("====>formOnErrorEvent Publish CallBack ====>");
}
private publishOnAcquiredCallBack() {
private publishOnAcquiredCallBack = () => {
console.debug("====>formOnAcquiredEvent Publish CallBack ====>");
}
private publishCastCallBack() {
private publishCastCallBack = () => {
console.debug("====>formCastEvent Publish CallBack ====>");
}
private publishOnUninstallCallBack() {
private publishOnUninstallCallBack = () => {
console.debug("====>formOnUninstallEvent Publish CallBack ====>");
}
private deleteCallBack(err, data) {
private deleteCallBack = (err, data) => {
console.info("!!!====>formsystemhost deleteCallBack start:====>" + JSON.stringify(data));
if (data.bundleName && data.bundleName != "com.ohos.st.formsystemhost") {
return;
......
......@@ -46,17 +46,17 @@ struct Index {
};
private subscriberDle;
private publishOnErrorCallBack() {
private publishOnErrorCallBack = () => {
this.canCreateForm = false;
console.debug("====>formOnErrorEvent Publish CallBack ====>");
}
private publishOnAcquiredCallBack() {
private publishOnAcquiredCallBack = () => {
console.debug("====>formOnAcquiredEvent Publish CallBack ====>");
}
private publishCastCallBack() {
private publishCastCallBack = () => {
console.debug("====>formCastEvent Publish CallBack ====>");
}
private deleteCallBack(err, data) {
private deleteCallBack = (err, data) => {
console.info("!!!====>formsystemhost deleteCallBack start:====>" + JSON.stringify(data));
if(data.bundleName && data.bundleName != "com.ohos.st.formsystemhostb") {
return;
......
......@@ -57,26 +57,26 @@ struct Index {
events: ["FMS_TimeChange_commonEvent"],
};
private publishOnErrorCallBack() {
private publishOnErrorCallBack = () => {
this.canCreateForm = false;
console.debug("====>formsystemhostc formOnErrorEventCallBack ====>");
}
private publishOnDeletedCallBack() {
private publishOnDeletedCallBack = () => {
this.canCreateForm = false;
console.debug("====>formsystemhostc publishOnDeletedCallBack ====>");
}
private publishOnReleasedCallBack() {
private publishOnReleasedCallBack = () => {
this.canCreateForm = false;
console.debug("====>formsystemhostc publishOnReleasedCallBackk ====>");
}
private publishOnAcquiredCallBack() {
private publishOnAcquiredCallBack = () => {
console.debug("====>formsystemhostc formOnAcquiredEventCallBack ====>");
}
private publishCastCallBack() {
private publishCastCallBack = () => {
console.debug("====>formsystemhostc formCastEventCallBack ====>");
}
private deleteCallBack(err, data) {
private deleteCallBack = (err, data) => {
console.info("!!!====>[FormComponent] deleteCallBack start:====>" + JSON.stringify(data));
if(data.bundleName && data.bundleName != "com.ohos.st.formsystemhostc") {
return;
......@@ -90,7 +90,7 @@ struct Index {
console.info("!!!====>[FormComponent] deleteCallBack end ====>");
}
private timeChangeCallBack(err, data) {
private timeChangeCallBack = (err, data) => {
console.info("!!!====>[FormComponent] timeChangeCallBack start:====>" + JSON.stringify(data));
if(data.bundleName && data.bundleName != "com.ohos.st.formsystemhostc") {
return;
......
......@@ -50,26 +50,26 @@ struct Index {
events: ["FMS_FormDelete_commonEvent"],
};
private publishOnErrorCallBack() {
private publishOnErrorCallBack = () => {
this.canCreateForm = false;
console.debug("====>formsystemhostc formOnErrorEventCallBack ====>");
}
private publishOnDeletedCallBack() {
private publishOnDeletedCallBack = () => {
this.canCreateForm = false;
console.debug("====>formsystemhostc publishOnDeletedCallBack ====>");
}
private publishOnReleasedCallBack() {
private publishOnReleasedCallBack = () => {
this.canCreateForm = false;
console.debug("====>formsystemhostc publishOnReleasedCallBackk ====>");
}
private publishOnAcquiredCallBack() {
private publishOnAcquiredCallBack = () => {
console.debug("====>formsystemhostc formOnAcquiredEventCallBack ====>");
}
private publishCastCallBack() {
private publishCastCallBack = () => {
console.debug("====>formsystemhostc formCastEventCallBack ====>");
}
private deleteCallBack(err, data) {
private deleteCallBack = (err, data) => {
console.info("!!!====>formsystemhost deleteCallBack start:====>" + JSON.stringify(data));
if(data.bundleName && data.bundleName != "com.ohos.st.formsystemhostd") {
return;
......
......@@ -55,27 +55,27 @@ struct Index {
events: ["FMS_FormDelete_commonEvent"],
};
private publishOnErrorCallBack() {
private publishOnErrorCallBack = () => {
this.canCreateForm = false;
console.debug("====>formsystemhostc formOnErrorEventCallBack ====>");
}
private publishOnDeletedCallBack() {
private publishOnDeletedCallBack = () => {
this.canCreateForm = false;
console.debug("====>formsystemhostc publishOnDeletedCallBack ====>");
}
private formOnDynamicRefreshCallBack() {
private formOnDynamicRefreshCallBack = () => {
this.canCreateForm = false;
console.debug("====>formsystemhostc formOnDynamicRefreshEventk ====>");
}
private formOnRequestCallBack() {
private formOnRequestCallBack = () => {
this.canCreateForm = false;
console.debug("====>formsystemhostc formOnRequestCallBack ====>");
}
private publishOnAcquiredCallBack() {
private publishOnAcquiredCallBack = () => {
console.debug("====>formsystemhostc formOnAcquiredEventCallBack ====>");
}
private deleteCallBack(err, data) {
private deleteCallBack = (err, data) => {
console.info("!!!====>formsystemhost deleteCallBack start:====>" + JSON.stringify(data));
if (data.bundleName && data.bundleName != "com.ohos.st.formsystemhost") {
return;
......
......@@ -57,26 +57,26 @@ struct Index {
events: ["FMS_FormDelete_commonEvent"],
};
private publishOnErrorCallBack() {
private publishOnErrorCallBack = () => {
this.canCreateForm = false;
console.debug("====>formsystemhostc formOnErrorEventCallBack ====>");
}
private publishOnDeletedCallBack() {
private publishOnDeletedCallBack = () => {
this.canCreateForm = false;
console.debug("====>formsystemhostc publishOnDeletedCallBack ====>");
}
private publishOnReleasedCallBack() {
private publishOnReleasedCallBack = () => {
this.canCreateForm = false;
console.debug("====>formsystemhostc publishOnReleasedCallBackk ====>");
}
private publishOnAcquiredCallBack() {
private publishOnAcquiredCallBack = () => {
console.debug("====>formsystemhostc formOnAcquiredEventCallBack ====>");
}
private publishOnUpdatedCallBack() {
private publishOnUpdatedCallBack = () => {
this.canCreateForm = false;
console.debug("====>formsystemhostc publishOnUpdatedCallBack ====>");
}
private deleteCallBack(err, data) {
private deleteCallBack = (err, data) => {
console.info("!!!====>formsystemhost deleteCallBack start:====>" + JSON.stringify(data));
if(data.bundleName && data.bundleName != "com.ohos.st.formsystemhostf") {
return;
......
......@@ -49,22 +49,22 @@ struct Index {
events: ["FMS_FormDelete_commonEvent"],
};
private publishOnErrorCallBack() {
private publishOnErrorCallBack = () => {
this.canCreateForm = false;
console.debug("====>[FormComponent.host] formOnErrorEventCallBack ====>");
}
private publishOnDeletedCallBack() {
private publishOnDeletedCallBack = () => {
this.canCreateForm = false;
console.debug("====>[FormComponent.host] publishOnDeletedCallBack ====>");
}
private publishOnStateCallBack() {
private publishOnStateCallBack = () => {
this.canCreateForm = false;
console.debug("====>[FormComponent.host] publishOnStateCallBack ====>");
}
private publishOnAcquiredCallBack() {
private publishOnAcquiredCallBack = () => {
console.debug("====>[FormComponent.host] formOnAcquiredEventCallBack ====>");
}
private deleteCallBack(err, data) {
private deleteCallBack = (err, data) => {
console.info("!!!====>[FormComponent.host] deleteCallBack start:====>" + JSON.stringify(data));
if(data.bundleName && data.bundleName != "com.ohos.st.formsystemhostg") {
return;
......
......@@ -45,18 +45,18 @@ struct Index {
events: ["FMS_FormDelete_commonEvent"],
};
private publishOnErrorCallBack() {
private publishOnErrorCallBack = () => {
this.canCreateForm = false;
console.info("====>formOnErrorEvent Publish CallBack ====>");
}
private publishOnAcquiredCallBack() {
private publishOnAcquiredCallBack = () => {
console.info("====>formOnAcquiredEvent Publish CallBack ====>");
}
private publishCastCallBack() {
private publishCastCallBack = () => {
console.info("====>formCastEvent Publish CallBack ====>");
}
private deleteCallBack(err, data) {
private deleteCallBack = (err, data) => {
console.info("!!!====>formsystemhost deleteCallBack start:====>" + JSON.stringify(data));
if (data.bundleName && data.bundleName != "com.ohos.st.formsystemhost") {
return;
......
......@@ -45,18 +45,18 @@ struct Index {
events: ["FMS_FormDelete_commonEvent"],
};
private publishOnErrorCallBack() {
private publishOnErrorCallBack = () => {
this.canCreateForm = false;
console.debug("====>formOnErrorEvent Publish CallBack ====>");
}
private publishOnAcquiredCallBack() {
private publishOnAcquiredCallBack = () => {
console.debug("====>formOnAcquiredEvent Publish CallBack ====>");
}
private publishCastCallBack() {
private publishCastCallBack = () => {
console.debug("====>formCastEvent Publish CallBack ====>");
}
private deleteCallBack(err, data) {
private deleteCallBack = (err, data) => {
console.info("!!!====>formsystemhostj deleteCallBack start:====>" + JSON.stringify(data));
if(data.bundleName && data.bundleName != "com.ohos.st.formsystemhostj") {
return;
......
......@@ -67,19 +67,19 @@ struct Index {
private formOnDeletedEvent = "FMS_FormOnDeleted_commonEvent";
private formOnReleasedEvent = "FMS_FormOnReleased_commonEvent";
private onAcquiredCallback() {
private onAcquiredCallback = () => {
console.info(`${this.TAG} onAcquiredCallback`);
}
private onRequestCallback() {
private onRequestCallback = () => {
console.info(`====>${this.TAG} onRequestCallback====>`);
}
private onDeletedCallback() {
private onDeletedCallback = () => {
console.info(`${this.TAG} onDeletedCallback`);
}
private onReleasedCallback() {
private onReleasedCallback = () => {
console.info(`====>${this.TAG} onReleasedCallback====>`);
}
......
......@@ -42,11 +42,11 @@ struct Index {
private formOnRequestEvent = `FMS_FormOnRequest_commonEvent`;
private formOnDeletedEvent = "FMS_FormOnDeleted_commonEvent";
private onAcquiredCallback() {
private onAcquiredCallback = () => {
console.info(`====>${this.TAG} onAcquiredCallback====>`);
}
private onRequestCallback() {
private onRequestCallback = () => {
console.info(`====>${this.TAG} onRequestCallback====>`);
}
......
......@@ -48,7 +48,7 @@ struct Index {
private formOnRequestEvent = "FMS_FormOnRequest_commonEvent";
private formOnStateEvent = "FMS_FormOnState_commonEvent";
private publishCallBack() {
private publishCallBack = () => {
console.debug("====>formOnErrorEvent Publish CallBack ====>");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册