提交 43e687fa 编写于 作者: F fangyun

fixed managed event coverage

Signed-off-by: Nfangyun <fangyun2@huawei.com>
上级 98b1ed51
......@@ -13,6 +13,8 @@
* limitations under the License.
*/
import enterpriseDeviceManager from '@ohos.enterpriseDeviceManager'
const WANT1 = {
bundleName: "com.example.extensionzerotest",
abilityName: "com.example.extensionzerotest.EnterpriseAdminAbility"
......@@ -39,7 +41,10 @@ const DEFAULT_USER_ID = 100;
const TEST_USER_ID = 101;
const ERR_USER_ID = 102;
const SUBSCRIBE_EVENTS: Array<number> = [0,1];
const SUBSCRIBE_EVENTS: Array<enterpriseDeviceManager.ManagedEvent> = [
enterpriseDeviceManager.ManagedEvent.MANAGED_EVENT_BUNDLE_ADDED,
enterpriseDeviceManager.ManagedEvent.MANAGED_EVENT_BUNDLE_REMOVED
];
const SUBSCRIBE_INVALID_EVENTS: Array<number> = [20,21];
export {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册