提交 fdf541c0 编写于 作者: I inter515

仅page类型ability可以配置orientation

Signed-off-by: Ninter515 <ry.renyi@huawei.com>
上级 5bdd37b5
......@@ -1619,6 +1619,7 @@ describe('ActsBundleManagerTest', function () {
if (datainfo.bundleName == NAME4) {
expect(datainfo.name).assertEqual("com.example.myapplication.MainAbility");
expect(datainfo.type).assertEqual(demo.AbilityType.DATA);
expect(datainfo.orientation).assertEqual(demo.DisplayOrientation.UNSPECIFIED);
expect(datainfo.bundleName).assertEqual(NAME4);
queryResultCount++;
}
......@@ -1685,6 +1686,7 @@ describe('ActsBundleManagerTest', function () {
if (datainfo.bundleName == NAME4) {
expect(datainfo.name).assertEqual("com.example.myapplication.MainAbility");
expect(datainfo.bundleName).assertEqual(NAME4);
expect(datainfo.orientation).assertEqual(demo.DisplayOrientation.UNSPECIFIED);
queryResultCount++;
}
if (datainfo.bundleName == NAME5) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册