From 873f3c8bb71e313f47fe4a379be5c6fc81b1f3aa Mon Sep 17 00:00:00 2001 From: DCloud_LXH <283700113@qq.com> Date: Fri, 2 Jun 2023 17:06:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20uni-api=20interface=20on=E3=80=81off=20a?= =?UTF-8?q?pi=20ad=20@autotest=20expectCallback?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uni-memorywarning/utssdk/interface.uts | 6 ++++-- uni_modules/uni-usercapturescreen/utssdk/interface.uts | 6 ++++-- uni_modules/uni-wifi/utssdk/interface.uts | 6 ++++++ 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/uni_modules/uni-memorywarning/utssdk/interface.uts b/uni_modules/uni-memorywarning/utssdk/interface.uts index dd75bf6..49eba74 100644 --- a/uni_modules/uni-memorywarning/utssdk/interface.uts +++ b/uni_modules/uni-memorywarning/utssdk/interface.uts @@ -24,7 +24,8 @@ export interface Uni { * } * } * @uniVersion 3.7.7 - * @uniVueVersion 2,3 //支持的vue版本 + * @uniVueVersion 2,3 //支持的vue版本 + * @autotest { expectCallback: true } */ onMemoryWarning : OnMemoryWarning, /** @@ -47,7 +48,8 @@ export interface Uni { * } * } * @uniVersion 3.7.7 - * @uniVueVersion 2,3 //支持的vue版本 + * @uniVueVersion 2,3 //支持的vue版本 + * @autotest { expectCallback: true } */ offMemoryWarning : OffMemoryWarning } \ No newline at end of file diff --git a/uni_modules/uni-usercapturescreen/utssdk/interface.uts b/uni_modules/uni-usercapturescreen/utssdk/interface.uts index 889adb0..c2a55b6 100644 --- a/uni_modules/uni-usercapturescreen/utssdk/interface.uts +++ b/uni_modules/uni-usercapturescreen/utssdk/interface.uts @@ -107,7 +107,8 @@ export interface Uni { * } * } * @uniVersion 3.7.7 - * @uniVueVersion 2,3 //支持的vue版本 + * @uniVueVersion 2,3 //支持的vue版本 + * @autotest { expectCallback: true } */ onUserCaptureScreen : OnUserCaptureScreen, /** @@ -130,7 +131,8 @@ export interface Uni { * } * } * @uniVersion 3.7.7 - * @uniVueVersion 2,3 //支持的vue版本 + * @uniVueVersion 2,3 //支持的vue版本 + * @autotest { expectCallback: true } */ offUserCaptureScreen : OffUserCaptureScreen, /** diff --git a/uni_modules/uni-wifi/utssdk/interface.uts b/uni_modules/uni-wifi/utssdk/interface.uts index bb1fbc2..8a6f666 100644 --- a/uni_modules/uni-wifi/utssdk/interface.uts +++ b/uni_modules/uni-wifi/utssdk/interface.uts @@ -250,6 +250,7 @@ interface Uni { * } * @uniVersion 3.7.7 * @uniVueVersion 2,3 //支持的vue版本 + * @autotest { expectCallback: true } */ offGetWifiList : OffGetWifiList, /** @@ -273,6 +274,7 @@ interface Uni { * } * @uniVersion 3.7.7 * @uniVueVersion 2,3 //支持的vue版本 + * @autotest { before: 'startWifi', after: 'stopWifi' } */ getConnectedWifi : GetConnectedWifi, /** @@ -296,6 +298,7 @@ interface Uni { * } * @uniVersion 3.7.7 * @uniVueVersion 2,3 //支持的vue版本 + * @autotest { expectCallback: true } */ onWifiConnected : OnWifiConnected, /** @@ -319,6 +322,7 @@ interface Uni { * } * @uniVersion 3.7.7 * @uniVueVersion 2,3 //支持的vue版本 + * @autotest { expectCallback: true } */ onWifiConnectedWithPartialInfo : OnWifiConnectedWithPartialInfo, /** @@ -342,6 +346,7 @@ interface Uni { * } * @uniVersion 3.7.7 * @uniVueVersion 2,3 //支持的vue版本 + * @autotest { expectCallback: true } */ offWifiConnected : OffWifiConnected, /** @@ -365,6 +370,7 @@ interface Uni { * } * @uniVersion 3.7.7 * @uniVueVersion 2,3 //支持的vue版本 + * @autotest { expectCallback: true } */ onOffWifiConnectedWithPartialInfo : OnOffWifiConnectedWithPartialInfo, /** -- GitLab