未验证 提交 97caefc9 编写于 作者: O openharmony_ci 提交者: Gitee

!2673 context新增用例

Merge pull request !2673 from chengxingzhen/OpenHarmony-3.1-Release
......@@ -245,4 +245,17 @@ describe('ActsContextTest', function () {
},1000)
})
/*
* @tc.number: ACTS_GetContextMode_0100
* @tc.name: Verify that the context is a stage model or a FA model
* @tc.desc: Indicates the context is FA Mode or Stage Mode
*/
it('ACTS_GetContextMode_0100', 0, async function (done) {
console.log('ACTS_GetContextMode_0100====<begin');
var context = await featureAbility.getContext();
var stageMode1 = context.stageMode;
console.log('ACTS_GetContextMode_0100====stageMode1:' + stageMode1)
expect("false").assertEqual(stageMode1.toString());
done();
})
})
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册