提交 0bde0291 编写于 作者: C chengxingzhen

context新增用例

Signed-off-by: Nchengxingzhen <chengxingzhen@huawei.com>
上级 bd408b3f
......@@ -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.
先完成此消息的编辑!
想要评论请 注册